Closed yzfly closed 3 years ago
How to load model.pkl file?
python test.py --checkpoint model.pkl command failed when load model.pkl
model = torch.load(join(opt.checkpoint, test_list[i]), map_location=lambda storage, loc: storage)
If you download the newly released code, plz rename the networks/MSBDN-DFF.py to networks/MSBDN-DFF-v1-1.py.
That worked, thank you!
How to load model.pkl file?
python test.py --checkpoint model.pkl command failed when load model.pkl
model = torch.load(join(opt.checkpoint, test_list[i]), map_location=lambda storage, loc: storage)