-
Notifications
You must be signed in to change notification settings - Fork 60
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
KeyError: 'onnx::Conv_197' on converting torchvision resnet18 #156
Comments
Hi,
I found that if a node is trainable, its category must be 'Initializer' rather than 'Constant' in ONNX. Could you check you node's category if Constant or not? If you need to change the category of a node, you can follow these steps:
a demo for you:
PS: it's just demo, so you may change code and test. |
python 3.11
torch-2.0.0+cpu
The text was updated successfully, but these errors were encountered: