问题描述
我正在使用 Tensorflow 的对象检测框架.训练和评估工作进展顺利,但在 tensorboard 中,我只能看到评估工作的 10 张图像.有没有办法增加这个数字来查看更多图像?我尝试更改配置文件:
I am using Tensorflow's object detection framework. Training and evaluation jobs are going well, but in tensorboard I am only able to see 10 images for the evaluation job. Is there a way to increase this number to look at more images? I tried changing the config file:
eval_config: {
num_examples: 1000
max_evals: 50
}
eval_input_reader: {
tf_record_input_reader {
input_path: "xxx/eval.record"
}
label_map_path: "xxx/label_map.pbtxt"
shuffle: false
num_readers: 1
}
我认为 max_eval
参数会改变这一点,但它没有.
I thought the max_eval
parameter would change this but it doesn't.
这是我为评估作业运行的命令:
This is the command i'm running for the evaluation job:
python ../models/research/object_detection/eval.py \
--logtostderr \
--pipeline_config_path=xxx/ssd.config \
--checkpoint_dir="xxx/train/" \
--eval_dir="xxx/eval"
推荐答案
它应该是你的 eval_config
中的 num_visualizations
参数(参见 eval.proto
代码).
It should be the num_visualizations
parameter in your eval_config
(cf. eval.proto
code).
这篇关于在 Tensorboard 中显示更多图像 - Tensorflow 对象检测的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!