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

Implement export for AdaptiveMaxPool as GlobalPooling #42

Open
dzhulgakov opened this issue Nov 17, 2017 · 1 comment
Open

Implement export for AdaptiveMaxPool as GlobalPooling #42

dzhulgakov opened this issue Nov 17, 2017 · 1 comment

Comments

@dzhulgakov
Copy link
Collaborator

For special case when adaptive pooling used to collapse the output dimension completely (output_size=(1,1)) we should just emit GlobalAveragePooling in ONNX. And complain otherwise.

@Scitator
Copy link

Hi @dzhulgakov !
Is there any updates about this issue?
I have just the same problem - I use nn.AdaptiveMaxPool2d((1, 1)) and model becomes unconvertable. It would be great, if you post any hack to solve this problem.
Thanks!

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