bourdakos1 / Custom-Object-Detection

Custom Object Detection with TensorFlow
https://medium.freecodecamp.org/tracking-the-millenium-falcon-with-tensorflow-c8c86419225e
MIT License
347 stars 181 forks source link

Cannot run create_tfrecord #25

Closed skyler54 closed 6 years ago

skyler54 commented 6 years ago

Hi, I'm not sure what am i missing in here, I just followed your tutorial in here 'https://medium.freecodecamp.org/tracking-the-millenium-falcon-with-tensorflow-c8c86419225e'

When i try to run the 'create_tf_record.py' from PyCharm i get the below error,

screen shot 2018-06-05 at 5 55 32 am

but at the same time i can run the 'create_tf_record.py' file from terminal.

Can you please point me, what do i miss in here !!! Thanks in advance buddy.

skyler54 commented 6 years ago

Got this resolved, by adding the ROOT_DIR path to python path. ROOT_DIR = os.path.abspath("../") // Update this path according to yours sys.path.append(ROOT_DIR)