gmalivenko / onnx2keras

Convert ONNX model graph to Keras model format.
MIT License
195 stars 116 forks source link

Converter try using tf.contrib when covnerting InstanceNormalization #91

Open nesherofek opened 4 years ago

nesherofek commented 4 years ago

when converting the InstanceNormalization operation the converter try using the instance_norm from tf.contrib but the requirements for keras are tensorflow 2

Andredance commented 4 years ago

Hi! Thank you for your attention. It will be fixed soon.

ibadr commented 3 years ago

Hi! I see per this issue, InstanceNormalization has moved to addons. Is the new API easy to migrate to? Would we need to make changes beyond the scope of the function convert_instancenorm in normalization_layers.py?

ibadr commented 3 years ago

Oh, I see some changes related to that already here: https://github.com/nerox8664/onnx2keras/commit/17008d31a5d203b07609c89240a552000d30ed21