bourdakos1 / Custom-Object-Detection

Custom Object Detection with TensorFlow

Home Page:https://medium.freecodecamp.org/tracking-the-millenium-falcon-with-tensorflow-c8c86419225e

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot run create_tfrecord

skyler54 opened this issue · comments

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.

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)