小编Jun*_*ong的帖子

TensorFlow对象检测API错误

我正在使用Tensorflow Object Detection API来训练我自己的物体探测器.准备所需的一切后:我把data/train.record, test.record,training/object-detection.pbtxt, faster_rcnn_inception_resnet_v2_atrous_pets.config到的文件夹object_detection.跑

python train.py --logtostderr --train_dir = training/ --pipeline_config_path = training/faster_rcnn_inception_resnet_v2_atrous_pets.config

我收到了错误:

`
username@host:~/Documents/tensorflowModels/object_detection$ python train.py --logtostderr --train_dir = training/ --pipeline_config_path = training/faster_rcnn_inception_resnet_v2_atrous_pets.config
Traceback (most recent call last):
  File "train.py", line 198, in <module>
    tf.app.run()
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 48, in run
    _sys.exit(main(_sys.argv[:1] + flags_passthrough))
  File "train.py", line 143, in main
    model_config, train_config, input_config = get_configs_from_pipeline_file()
  File "train.py", line 103, in get_configs_from_pipeline_file
    text_format.Merge(f.read(), pipeline_config)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/lib/io/file_io.py", line 118, in read
    self._preread_check() …
Run Code Online (Sandbox Code Playgroud)

python object-detection python-2.7 tensorflow

2
推荐指数
1
解决办法
792
查看次数

标签 统计

object-detection ×1

python ×1

python-2.7 ×1

tensorflow ×1