loss_bbox 和 loss_dfl 都为 0
作者: sosgu创建于 2025年2月25日更新于 2026年4月10日
After running the command Python tools/train.py configs/finetune_coco/yolo_world_v2_l_vlpan_bn_sgd_1e-3_40e_8gpus_finetune_coco.py --work-dir log --amp --resume in the terminal, the following display is shown after training: INFO - Epoch(train) [25][50/90] base_lr: 1.0000e-03 lr: 4.3075e-04 eta: 0:09:11 time: 0.3959 data_time: 0.0126 memory: 5473 grad_norm: 0.0283 loss: 0.0016 loss_cls: 0.0016 loss_bbox: 0.0000 loss_dfl: 0.0000
I searched for related web pages online and found that the labels in the json file should be kept, but after modifying it, the same effect was obtained. So I would like to ask everyone here, how should this problem be solved? In the training set, the categories are:
内容来源: AILab-CVC/YOLO-World