【问题标题】:Understanding Detection API config file了解检测 API 配置文件
【发布时间】:2023-03-10 14:53:01
【问题描述】:

我想使用“coco_detection_metrics”。我在论坛上看到我应该将 metrics_set: "coco_detection_metrics" 添加到 eval_config:

eval_config: {
  num_examples:2000
  max_evals: 10
  eval_interval_secs: 5
  metrics_set: "coco_detection_metrics"
}

但是每个模型都有两个配置文件,我在它们中都看到了“eval_config”,例如“ssd_mobilenet_v1_coco”:

1- ssd_mobilenet_v1_coco.config

(located in: **samples/configs/**)

2- ssd_mobilenet_v1_coco_2018_01_28/pipeline.config

(located in: **ssd_mobilenet_v1_coco_2018_01_28.tar.gz**)

应该修改哪一个?这两个文件有什么区别?在训练或评估期间将使用哪一个?

谢谢!

【问题讨论】:

    标签: tensorflow object-detection coco


    【解决方案1】:

    修改你作为标志传递给 train.py 脚本的那个:

    python3 object_detection/train.py --logtostderr --pipeline_config_path=/path/to/your/config_file.config --train_dir=/your/train/dir
    

    因此,在文件系统的任何位置创建配置文件,根据需要对其进行修改,然后将其传递给 train 或 eval 脚本,如上所示。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-11-02
      • 1970-01-01
      • 2011-12-21
      • 2022-06-15
      • 1970-01-01
      • 2010-11-30
      • 2011-10-19
      • 1970-01-01
      相关资源
      最近更新 更多