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

TypeError: Descriptors should not be created directly, but only retrieved from their parent. #38

Closed
keshavoct98 opened this issue Jan 22, 2019 · 1 comment

Comments

@keshavoct98
Copy link

I am using tensorflow 1.9.0 and I am getting an error while executing the below given command in anaconda prompt_
python train.py --logtostderr --train_dir=training/ --pipeline_config_path=training/ssd_mobilenet_v1_pets.config

Here's the error_
Traceback (most recent call last):
File "train.py", line 44, in
options=None),
File "C:\Users\keshav\Anaconda3\envs\neuralnets\lib\site-packages\google\protobuf\descriptor.py", line 530, in new
_message.Message._CheckCalledFromGeneratedFile()
TypeError: Descriptors should not be created directly, but only retrieved from their parent.

@victordibia
Copy link
Owner

This looks like a protobuf version problem.
Ensure you have protobuf and all other obj detection api dependencies installed. https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/installation.md

See discussion here : ethereon/caffe-tensorflow#114

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