-
Notifications
You must be signed in to change notification settings - Fork 99
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
Can only train with square dimensions #111
Comments
Could you print the shape of the input image?
It looks like the image is resized to (1x3x640x640) instead of (1x3x640x1280) |
You can comment out the following code in the det_solver.py file.
|
Hello,
Thanks for the repo. I achieved some initial good results!
I changed the input sizes successfuly from 640, 640 to 1280, 1280 and was able to train (also e.g. 800, 800).
So far so good. However, when I try to train on say 640, 1280 (h, w) I get this error:
I'm wondering what I would have to do to train on non-square images?
When attempting to train on 640, 1280, I changed following config files:
dfine/include/dataloader.yml:
and
dfine/include/dfine_hgnetv2.yml:
I use the config configs/dfine/custom/dfine_hgnetv2_l_custom.yml to train.
Every help is appreciated!
The text was updated successfully, but these errors were encountered: