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

Run cifar10_to_kmodel.py with ValueError: Shapes (32,) and (1, 1, 1, 32) are incompatible #3

Open
sabgkang opened this issue Dec 2, 2020 · 0 comments

Comments

@sabgkang
Copy link

sabgkang commented Dec 2, 2020

Hi,

I tried "python cifar10_to_kmodel.py" in example\cifar10 with Tensorflow 2.0.0 (my Windows machine has problems with 2.3.2) and Tensorlayer 2.2.3. There is always an error,

File "D:\MaixEMC\lib\site-packages\tensorflow_core\python\framew
ork\tensor_shape.py", line 1115, in assert_is_compatible_with
raise ValueError("Shapes %s and %s are incompatible" % (self, other))
ValueError: Shapes (32,) and (1, 1, 1, 32) are incompatible

Any suggestion? Any thought would be appreciated. Thanks.
P.S. I tried mbnetv1, also with a similar error

ValueError: Shapes (24,) and (1, 1, 1, 24) are incompatible

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