Tensorflow Object Detection API仅显示损失值。如何获得mAP值?

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

我正在使用Tensorflow Object Detection API训练我自己的数据集。在训练时,我只能获得损失值like this。在训练或张量板上有没有办法获得mAP值?

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

在legacy / train.py和legacy / eval.py中

Example usage:
    ./train \
        --logtostderr \
        --train_dir=path/to/train_dir \
        --pipeline_config_path=pipeline_config.pbtxt

Example usage:
    ./eval \
        --logtostderr \
        --checkpoint_dir=path/to/checkpoint_dir \
        --eval_dir=path/to/eval_dir \
        --pipeline_config_path=pipeline_config_path.pbtxt \

对于一个终端,你使用train.py进行训练,

对于另一个使用eval.py进行评估的终端,

确保train_dir与checkpoint_dir和eval_dir相同

而另一个终端打开了张量板

确保你安排你的硬件设备,否则你可能无法同时打开火车和eval

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