Darknet YOLO image size

前端 未结 5 1160
猫巷女王i
猫巷女王i 2021-02-05 16:50

I am trying to train custom object classifier in Darknet YOLO v2 https://pjreddie.com/darknet/yolo/

I gathered a dataset for images most of them are 6000 x 4000 px and s

5条回答
  •  清歌不尽
    2021-02-05 17:44

    You don't need to resize your database images. PJReddie's YOLO architecture does it by itself keeping the aspect ratio safe (no information will miss) according to the resolution in .cfg file. For Example, if you have image size 1248 x 936, YOLO will resize it to 416 x 312 and then pad the extra space with black bars to fit into 416 x 416 network.

提交回复
热议问题