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

cannot import name 'trainer' please help!!!! #543

Open Nutsp2330 opened 3 years ago

Nutsp2330 commented 3 years ago

i run this code(python train.py --logtostderr --train_dir=training/ --pipeline_config_path=training/faster_rcnn_inception_v2_pets.config) from step6 then it said Traceback (most recent call last): File "train.py", line 49, in from object_detection import trainer ImportError: cannot import name 'trainer' from 'object_detection' (C:\Users\Nutsp\anaconda3\envs\tensorflow1\lib\site-packages\object_detection-0.1-py3.8.egg\object_detection__init__.py)