MicrocontrollersAndMore / TensorFlow_Tut_3_Object_Detection_Walk-through

TensorFlow Tutorial 3: Object Detection Walk-through
21 stars 20 forks source link

Import "trainer" name issue #7

Open lumenier1 opened 6 years ago

lumenier1 commented 6 years ago

Hi, great tutorial, I'am very appreciating this. I am stuck at this tutorial on 35 minute (everything before was ok). I did everything like in your video, I've set env variables and rebooted PC, but still an error occurs while running 3_train.py script: Traceback (most recent call last): File "C:\Users\Username\Desktop\TensorFlow\TensorFlow_Tut_3_Object_Detection_Walk-through-master\3_train.py", line 11, in <module> from object_detection import trainer ImportError: cannot import name 'trainer'

A few things left until the end of the lesson, please help! Any advice will be appreciated :)

chikkalain commented 6 years ago

changing to below will resolve the issue.

from object_detection.legacy import trainer

Viile1 commented 5 years ago

ı take an error after up did it 'object_detection.utils.dataset_util' has no attribute 'make_initializable_iterator'