Open matthai opened 3 years ago
if you use yolov4-csp, you can use darknet/partial to get coco pretrained weights for both darknet and pytorch.
if you use yolov4-large, replace argument --weights ''
to --weights pretrained.pt
in your training command.
@matthai did you work this out in the end?
@WongKinYiu please could you show how to get partial pretrained weights for pytorch?
@WongKinYiu please could you show how to get partial pretrained weights for pytorch?
Hi Have you solved this problem. Start training yolov4-csp from scratch, and get *.pt results? I am really need solve this problem. Hope to get your help.
Is there an example (or any hints/instructions) on how to do transfer learning with the pytorch code provided in this repo?
I understand that using darknet/partial works, but I'm interested in a pytorch example.
I'm a pytorch newbie, so if the answer is "just do it the usual pytorch way" please let me know, I will read up on it, although any hints will be appreciated!