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

run train.py #134

Open abhi7852 opened 5 years ago

abhi7852 commented 5 years ago

(evn_hello) D:\tensorflow1\models\research\object_detection>python train.py --lo gtostderr --train_dir=training/ --pipeline_config_path=training/faster_rcnn_ince ption_v2_pets.config Traceback (most recent call last): File "train.py", line 51, in from object_detection.builders import model_builder File "C:\ProgramData\Anaconda3\envs\evn_hello\lib\site-packages\object_detecti on-0.1-py3.6.egg\object_detection\builders\model_builder.py", line 32, in <modul e> from object_detection.models import faster_rcnn_inception_resnet_v2feature extractor as frcnn_inc_res File "C:\ProgramData\Anaconda3\envs\evn_hello\lib\site-packages\object_detecti on-0.1-py3.6.egg\object_detection\models\faster_rcnn_inception_resnet_v2_feature _extractor.py", line 28, in from tensorflow.contrib.slim.python.slim.nets import inception_resnet_v2 ImportError: cannot import name 'inception_resnet_v2'

abhiTronix commented 5 years ago

slim library path not set properly. Set it, Simple :)