Darknet yolo v4 - 如何获得当前的学习率?

Darknet yolo v4 - how to get current learning rate?

当我用 Darknet 训练 yolo v4 时,我每秒几次得到一个变量列表。 有没有一种简单的方法可以使 Darknet 二进制文件也打印学习率? 如果一切都失败了,我将在 https://github.com/AlexeyAB/darknet/blob/master/src/detector.c 中进行更改并重建,但我真的更愿意避免维护自定义暗网版本。

./darknet detector train data/obj.data ../yolov4-custom.cfg yolov4.conv.137 -dont_show -map &> logs.txt & disown
v3 (iou loss, Normalizer: (iou: 0.07, cls: 1.00) Region 139 Avg (IOU: 0.000000, GIOU: 0.000000), Class: 1.000000, Obj: 0.000000, No Obj: 0.000000, .5R: 0.000000, .75R: 0.000000, count: 1, class_loss = 0.500000, iou_loss = 0.000000, total_loss = 0.500000 
v3 (iou loss, Normalizer: (iou: 0.07, cls: 1.00) Region 150 Avg (IOU: 0.394489, GIOU: 0.289983), Class: 0.985003, Obj: 0.004027, No Obj: 0.000896, .5R: 0.000000, .75R: 0.000000, count: 6, class_loss = 3.253636, iou_loss = 0.891068, total_loss = 4.144704 
v3 (iou loss, Normalizer: (iou: 0.07, cls: 1.00) Region 161 Avg (IOU: 0.612244, GIOU: 0.555591), Class: 0.897004, Obj: 0.014743, No Obj: 0.000339, .5R: 1.000000, .75R: 0.000000, count: 1, class_loss = 0.492179, iou_loss = 0.095293, total_loss = 0.587472 

学习率可以在你的logs.txt文件中找到

有关详细信息,请参阅此