Open thanhtran1 opened 5 years ago
🔢
Maybe you forgot to do this? _protoc object_detection/protos/*.proto --pythonout=.
inside the research folder. It's recommended to use _modelmain.py to train.
follow this link- https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/installation.md#protobuf-compilation
CUDA:9 cuDNN:7 tensorflow-gpu:1.9 GPU: NVIDIA 940 I run :python train.py --logtostderr --train_dir=training/ --pipeline_config_path=training/faster_rcnn_inception_v2_pets.config Traceback (most recent call last): File "train.py", line 49, in
from object_detection import trainer
File "C:\tensorflow1\models\research\object_detection\trainer.py", line 27, in
from object_detection.builders import preprocessor_builder
File "C:\tensorflow1\models\research\object_detection\builders\preprocessor_builder.py", line 21, in
from object_detection.protos import preprocessor_pb2
ImportError: cannot import name 'preprocessor_pb2'
Help me!!