argusswift / YOLOv4-pytorch

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

How to start training from scratch? #104

Open bobbilichandu opened 3 years ago

bobbilichandu commented 3 years ago

I am trying to train the model from scratch, but apparently it is expecting a weights file. Even if we don't provide one, it is taking a default non-existing file as a parameter. FileNotFoundError: [Errno 2] No such file or directory: 'weight/mobilenetv3.pth'

jingtianyilong commented 3 years ago

So you basically know what is happenning and I assume you can easily write a random initialize function for the mobilenet-YOLOV4 to replace the default weight which you don't have.