tensorflow / tensorflow/models

When training tensorflow object detection on my image set i am getting this error.

Open
#6,850 8 comments 0 reactions 1 assignee View on GitHub

@pkulzc is already working on this.

Since May 23, 2019.

models:research
Dominant language
Python
Stars
77.7k
Forks
44.8k
PR merge metrics
No merged PRs in 30d

Description

C:\Project\workspace\training_demo>python train.py --logtostderr --train_dir=training/ --pipeline_config_path=training/ssd_inception_v2_coco.config
WARNING:tensorflow:From C:\Users\Admin\AppData\Local\Programs\Python\Python36\Lib\tensorflow\python\platform\app.py:126: 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:\Users\Admin\AppData\Local\Programs\Python\Python36\Lib\tensorflow\python\platform\app.py", line 126, in run
_sys.exit(main(argv))
File "C:\Users\Admin\AppData\Local\Programs\Python\Python36\Lib\tensorflow\python\util\deprecation.py", line 250, in new_func
return func(*args, **kwargs)
File "train.py", line 93, in main
FLAGS.pipeline_config_path)
File "C:\Project\Tensorflow\models\research\object_detection\utils\config_util.py", line 98, in get_configs_from_pipeline_file
text_format.Merge(proto_str, pipeline_config)
File "C:\Users\Admin\AppData\Local\Programs\Python\Python36\Lib\google\protobuf\text_format.py", line 533, in Merge
descriptor_pool=descriptor_pool)
File "C:\Users\Admin\AppData\Local\Programs\Python\Python36\Lib\google\protobuf\text_format.py", line 587, in MergeLines
return parser.MergeLines(lines, message)
File "C:\Users\Admin\AppData\Local\Programs\Python\Python36\Lib\google\protobuf\text_format.py", line 620, in MergeLines
self._ParseOrMerge(lines, message)
File "C:\Users\Admin\AppData\Local\Programs\Python\Python36\Lib\google\protobuf\text_format.py", line 635, in _ParseOrMerge
self._MergeField(tokenizer, message)
File "C:\Users\Admin\AppData\Local\Programs\Python\Python36\Lib\google\protobuf\text_format.py", line 679, in _MergeField
name = tokenizer.ConsumeIdentifierOrNumber()
File "C:\Users\Admin\AppData\Local\Programs\Python\Python36\Lib\google\protobuf\text_format.py", line 1152, in ConsumeIdentifierOrNumber
raise self.ParseError('Expected identifier or number, got %s.' % result)
google.protobuf.text_format.ParseError: 1:1 : Expected identifier or number, got .

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.