我在自定义数据集中的tensorflow对象检测API上训练了一个更快的rcnn模型。我发现3.5k步后损失为2。然而,当我运行eval.py时,mAP分数几乎为0,如下所示。
我不明白为何会这样。但是,当我在3.5k步上查看这些图像时,模型捕获了一些框,如下所示
有谁能解释一下为什么mAP分数接近于零,即使模型已经学会了输出相当多的框?
发布于 2018-08-08 15:55:00
我建议进行几次检查,以确保为对象检测API获得合理的mAP@IoU分数:
matching_iou_threshold
中修改object_detection/utils/object_detection_evaluation.py
参数。EVAL_DEFAULT_METRIC = 'pascal_voc_detection_metrics'
)。如果您正在接受开放图像数据集培训,那么使用open_images_V2_detection_metrics
是有意义的。eval_config: { num_examples: 20000 num_visualizations: 16 min_score_threshold: 0.2 # Note: The below line limits the evaluation process to 10 evaluations. # Remove the below line to evaluate indefinitely. max_evals: 1 }
https://datascience.stackexchange.com/questions/31994
复制相似问题