-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Error When Training Yolov3 with Image Size 1280x720 #204
Comments
Did you manage to solve this problem ? |
@tristochief 720x1280 image size is not multiple of 32 (see code) - you could add two 8px black bars to get to 736x1280 and it'll work! ;) |
thanks! |
Hey, my image size is the same. However I solved it using cropping. But I am encountering a separate problem: Here is the complete error, I got Any lead to the solution or help is welcome! |
When I train with a dataset with image size: (1280 by 720) and change the batch size to either 1, 10 or 16, I get the following error:
InvalidArgumentError (see above for traceback): ConcatOp : Dimensions of inputs should match: shape[0] = [1,256,80,44] vs. shape[1] = [1,512,80,45]
Here is the code where this error is happening (The line is in *bold)
I am certain that it is to do with the image size, because I have tried with 740 by 416, and it ran several epoches before encountering a completely different error.
here is the full output from the terminal:
The text was updated successfully, but these errors were encountered: