tensorflow / tensorflow/models
google.protobuf.text_format.ParseError: 127:1 : Message type "object_detection.protos.InputReader" has no field named "eval_config".
@pkulzc is already working on this.
Since Jul 1, 2020.
- Dominant language
- Python
- Stars
- 77.7k
- Forks
- 44.8k
- PR merge metrics
- No merged PRs in 30d
Description
I am getting this error,
'C:\tensorflow1\models\research\object_detection>python train.py --logtostderr --train_dir=training/ --pipeline_config_path=training/faster_rcnn_inception_v2_pets.config
WARNING:tensorflow:From C:\Anaconda3\envs\Helmet\lib\site-packages\tensorflow\python\platform\app.py:124: main (from main) is deprecated and will be removed in a future version.
Instructions for updating:
Use object_detection/model_main.py.
Traceback (most recent call last):
File "train.py", line 184, in
tf.app.run()
File "C:\Anaconda3\envs\Helmet\lib\site-packages\tensorflow\python\platform\app.py", line 124, in run
_sys.exit(main(argv))
File "C:\Anaconda3\envs\Helmet\lib\site-packages\tensorflow\python\util\deprecation.py", line 136, in new_func
return func(*args, **kwargs)
File "train.py", line 93, in main
FLAGS.pipeline_config_path)
File "C:\tensorflow1\models\research\object_detection\utils\config_util.py", line 96, in get_configs_from_pipeline_file
text_format.Merge(proto_str, pipeline_config)
File "C:\Anaconda3\envs\Helmet\lib\site-packages\google\protobuf\text_format.py", line 536, in Merge
descriptor_pool=descriptor_pool)
File "C:\Anaconda3\envs\Helmet\lib\site-packages\google\protobuf\text_format.py", line 590, in MergeLines
return parser.MergeLines(lines, message)
File "C:\Anaconda3\envs\Helmet\lib\site-packages\google\protobuf\text_format.py", line 623, in MergeLines
self._ParseOrMerge(lines, message)
File "C:\Anaconda3\envs\Helmet\lib\site-packages\google\protobuf\text_format.py", line 638, in _ParseOrMerge
self._MergeField(tokenizer, message)
File "C:\Anaconda3\envs\Helmet\lib\site-packages\google\protobuf\text_format.py", line 763, in _MergeField
merger(tokenizer, message, field)
File "C:\Anaconda3\envs\Helmet\lib\site-packages\google\protobuf\text_format.py", line 837, in _MergeMessageField
self._MergeField(tokenizer, sub_message)
File "C:\Anaconda3\envs\Helmet\lib\site-packages\google\protobuf\text_format.py", line 730, in _MergeField
(message_descriptor.full_name, name))
google.protobuf.text_format.ParseError: 127:1 : Message type "object_detection.protos.InputReader" has no field named "eval_config".'
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.