second.pytorch icon indicating copy to clipboard operation
second.pytorch copied to clipboard

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

Open Jin123learn opened this issue 4 years ago • 6 comments

Traceback (most recent call last): File "./pytorch/train.py", line 647, in fire.Fire() File "/home/jin/anaconda3/lib/python3.6/site-packages/fire/core.py", line 138, in Fire component_trace = _Fire(component, args, parsed_flag_args, context, name) File "/home/jin/anaconda3/lib/python3.6/site-packages/fire/core.py", line 468, in _Fire target=component.name) File "/home/jin/anaconda3/lib/python3.6/site-packages/fire/core.py", line 672, in _CallAndUpdateTrace component = fn(*varargs, **kwargs) File "./pytorch/train.py", line 556, in evaluate text_format.Merge(proto_str, config) File "/home/jin/anaconda3/lib/python3.6/site-packages/google/protobuf/text_format.py", line 734, in Merge allow_unknown_field=allow_unknown_field) File "/home/jin/anaconda3/lib/python3.6/site-packages/google/protobuf/text_format.py", line 802, in MergeLines return parser.MergeLines(lines, message) File "/home/jin/anaconda3/lib/python3.6/site-packages/google/protobuf/text_format.py", line 827, in MergeLines self._ParseOrMerge(lines, message) File "/home/jin/anaconda3/lib/python3.6/site-packages/google/protobuf/text_format.py", line 849, in _ParseOrMerge self._MergeField(tokenizer, message) File "/home/jin/anaconda3/lib/python3.6/site-packages/google/protobuf/text_format.py", line 974, in _MergeField merger(tokenizer, message, field) File "/home/jin/anaconda3/lib/python3.6/site-packages/google/protobuf/text_format.py", line 1048, in _MergeMessageField self._MergeField(tokenizer, sub_message) File "/home/jin/anaconda3/lib/python3.6/site-packages/google/protobuf/text_format.py", line 974, in _MergeField merger(tokenizer, message, field) File "/home/jin/anaconda3/lib/python3.6/site-packages/google/protobuf/text_format.py", line 1048, in _MergeMessageField self._MergeField(tokenizer, sub_message) File "/home/jin/anaconda3/lib/python3.6/site-packages/google/protobuf/text_format.py", line 941, in _MergeField (message_descriptor.full_name, name)) google.protobuf.text_format.ParseError: 10:5 : Message type "second.protos.VoxelNet" has no field named "num_class".

when I try to run the command ' ./pytorch/train.py evaluate --config_path=./configs/car.config --model_dir=/home/jin/Documents/model/model_sec_car_37144', I got the error above, could anybody tell what's wrong with it? thanks lot!

Jin123learn avatar Sep 21 '20 03:09 Jin123learn

Have you solved it?I run into the same problem.

GYE19970220 avatar Nov 04 '20 04:11 GYE19970220

I have same problem. Anyone solve this problem?

vasdvczxc avatar Feb 09 '21 04:02 vasdvczxc

I have same problem. Anyone solve this problem?

Janezhangjing avatar Jul 11 '21 09:07 Janezhangjing

Is there any solution yet? I got same error

curiousboy20 avatar Nov 03 '21 05:11 curiousboy20

I have same problem. Anyone solve this problem? thanks

smallzm avatar Nov 14 '21 13:11 smallzm