-
Notifications
You must be signed in to change notification settings - Fork 479
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when converting checkpoint to ONNX #362
Comments
Have you fixed this error yet? @gigasurgeon |
@MhLiao can you help me fix this error |
Try installing PyTorch 2.1.0 with CUDA 11.8, and use argument autograd_inlining=False:
It helps with this error, but there is another one: |
Here is the solution that worked for me with |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am getting this error when I am trying to convert checkpoint to ONNX.
torch version = 1.13.1+cu116
python3 convert_to_onnx.py /vmdata/amitsingh/workspace/z2/DB/experiments/seg_detector/my_custom.yaml /vmdata/amitsingh/workspace/z2/DB/outputs/workspace/DB/SegDetectorModel-seg_detector/deformable_resnet50/L1BalanceCELoss/model/final output.onnx
The text was updated successfully, but these errors were encountered: