PyTorch-MFNet icon indicating copy to clipboard operation
PyTorch-MFNet copied to clipboard

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

Open chowkamlee81 opened this issue 7 years ago • 2 comments

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/<your_tesk_name>_ep-0000.pth (file not exist)

Kindly help

chowkamlee81 avatar Sep 18 '18 13:09 chowkamlee81

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

zwy1996 avatar Dec 20 '18 12:12 zwy1996

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

NEUdeep avatar Jun 26 '19 03:06 NEUdeep