0

当我用 Darknet 训练 yolo v4 时,每秒几次我会得到一个变量列表。有没有一种简单的方法可以让暗网二进制也打印学习率?如果一切都失败了,我将在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 
4

1 回答 1

2

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

有关更多信息,请参阅此答案

于 2021-02-19T06:27:07.953 回答