-
Notifications
You must be signed in to change notification settings - Fork 145
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
Cannot convert keras model: softmax() got an unexpected keyword argument 'axis' #892
Comments
It seems version mistmatch between keras and tensorflow. Not related to webdnn. |
here's the results are installing keras==2.1.3 and tensorflow==1.7.0
|
For windows, |
Thanks. I got passed that. Now Python crashes with no error message.
Changing backend to webgl:
|
I am trying this whole on a second machine in case. This time I get a different error:
D:\repos\webdnn\resnet>python ..\bin\convert_keras.py resnet50.h5 --input_shape "(1,224,224,3)" --out output warnings.warn(message, category) |
So on my 2nd machine (the one with data_format error) I upgraded keras to 2.2.2 (following this: https://stackoverflow.com/questions/50830736/typeerror-keyword-argument-not-understood-data-format).
|
Termination of python program without error message is caused by, in my experience, out of memory or error in native library (which is not webdnn itself, so problem in keras or tensorflow). |
train_mnist_keras went fine |
I recalled that processing resnet may cause stack overflow in windows. Could you try editing
to
|
That worked! thanks a lot for your help |
I am following the instructions to convert a resnet50 model word by word. And I get this:
The model was saved using these instructions:
The text was updated successfully, but these errors were encountered: