Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法下载训练好的权重文件 #25

Open
cici-97 opened this issue Aug 3, 2020 · 4 comments
Open

无法下载训练好的权重文件 #25

cici-97 opened this issue Aug 3, 2020 · 4 comments

Comments

@cici-97
Copy link

cici-97 commented Aug 3, 2020

您好!我在自己的数据集上进行了训练,但是训练完,在进行测试的时候,无法加载训练好的权重文件.pt,请问这是什么原因?

@WongKinYiu
Copy link
Owner

what is your command and error message?

@cici-97
Copy link
Author

cici-97 commented Aug 4, 2020

command:
python test_half.py --data ship.data --cfg yolov4-pacsp-x.cfg --weights best.pt --img 768 --iou-thr 0.5 --batch-size 1 --device 0
运行后,会显示从这个网站下载:
Downloading https://pjreddie.com/media/files/best.pt
curl: (22) The requested URL returned error: 404 Not Found
rm: cannot remove 'best.pt': No such file or directory
最后是这个:
Exception: best.pt missing, try downloading from https://drive.google.com/open?id=1LezFG5g3BCW6iYaV89B2i64cqEUZD7e0

@WongKinYiu
Copy link
Owner

路徑打錯囉

@cici-97
Copy link
Author

cici-97 commented Aug 4, 2020

已找到错误原因,thanks a lot!

@cici-97 cici-97 closed this as completed Aug 4, 2020
@cici-97 cici-97 reopened this Aug 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants