Tensorfow培训:ValueError:未知字段calibration_config

时间:2019-03-29 05:57:56

标签: python tensorflow github training-data

我正在使用https://github.com/EdjeElectronics/TensorFlow-Object-Detection-API-Tutorial-Train-Multiple-Objects-Windows-10教程进行张量流训练,但出现错误'ValueError:未知字段Calibration_config。'

以下是错误

Traceback (most recent call last):
  File "train.py", line 184, in <module>
    tf.app.run()
  File "C:\Users\Sa\AppData\Local\Programs\Python\Python36\lib\site-pack
ages\tensorflow\python\platform\app.py", line 125, in run
    _sys.exit(main(argv))
  File "C:\Users\Sa\AppData\Local\Programs\Python\Python36\lib\site-pack
ages\tensorflow\python\util\deprecation.py", line 250, in new_func
    return func(*args, **kwargs)
  File "train.py", line 180, in main
    graph_hook_fn=graph_rewriter_fn)
  File "C:\Users\Sa\AppData\Local\Programs\Python\Python36\lib\site-pack
ages\object_detection-0.1-py3.6.egg\object_detection\legacy\trainer.py", line 24
9, in train
    detection_model = create_model_fn()
  File "C:\Users\Sa\AppData\Local\Programs\Python\Python36\lib\site-pack
ages\object_detection-0.1-py3.6.egg\object_detection\builders\model_builder.py",
 line 124, in build
    add_summaries)
  File "C:\Users\Sa\AppData\Local\Programs\Python\Python36\lib\site-pack
ages\object_detection-0.1-py3.6.egg\object_detection\builders\model_builder.py",
 line 446, in _build_faster_rcnn_model
    ) = post_processing_builder.build(frcnn_config.second_stage_post_processing)

  File "C:\Users\Sa\AppData\Local\Programs\Python\Python36\lib\site-pack
ages\object_detection-0.1-py3.6.egg\object_detection\builders\post_processing_bu
ilder.py", line 63, in build
    if post_processing_config.HasField('calibration_config'):
ValueError: Unknown field calibration_config.

如何纠正此错误并运行培训部分?

0 个答案:

没有答案