PytorchSSD icon indicating copy to clipboard operation
PytorchSSD copied to clipboard

python train_test_fssd_mobile_pre.py

Open Eileen2014 opened this issue 6 years ago • 0 comments

当我运行,FSSD时出现下面的错误 loading pretrained model from weights/mobilenet_1.pth Loading weights into state dict... Traceback (most recent call last): File "train_test_fssd_mobile_pre.py", line 132, in net.load_weights(args.basenet) File "/home/cv2018/PytorchSSD-master/models/FSSD_mobile.py", line 135, in load_weights state_dict = torch.load(base_file, map_location=lambda storage, loc: storage) File "/home/cv2018/anaconda3/lib/python3.6/site-packages/torch/serialization.py", line 265, in load f = open(f, 'rb') FileNotFoundError: [Errno 2] No such file or directory: 'weights/mobilenet_1.pth'

Eileen2014 avatar Oct 15 '18 02:10 Eileen2014