-
Notifications
You must be signed in to change notification settings - Fork 8k
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
how to configure stretching vs. letteboxing #3119
Comments
By default this repository resizes images to the network size (width= and height= in cfg-file) without keepeing aspect ratio: #232 (comment) To keep aspect ratio:
|
hi @AlexeyAB , my question is does the cmd "darknet detector calc_anchors" supports "letteboxing" option? I think if I have trained dataset with the "letteboxing" option, is it better to use anchors with the same option? |
@lq0104 Yes, may be we should implement it. |
I understand that by default, darknet (in this repo.) will stretch images to the network dimensions during training. Is it possible to configure it to preserve aspect ratio with letterboxing instead?
The text was updated successfully, but these errors were encountered: