Pytorch-yolov3: I can't download weights for pretrain

Created on 14 Jun 2020  路  7Comments  路  Source: eriklindernoren/PyTorch-YOLOv3

When I run download_weights.sh, I got 404.

Most helpful comment

PR is merged. Thanks for your contribution @itsjoshthedeveloper

All 7 comments

don't bother with this repo. This implementation is only good for running inference on Yolo's weights trained with darknet. It doesn't converge when train natively on PyTorch.

@CAM1113 For all the wget calls in download_weights.sh and get_coco_dataset.sh, you need to add --header "Referer: pjreddie.com" and enclose the http link with quotes to make it a string. Found the solution here.

For example:
wget -c https://pjreddie.com/media/files/train2014.zip -> wget -c 'https://pjreddie.com/media/files/train2014.zip' --header 'Referer: pjreddie.com'

Also, I am on Windows 10, but this also works on Linux

Interesting the download works for me on the current master.

I think it does no harm, if we add this fix. At least, it could fix the issue for some users.

I agree with you.

I can make a PR

PR is merged. Thanks for your contribution @itsjoshthedeveloper

Was this page helpful?
0 / 5 - 0 ratings

Related issues

impravin22 picture impravin22  路  4Comments

mwharton3 picture mwharton3  路  3Comments

MAP
nationalflag picture nationalflag  路  5Comments

codeyogi911 picture codeyogi911  路  4Comments

FanLu1994 picture FanLu1994  路  3Comments