tensorflow.python.framework.errors_impl.NotFoundError: path/to/image.jpg
Opened this issue · 2 comments
monoharmayumrohitsharma commented
saltysoup commented
@monoharmayumrohitsharma quick work around is to copy the files to the expected file name
eg. cp logs/trained_labels.txt logs/output_labels.txt
eg. cp logs/trained_graph.pb logs/output_graph.pb
You might want to verify if you've opted to use a different file path and name in the main readme training instructions for the --output_graph and --output_labels params
python3 train.py \
--bottleneck_dir=logs/bottlenecks \
--how_many_training_steps=2000 \
--model_dir=inception \
--summaries_dir=logs/training_summaries/basic \
--output_graph=logs/trained_graph.pb \
--output_labels=logs/trained_labels.txt \
--image_dir=./dataset
or alternatively don't pass any params for them as a default path value is given in the classify.py script
parser.add_argument(
'--output_graph',
type=str,
default='logs/output_graph.pb',
help='Where to save the trained graph.'
)
parser.add_argument(
'--output_labels',
type=str,
default='logs/output_labels.txt',
help='Where to save the trained graph\'s labels.'
)
NitishHegde commented
Hi , even I am facing the above issue. How can I resolve it?
I was unable to follow the above solution given