You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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:
during Training: set letter_box=1 in the [net] section in cfg-file
during Detection and checking mAP: use flag -letter_box in the command ./darknet detector map cfg/coco.data cfg/yolov3-spp.cfg yolov3-spp.weights -letter_box
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?
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: