PICK-pytorch
PICK-pytorch copied to clipboard
How can I export .pth model to .onnx model?
I have used
But I can not export checkpoint to onnx model. Please help me!
@thanhtung0406 Have you solved this problem?I also encountered the same problem
@wenwenyu
@thanhtung0406 Have you solved this problem?I also encountered the same problem
We solved it, but in a horrible way and you should not try.
@thanhtung0406 Have you solved this problem?I also encountered the same problem
We solved it, but in a horrible way and you should not try.
@xuanhaihust Could you share the steps if possible? Thanks
Hi @xuanhaihust, can you please share the steps for how to export .pth to onnx ? Or any one solve this issue.
Hi @RahulJha11, @AtulKumar4 Sorry for the late answer. We could not do it right away, but after break the model to smaller components, we did it and end up with 8 parts (7 .onnx files and 1 torch script). If you want more details, contact me via Telegram @xuanhaihust or Linkedin @xuanhaihust also.
Has anyone solved this problem? I also faced this problem. Thank you
Hi @RahulJha11, @AtulKumar4 Sorry for the late answer. We could not do it right away, but after break the model to smaller components, we did it and end up with 8 parts (7 .onnx files and 1 torch script). If you want more details, contact me via Telegram @xuanhaihust or Linkedin @xuanhaihust also.
the model you convert to ,can infer by dynamic_axis ? torch.onnx.export(dynamic_axis=dynamic_axis)
@xuanhaihust whick version of pytorch and onnx you use when convert to onnx