无法在Tensorflow对象检测API中看到验证丢失

问题描述 投票:0回答:1

我使用tensorflow对象检测api最近1年。当我再次重新训练我的模型时,我想获得验证损失的图。我没有在张量板中看到任何验证损失图。

训练配置如下:

# Faster R-CNN with Inception Resnet v2, Atrous version;
# Configured for MSCOCO Dataset.
   train_input_reader: {
  tf_record_input_reader {
    input_path: "../data/train.record"
  }
  label_map_path: "../data/object-detection.pbtxt"
}

eval_config: {
  num_examples: 1000
  # Note: The below line limits the evaluation process to 10 evaluations.
  # Remove the below line to evaluate indefinitely.
  max_evals: 100
  visualization_export_dir: "../annotated"
  num_visualizations: 5
  eval_interval_secs: 3 
  metrics_set: "coco_detection_metrics"
}

eval_input_reader: {
  tf_record_input_reader {
    input_path: "../data/val.record"
  }
  label_map_path: "../data/object-detection.pbtxt"
  shuffle: false
  num_readers: 1
  num_epochs: 2
}

配置文件有什么问题吗?

object-detection-api
1个回答
0
投票

您使用的是最新的OD API吗?验证损失在“损失”和“损失”下绘制。首先,你可以看到总损失和本地化,分类和正规化之间的分歧,而后者只显示总损失。请注意,“loss_1”和“loss_2”都是训练损失,不确定为什么它被绘制两次,并且没有loc,cls和reg的分割图。

© www.soinside.com 2019 - 2024. All rights reserved.