Open smalgan opened 5 years ago
Bunun için düzeltmeye göz atın -
I tried, but the problem didn't improve. Is there another method? help me! Please.
hi, check this one, run the below command from research path you can do manually
protoc --python_out=. .\object_detection\protos\calibration.proto protoc --python_out=. .\object_detection\protos\object_detection.protos and verify below video https://youtu.be/nZUxoHPFf4
I don't understand that this problem comes out on the last step
(tensorflow1) C:\tensorflow1\models\research\object_detection>python train.py --logtostderr --train_dir=training/ --pipeline_config_path=training/faster_rcnn_inception_v2_pets.config
WARNING: The TensorFlow contrib module will not be included in TensorFlow 2.0. For more information, please see:
Traceback (most recent call last): File "train.py", line 51, in
from object_detection.builders import model_builder
File "C:\ProgramData\Anaconda3\envs\tensorflow1\lib\site-packages\object_detection-0.1-py3.7.egg\object_detection\builders\model_builder.py", line 27, in
from object_detection.builders import post_processing_builder
File "C:\ProgramData\Anaconda3\envs\tensorflow1\lib\site-packages\object_detection-0.1-py3.7.egg\object_detection\builders\post_processing_builder.py", line 22, in
from object_detection.protos import post_processing_pb2
File "C:\ProgramData\Anaconda3\envs\tensorflow1\lib\site-packages\object_detection-0.1-py3.7.egg\object_detection\protos\post_processing_pb2.py", line 15, in
from object_detection.protos import calibration_pb2 as objectdetection_dot_protos_dot_calibrationpb2
ImportError: cannot import name 'calibration_pb2' from 'object_detection.protos' (C:\ProgramData\Anaconda3\envs\tensorflow1\lib\site-packages\object_detection-0.1-py3.7.egg\object_detection\protos__init__.py)