polarisZhao / PFLD-pytorch

PFLD pytorch Implementation
798 stars 197 forks source link

version problem? #55

Open DAVID-Hown opened 3 years ago

DAVID-Hown commented 3 years ago

RuntimeError: ./checkpoint/snapshot/checkpoint.pth.tar is a zip archive (did you mean to use torch.jit.load()?)

DAVID-Hown commented 3 years ago

run pytorch2onnx.py

JSYdiyishuai commented 3 years ago

Check yourt pytorch version. I think pytorch version must >=1.6 @DAVID-Hown

arch-raven commented 2 years ago

[Solved] https://github.com/polarisZhao/PFLD-pytorch/issues/58#issuecomment-1143235819