Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

配置文件提示 大括号错误 #59

Closed
poson opened this issue Oct 21, 2021 · 1 comment
Closed

配置文件提示 大括号错误 #59

poson opened this issue Oct 21, 2021 · 1 comment

Comments

@poson
Copy link
Collaborator

poson commented Oct 21, 2021

[[ ------------------Disable OneDNN--------------------- ]]
Init odps proxy io environment success.
[2021-10-21 10:31:36.850331] [INFO] [78#78] [paiio/cc/platform/odps_io_manager/odps_io_config.cc:85] Odps environment init done.
[2021-10-21 10:31:53,176] [INFO] [78#MainThread] [tensorflow/python/util/auto_strategy_utils.py:108] Disable Auto Strategy.
[2021-10-21 10:31:53,176][INFO] Disable Auto Strategy.
[2021-10-21 10:31:53,177][INFO] set on pai environment variable: IS_ON_PAI
Traceback (most recent call last):
File "run.py", line 508, in
tf.app.run()
File "/worker/venv/lib/python2.7/site-packages/tensorflow/python/platform/app.py", line 128, in run
_sys.exit(main(argv))
File "run.py", line 357, in main
pipeline_config = config_util.get_configs_from_pipeline_file(config, False)
File "/worker/tensorflow_jobs/easy_rec/python/utils/config_util.py", line 48, in get_configs_from_pipeline_file
text_format.Merge(config_str, pipeline_config)
File "/worker/venv/lib/python2.7/site-packages/google/protobuf/text_format.py", line 735, in Merge
allow_unknown_field=allow_unknown_field)
File "/worker/venv/lib/python2.7/site-packages/google/protobuf/text_format.py", line 803, in MergeLines
return parser.MergeLines(lines, message)
File "/worker/venv/lib/python2.7/site-packages/google/protobuf/text_format.py", line 828, in MergeLines
self._ParseOrMerge(lines, message)
File "/worker/venv/lib/python2.7/site-packages/google/protobuf/text_format.py", line 850, in _ParseOrMerge
self._MergeField(tokenizer, message)
File "/worker/venv/lib/python2.7/site-packages/google/protobuf/text_format.py", line 923, in _MergeField
name = tokenizer.ConsumeIdentifierOrNumber()
File "/worker/venv/lib/python2.7/site-packages/google/protobuf/text_format.py", line 1392, in ConsumeIdentifierOrNumber
raise self.ParseError('Expected identifier or number, got %s.' % result)
google.protobuf.text_format.ParseError: 844:1 : '}': Expected identifier or number, got }.
Failed to execute system command. (exit code: 251.)

@poson
Copy link
Collaborator Author

poson commented Oct 21, 2021

第844行多了一个}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants