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

a ValueError raised when training #27

Closed
longzee opened this issue Jan 15, 2018 · 2 comments
Closed

a ValueError raised when training #27

longzee opened this issue Jan 15, 2018 · 2 comments

Comments

@longzee
Copy link

longzee commented Jan 15, 2018

Hi,I'm a newcomer on TensorFlow and Machine Learning. When I run the file "train.py", I encountered a problem, and I have no idea how to solve it. Could you help me on this problem ?Thanks

ValueError: Dimension 3 in both shapes must be equal, but are 27 and 19 for 'conv6_cls_1/Assign' (op: 'Assign') with input shapes: [1,1,128,27], [1,1,128,19].
@hellochick
Copy link
Owner

Hey, @lizilongcn this results from mismatch of NUM_CLASSES variable, and this is my fault. You can re-clone the codes, I have fixed it! Thank you.

@longzee
Copy link
Author

longzee commented Jan 15, 2018

Wow,Thank you for your prompt reply! The problem is solved~

@longzee longzee closed this as completed Jan 15, 2018
@longzee longzee reopened this Jan 15, 2018
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

2 participants