cypw / PyTorch-MFNet

MIT License
252 stars 56 forks source link

net.load_checkpoint(epoch=args.load_epoch) fails? #2

Open chowkamlee81 opened 6 years ago

chowkamlee81 commented 6 years ago

while excecuting python evaluate_video_ucf101_split1.py

File "evaluate_video_ucf101_split1.py", line 107, in net.load_checkpoint(epoch=args.load_epoch) File "../train/model.py", line 62, in load_checkpoint assert os.path.exists(load_path), "Failed to load: {} (file not exist)".format(load_path) AssertionError: Failed to load: ./../exps/_ep-0000.pth (file not exist)

Kindly help

zwy1996 commented 5 years ago

Have you solved this problem?I have met this same problem. Thanks!

NEUdeep commented 5 years ago

作者开源的测试代码不正确,比如,load_epoch在定义args的时候是 --load-epoch这样的写法失误,