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

转onnx出错怎么解决呢? #35

Open
205418367 opened this issue Dec 20, 2021 · 3 comments
Open

转onnx出错怎么解决呢? #35

205418367 opened this issue Dec 20, 2021 · 3 comments

Comments

@205418367
Copy link

No description provided.

@JinShiyin
Copy link

I convert successfully by replacing F.avg_pool2d with F.adaptive_avg_pool2d in models.py. And pytorch version is 1.12.1 and onnx-pytorch version is 0.1.5 in my environment.

@mohamad-hasan-sohan-ajini

Also try converting with opset_version=13

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

4 participants