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

google.protobuf.text_format.ParseError: 8:5 : Message type "second.protos.VoxelNet" has no field named "num_class". #24

Open
gdb123 opened this issue Mar 10, 2023 · 0 comments

Comments

@gdb123
Copy link

gdb123 commented Mar 10, 2023

您好,我在训练过程中遇到下面问题,您可以帮忙解决么?
Traceback (most recent call last):
File "./pytorch/train.py", line 765, in
fire.Fire()
File "/anaconda3/envs/tanet/lib/python3.7/site-packages/fire/core.py", line 141, in Fire
component_trace = _Fire(component, args, parsed_flag_args, context, name)
File "/anaconda3/envs/tanet/lib/python3.7/site-packages/fire/core.py", line 480, in _Fire
target=component.name)
File "/anaconda3/envs/tanet/lib/python3.7/site-packages/fire/core.py", line 691, in _CallAndUpdateTrace
component = fn(*varargs, **kwargs)
File "./pytorch/train.py", line 112, in train
text_format.Merge(proto_str, config)
File "/anaconda3/envs/tanet/lib/python3.7/site-packages/google/protobuf/text_format.py", line 728, in Merge
allow_unknown_field=allow_unknown_field)
File "/anaconda3/envs/tanet/lib/python3.7/site-packages/google/protobuf/text_format.py", line 796, in MergeLines
return parser.MergeLines(lines, message)
File "/anaconda3/envs/tanet/lib/python3.7/site-packages/google/protobuf/text_format.py", line 821, in MergeLines
self._ParseOrMerge(lines, message)
File "/anaconda3/envs/tanet/lib/python3.7/site-packages/google/protobuf/text_format.py", line 840, in _ParseOrMerge
self._MergeField(tokenizer, message)
File "/anaconda3/envs/tanet/lib/python3.7/site-packages/google/protobuf/text_format.py", line 970, in _MergeField
merger(tokenizer, message, field)
File "/anaconda3/envs/tanet/lib/python3.7/site-packages/google/protobuf/text_format.py", line 1045, in _MergeMessageField
self._MergeField(tokenizer, sub_message)
File "/anaconda3/envs/tanet/lib/python3.7/site-packages/google/protobuf/text_format.py", line 970, in _MergeField
merger(tokenizer, message, field)
File "/anaconda3/envs/tanet/lib/python3.7/site-packages/google/protobuf/text_format.py", line 1045, in _MergeMessageField
self._MergeField(tokenizer, sub_message)
File "/anaconda3/envs/tanet/lib/python3.7/site-packages/google/protobuf/text_format.py", line 937, in _MergeField
(message_descriptor.full_name, name))
google.protobuf.text_format.ParseError: 8:5 : Message type "second.protos.VoxelNet" has no field named "num_class".

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

1 participant