ParseError Traceback(最近一次调用最后一次)
在
----> 1 配置 = config_util.get_configs_from_pipeline_file(CONFIG_PATH)
〜\ AppData \ Roaming \ Python \ Python37 \ site-packages \ object_detection \ utils \ config_util.py get_configs_from_pipeline_file(pipeline_config_path,config_override)
96 with tf.io.gfile.GFile(pipeline_config_path, "r") as f:
97 proto_str = f.read()
Run Code Online (Sandbox Code Playgroud)
---> 98 text_format.Merge(proto_str, pipeline_config)
99 if config_override:
100 text_format.Merge(config_override, pipeline_config)
Run Code Online (Sandbox Code Playgroud)
C:\ProgramData\Anaconda3\lib\site-packages\google\protobuf\text_format.py 合并(文本、消息、allow_unknown_extension、allow_field_number、descriptor_pool、allow_unknown_field)
735 allow_field_number,
736 descriptor_pool=descriptor_pool,
Run Code Online (Sandbox Code Playgroud)
--> 737 允许_未知_字段=允许_未知_字段)
738
739
Run Code Online (Sandbox Code Playgroud)
MergeLines 中的 C:\ProgramData\Anaconda3\lib\site-packages\google\protobuf\text_format.py(行、消息、allow_unknown_extension、allow_field_number、descriptor_pool、allow_unknown_field)
803 descriptor_pool=descriptor_pool,
804 allow_unknown_field=allow_unknown_field)
Run Code Online (Sandbox Code Playgroud)
--> 805 返回 parser.MergeLines(lines, message)
806
807
Run Code Online (Sandbox Code Playgroud)
MergeLines 中的 C:\ProgramData\Anaconda3\lib\site-packages\google\protobuf\text_format.py(self,lines,message)
828 """Merges a text representation of a …Run Code Online (Sandbox Code Playgroud) object-detection tensorflow jupyter-notebook object-detection-api