TUTORIAL CODE - 21:06 - CREATE MAP FILE
As you can see from the next screenshot below, my path should be all correct I don't understand why the "label map" file is not creating?
I have also tried putting the slash in different ways for the file path like this /
and this \
.
CodePudding user response:
It seems the path exemplified by this tutorial was made in a Linux environment, while you are operating that Jupyter Notebook in Windows. Check how to open files in Windows with Python.
CodePudding user response:
Looks like you have redundant slash \\
. Just remove one slash.
Use absolute path with drive letter, e.g. r'C:\Users\NaziModerator\Tensorflow\workspace\annotations\label_map.pbtxt'
.
Do not mix \
and /
.
Don't forget about r''
before string.
print(path)
to be sure.