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

Layer weight shape (3, 3, 640, 64) not compatible with provided weight shape (64, 3, 3, 3) #27

Open
rabeya-akter opened this issue Jul 5, 2021 · 3 comments

Comments

@rabeya-akter
Copy link

image

I'm unable to solve this problem.

@James6699
Copy link

I meet the same issue.How to solve this problem?

@dragonstrong
Copy link

Keras uses tensorflow by default, to slove this problem you should modify the keras.json file as follows:
"backend": "theano"
"image_dim_ordering": "th"

@foxquan
Copy link

foxquan commented Mar 20, 2023

/

Keras 默认使用 tensorflow,要解决这个问题,您应该按如下方式修改 keras.json 文件: “backend”: “theano” “image_dim_ordering”: “th”

hello,l meet the same issue.I use the method you mentioned.but can't solve the problem.what the versions of tensorflow and keras you used?

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

4 participants