You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, when I try to run python benchmark.py -w pretrained/best.pth.tar, I encounter such an error:
(SynergyNet) heyuan@VIML4:~/Research/3d_face/SynergyNet$ python benchmark.py -w pretrained/best.pth.tar
Traceback (most recent call last):
File "benchmark.py", line 256, in <module>
main()
File "benchmark.py", line 252, in main
benchmark(args.weights, args)
File "benchmark.py", line 241, in benchmark
aflw2000()
File "benchmark.py", line 235, in aflw2000
batch_size=128)
File "benchmark.py", line 113, in extract_param
model.load_state_dict(checkpoint)
File "/home/heyuan/Environments/anaconda3/envs/deep3d_pytorch/lib/python3.6/site-packages/torch/nn/modules/module.py", line 1045, in load_state_dict
self.__class__.__name__, "\n\t".join(error_msgs)))
RuntimeError: Error(s) in loading state_dict for DataParallel:
Unexpected key(s) in state_dict: "module.u_tex", "module.w_tex".
Do you have any idea to solve it?
The text was updated successfully, but these errors were encountered:
Hi, when I try to run python benchmark.py -w pretrained/best.pth.tar, I encounter such an error:
Do you have any idea to solve it?
The text was updated successfully, but these errors were encountered: