-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Incompatible shapes #42
Comments
I cannot reproduce this error on my machine, please make sure you have all the dependencies listed in README, pull new code and try again. |
@thtrieu I've the same issue when trying to train a VOC2007 dataset. This happens when I use a custom cfg and custom labels.txt with three classes: Changes in [region]: [region] Command: ./flow --train --model pathToMyCFG.cfg --annotation pathToMyAnnotationsFolder --dataset pathToMyImagesFolder Output: Caused by op 'Maximum', defined at: InvalidArgumentError (see above for traceback): Incompatible shapes: [170,169,5,2] vs. [16,169,5,2] |
try to change "filters" in the last convolution layer [convolutional] |
Now it works perfectly :D Thank you @ryansun1900 |
Thanks All. |
Hi @thtrieu,
I got the following error:
InvalidArgumentError (see above for traceback): Incompatible shapes: [40,196,5,2] vs. [16,196,5,2]
[[Node: Minimum = Minimum[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/cpu:0"](add_2, _recv_Placeholder_6_0)]]
I use this command: ./flow --model cfg/tiny-yolo-voc.cfg --load bin/tiny-yolo-voc.weights --train
The text was updated successfully, but these errors were encountered: