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

ValueError: Layer weight shape (4, 4, 3, 32) not compatible with provided weight shape (4, 4, 3, 64) #20

Open
OhRly-net opened this issue Aug 13, 2019 · 0 comments

Comments

@OhRly-net
Copy link

When trying to convert my model, i get the following error:

 File "convert_keras.py", line 133, in <module>
    layer.set_weights([W, b])
  File "C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\keras\engine\base_layer.py", line 1057, in set_weights
    'provided weight shape ' + str(w.shape))
ValueError: Layer weight shape (4, 4, 3, 32) not compatible with provided weight shape (4, 4, 3, 64)

Any tips on what might be going wrong here?

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

No branches or pull requests

1 participant