Open DP1701 opened 2 years ago
By definition, train from scratch does not use pre-trained weights.
I did not know that until now. Is there a paper or book that defines this? Interesting that the authors of YOLOv5 recommend the use of pre-trained weights.
If I understand this correctly, pre-trained weights are ignored in YOLOv7 if I indicate them with --weights yolov7.pt ?
Use pre-trained weights may get better AP, but it need similar large dataset and very long pre-training time.
If I understand this correctly, pre-trained weights are ignored in YOLOv7 if I indicate them with --weights yolov7.pt ?
No. Using the --weights argument and adding the yolov7.pt leads to fine tuning of the model, if you talking about the training implementation of this repo.
If you want to train from scratch, you indicate it by adding "" (an empty string) to the --weights argument. Not adding the the weights argument leads to fine tuning of the model (training with pre-trained weights) by default!
I got it. Thank you for the explanation!
Hello, in YOLOv5 it is recommended that the pre-trained weights should be included in the training if this is also done from scratch. What about YOLOv7?