运行train.py时,会有以下报错:
Traceback (most recent call last):
File “D:/postgratude_one/4.singleshotpose-master/train.py”, line 338, in
model.load_weights_until_last(initweightfile)
File “D:\postgratude_one\4.singleshotpose-master\darknet.py”, line 300, in load_weights_until_last
fp = open(weightfile, ‘rb’)
FileNotFoundError: [Errno 2] No such file or directory: ‘cfg/darknet19_448.conv.23’
解决方法是:
点击链接https://pjreddie.com/media/files/darknet19_448.conv.23
下载对应文件