pytorch 1.7训练保存的模型在1.4低版本无法加载:frame #63: <unknown function> + 0x1db3e0 (0x55ba98ddd3e0 in /data/user
pytorch 1.7高版本训练保存的模型在1.4低版本无法加载,报错:
torch.load(‘/home/user1/model_best_b.pth.tar’)
Traceback (most recent call last):
File “/data/user1/pkgs/conda/envs/drc/lib/python3.7/site-packages/IPython/core/interactiveshell.py”, line 3417, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File “”, line 1, in
torch.load(‘/home/wangjunchu/pjs/fae/paper/ckpt/to_test/20201204175958/Arcface50_t4_bs50_bslr_0.001_fclr_0.01/model_best_bacc.pth.tar’)
File “/data/user1/pkgs/conda/envs/drc/lib/python3.7/site-packages/torch/serialization.py”, line 527, in load
with _open_zipfile_reader(f) as opened_zipfile:
File “/data/user1/pkgs/conda/envs/drc/lib/python3.7/site-packages/torch/serialization.py”, line 224, in init
super

1万+

被折叠的 条评论
为什么被折叠?



