WongKinYiu / ScaledYOLOv4

Scaled-YOLOv4: Scaling Cross Stage Partial Network
GNU General Public License v3.0
2.02k stars 575 forks source link

which image size is be used?(about image size). #207

Closed SpongeBab closed 3 years ago

SpongeBab commented 3 years ago

In train.py parser.add_argument('--img-size', nargs='+', type=int, default=[800, 800], help='train,test sizes') and In yolov4-csp.cfg

width=512
height=512

which is be used to train or test?

SpongeBab commented 3 years ago

This repo is different from the darknet. The image-size is set in the parser.add_argument('--img-size', nargs='+', type=int, default=[512, 512], help='train,test sizes'). Darknet set it in the cfg files.