I'm training a custom YOLOv4 model using darknet, and at the end of training it produces two files: last.weights
and final.weights
. What is the difference between them, and which one should I use? From the naming I'd guess final.weights
is the best best.weights
that was generated, but I can't find it documented anywhere.
Reference to original Yolov4, last_weight
is not the best
(file yolo-obj_last.weights will be saved to the build\darknet\x64\backup\ for each 100 iterations)
And if you dive into source code, final.weight
is saved after training (through all iterations)
The best.weights
file is exactly the best weight you need