mmyolo icon indicating copy to clipboard operation
mmyolo copied to clipboard

为什么训练完之后总会出现2023/09/28 04:07:35 - mmengine - ERROR - /home/jupyter/miniconda3/envs/mmyolo/lib/python3.8/site-packages/mmdet/evaluation/metrics/coco_metric.py - compute_metrics - 461 - The testing results of the whole dataset is empty.

Open chenhan1hao opened this issue 1 year ago • 3 comments

为什么训练完之后总会出现2023/09/28 04:07:35 - mmengine - ERROR - /home/jupyter/miniconda3/envs/mmyolo/lib/python3.8/site-packages/mmdet/evaluation/metrics/coco_metric.py - compute_metrics - 461 - The testing results of the whole dataset is empty.

chenhan1hao avatar Oct 09 '23 02:10 chenhan1hao

请问解决了吗?我也遇到这样的情况,原因是我改动了resnet,增加了一层输出层 ,除了改动resnet还有哪个地方需要改动吗

Z-Kamito avatar Nov 04 '23 03:11 Z-Kamito

  1. Make sure to add meta_info to both train_dataloader and val_dataloader.
  2. Ensure that model.bbox_head.head_module.num_classes is set correctly.

Le0v1n avatar Mar 01 '24 02:03 Le0v1n

@Le0v1n What is meta info , how to add it, and is there any documentation?

wsy-yjys avatar Mar 16 '24 02:03 wsy-yjys