tensorflow object_detection API trouble google.protobuf.text_format.ParseError: 158:3 : Message type "object_detection.protos.TrainConfig" has no field named "load_all_detection_checkpoint_vars".
When I was using train.py , I got this error. How to solve?
google.protobuf.text_format.ParseError: 158:3 : Message type "object_detection.protos.TrainConfig" has no field named "load_all_detection_checkpoint_vars".
Try recompiling the protobuf files:
# From tensorflow/models/research/
protoc object_detection/protos/*.proto --python_out=.
Googling this error, I'm here. Had the same error message and solved it by deleting the line where load_all_detection_checkpoint_vars = true appear in my pipeline config file. Seem's I were using an old version of pipeline config example.
Hi There, We are checking to see if you still need help on this, as this seems to be considerably old issue. Please update this issue with the latest information, code snippet to reproduce your issue and error you are seeing. If we don't hear from you in the next 7 days, this issue will be closed automatically. If you don't need help on this issue any more, please consider closing this.
Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!
Just for any future finders of this problem, I had accidentally deleted a } in my config file. Make sure the pipeline config file is properly written.
Same error on my side, I had an extra " in the config file. Agree with @basedrhys.