-
Notifications
You must be signed in to change notification settings - Fork 296
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
use tf.shape instead of .shape for dynamic axes in InstanceNormalization #771
base: main
Are you sure you want to change the base?
Conversation
09bba9a
to
eed87e3
Compare
Signed-off-by: masakistan <[email protected]>
* Add model stepping test for Mnist Add model stepping test for Mnist using ONNX runtime. The assumption is that ONNX runtime is installed and the mnist model from ONNX model zoo is downloaded. Signed-off-by: Chin Huang <[email protected]> * add tensor_dict back in TFRep Signed-off-by: Chin Huang <[email protected]>
eed87e3
to
7b27f5d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@masakistan Thanks for helping us to identify and fix this dynamic shape issue.
May you please add in a dynamic shape testcase for instance_normalization into onnx-tensorflow/test/backend/test_dynamic_shape.py
7bab839
to
610feae
Compare
@masakistan please add in a dynamic shape testcase for instance_normalization into onnx-tensorflow/test/backend/test_dynamic_shape.py |
Will do, sorry I haven't had time to get to it. |
Hi, I want to convert my onnx file to the tensorflow considering dynamic batch size, but it fails after lots of trial, could you help me |
InstanceNormalization
failed to handle tensor shape with undefined/batch size dimension. This PR fixes it by querying the dynamic shape instead of creating a constant from static shape.Essentially the same as #543