EdjeElectronics / TensorFlow-Object-Detection-API-Tutorial-Train-Multiple-Objects-Windows-10

How to train a TensorFlow Object Detection Classifier for multiple object detection on Windows
Apache License 2.0
2.92k stars 1.3k forks source link

Please help what is the problem #252

Open smalgan opened 5 years ago

smalgan commented 5 years ago

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)

ykpramodh commented 5 years ago

Check out the fix for this at -

https://github.com/EdjeElectronics/TensorFlow-Object-Detection-API-Tutorial-Train-Multiple-Objects-Windows-10/issues/249#issuecomment-474242473

smalgan commented 5 years ago

Bunun için düzeltmeye göz atın -

# 249 (yorum)

I tried, but the problem didn't improve. Is there another method? help me! Please.

Rajamohanreddyai commented 5 years ago

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