-
Notifications
You must be signed in to change notification settings - Fork 137
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: [8873,1] vs. [9432,2] #41
Comments
i had the same problem, first time: [15878,1] vs. [15908,2], second time: [14151,1] vs. [14724,2], have you solved it? |
@jetsmith I have stopped using COCO dataset, put my files and classes and boxes in .CSV file and since then it went well. No idea about the reason of the original error. |
Have you solved it ? @jetsmith |
@maliyong Change your tensorflow version to 1.4, then it'll be all solved |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using TF 1.13, would be glad to use 1.4, but it depends on CUDA 8, and I'm already on CUDA 10, with other my project are depending on it. So, going back to TF 1.4 / CUDA 8 is not an option, sorry.
Once I have ignored the error mentioned in the issue #40, the next show stopper is a message about incompatible types. Having tensor sizes, I could probably have searched through the code and fix it, but the problem is, the tensor size and dimension change every time. It could be a plain vector with 25k versus 45k values, or a 2-d matrix with approximately [XXXX, 1] vs. [YYYY, 2], where YYYY is always slightly larger than XXXX, and both could have values from 7k to 20k.
Here are the outputs from the subsequent runs, nothing changed in the data, I just use
rm -rf saved; ./model -dataset COCO
, and the numbers keep changing. Could anyone explain what's the reason and how to fix this, please ?The text was updated successfully, but these errors were encountered: