TANet icon indicating copy to clipboard operation
TANet copied to clipboard

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

Open gdb123 opened this issue 1 year ago • 0 comments

您好,我在训练过程中遇到下面问题,您可以帮忙解决么? 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".

gdb123 avatar Mar 10 '23 13:03 gdb123