AlexeyAB / darknet

YOLOv4 / Scaled-YOLOv4 / YOLO - Neural Networks for Object Detection (Windows and Linux version of Darknet )
http://pjreddie.com/darknet/
Other
21.59k stars 7.95k forks source link

Yolov4 models and cfg files for other input sizes #5351

Open srika91 opened 4 years ago

srika91 commented 4 years ago

Hello Alexey,

Great work on the Yolov4 especially the higher mAPs with higher FPS . Is there any link to access the models which resizes input to 416x416,320x320 ?

LukeAI commented 4 years ago

set width and height in the .cfg

VolkovAK commented 4 years ago

@LukeAI should we change anchors sizes as well?

AlexeyAB commented 4 years ago

@VolkovAK No: https://github.com/AlexeyAB/darknet#pre-trained-models

yolov4.cfg - 245 MB: yolov4.weights (Google-drive mirror yolov4.weights ) paper Yolo v4 just change width= and height= parameters in yolov4.cfg file and use the same yolov4.weights file for all cases: