-
# %cd models
# !wget https://github.com/ultralytics/yolov5/releases/download/v6.1/yolov5n.pt -nv
# !wget https://github.com/ultralytics/yolov5/releases/download/v6.1/yolov5s.pt -nv
# !wget https://github.com/ultralytics/yolov5/releases/download/v6.1/yolov5m.pt -nv
# !wget https://github.com/ultralytics/yolov5/releases/download/v6.1/yolov5l.pt -nv
# !wget https://github.com/ultralytics/yolov5/releases/download/v6.1/yolov5x.pt -nv
# %cd .. @arindal1 Why did you comment this block out? Was it issues with |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
To answer it simply, the
|
Beta Was this translation helpful? Give feedback.
-
Thanks @arindal1 ! |
Beta Was this translation helpful? Give feedback.
To answer it simply, the
WGet
version I installed wasn't working properly, so I looked for an alternative.The purpose of
WGet
is just to download YOLOv5's PyTorch models from (https://github.com/ultralytics/yolov5/releases/download/v6.1) inside../models/
.The
WGet
I installed wasn't working, and was throwing errors. I looked around and remembered thaturllib
did the same thing.So, I imported
urllib.request
, which is based on Python environment. It downloads the PyTorch models into../models/
just likeWGet
would have.