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

'set_weights' error #3028

Closed
MarcosSFC opened this issue Apr 26, 2024 · 0 comments
Closed

'set_weights' error #3028

MarcosSFC opened this issue Apr 26, 2024 · 0 comments

Comments

@MarcosSFC
Copy link

I've got an error in my code and it says:

ValueError: You called set_weights(weights) on layer 'conv1' with a weight list of length 1, but the layer was expecting 2 weights.

I tried to find a solution on the internet, but it was unsuccessfully.

Gotten others problems with incompatibility.

I'm using python 3.11.4
Keras - 3.2.0
Tensor Flow - 2.16.1

if trying running in another python version, which one would be the best and keras/tensor versions?

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