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

Fix change_ordering=True for global average pool #114

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Vozf
Copy link

@Vozf Vozf commented Mar 19, 2021

Currently change_ordering=True doesn't conver global average pool. With the addition of argument axis to the target function target_func will fall under this condition
https://github.com/nerox8664/onnx2keras/blob/b5d77c0920eeefef86ea309d7776452a85ec454b/onnx2keras/converter.py#L242
And later conversion here. Sorry didn't test on master, but tested on the latest pypi release and structure is a little changed in a new code
https://github.com/nerox8664/onnx2keras/blob/b5d77c0920eeefef86ea309d7776452a85ec454b/onnx2keras/converter.py#L271

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

Successfully merging this pull request may close these issues.

1 participant