Open DAVID-Hown opened 3 years ago
RuntimeError: ./checkpoint/snapshot/checkpoint.pth.tar is a zip archive (did you mean to use torch.jit.load()?)
run pytorch2onnx.py
Check yourt pytorch version. I think pytorch version must >=1.6 @DAVID-Hown
[Solved] https://github.com/polarisZhao/PFLD-pytorch/issues/58#issuecomment-1143235819
RuntimeError: ./checkpoint/snapshot/checkpoint.pth.tar is a zip archive (did you mean to use torch.jit.load()?)