Error: Tensorflow: Image Directory ' ' Not Found
I am trying use Tensorflow for Poets 2 with Windows 10 and Anaconda Prompt. However, I'm having troubles with training my images when I run this code: python scripts/retrain.py --b
Solution 1:
/tf_files
means that the tf_files
folder is under your main directory (that's the meaning of /
), which is not the case.
You should remove all the leading slashes /
from your directory arguments, i.e.
python scripts/retrain.py
--bottleneck_dir=tf_files/bottlenecks
--how_many_training_steps=500
--model_dir={$your-working_directory}/inception
--output_graph={$your-working_directory}/retrained_graph.pb
--output_labels={$your-working_directory}/retrained_labels.txt
--image_dir=tf_files/paintings
assuming of course that the shell variable your-working_directory
has already been defined (if not, replace it with your actual working directory).
Post a Comment for "Error: Tensorflow: Image Directory ' ' Not Found"