Skip to content
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

Export onnx error #22

Open
haikunzhang95 opened this issue Feb 24, 2022 · 1 comment
Open

Export onnx error #22

haikunzhang95 opened this issue Feb 24, 2022 · 1 comment

Comments

@haikunzhang95
Copy link

Dear all,

Hi!

I tried to export the onnx model using torch.onnx.export() but it failed. The error message is as follows:

TyperError: state_dict() takes 1 positional argument but 3 were given

Does anyone know what's going on? Can anyone share the experience of successfully exporting the onnx model?

Thank U all!

Kind Regards

@EricWu-ZL
Copy link

Hello, have you solved this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants