argusswift / YOLOv4-pytorch

This is a pytorch repository of YOLOv4, attentive YOLOv4 and mobilenet YOLOv4 with PASCAL VOC and COCO
1.68k stars 330 forks source link

如何修改训练图片大小并且使用多尺度训练策略 #239

Open YoungLNB opened 2 years ago

argusswift commented 2 years ago

在config.py里设置MULTI_SCALE_TRAIN为True

swjtulinxi commented 2 years ago

请问进行多尺度训练时,是如何改变train_size的,我没看到对这个参数做随机改变,只看到传入固定值416啊