Closed rajendra2 closed 6 years ago
Thanks for submitting this issue @rajendra2 @roywei could you add label "Bug", "Training" to this?
@rajendra2 I believe it's the conv2d_bn() used in keras.applications.inception_v3.
Could you try removing all the params in BatchNormalization like this at line 82:
x = BatchNormalization()(x)
It works on my end, you may want to re-install keras from source after you changed inception_v3. We will make a fix on this with our next release.
I tried removing all the params from BatchNormalization (line 82 in /usr/local/lib/python3.6/dist-packages/keras/applications/inception_v3.py ). It didn't make any difference.
I am looking forward to next release. Any tentative date?
@rajendra2 Using the workaround works on my side. Next release on June 22. Meanwhile you can try to clone the project, make the change on Inception, and source install using python setup.py install
@roywei I just tried the new release (keras-mxnet==2.2.0). I still get the same error when I run the my original code in Jupyter. I also tried removing all the params from BatchNormalization (/usr/local/lib/python3.6/dist-packages/keras_applications/inception_v3.py) but that is not helping.
Does my code work in your environment with the pypi 2.2.0 release ?
@rajendra2 sorry, unfortunately we were not able to change this in 2.2.0. We found out in Keras 2.2.0, the application module was moved out into a separable repo in keras-team. We are not able to make any custom change on that for now. Will investigate a work around to modify applications modules for mxnet.
However, re-install from source with the change I mentioned should work for now.
root cause found: https://github.com/awslabs/keras-apache-mxnet/issues/136
closing as fixed in #148
I am trying following code and it is failing during model.compile. I am using
keras-mxnet==2.1.6.1 mxnet-cu92==1.2.0
ValueError Traceback (most recent call last)