loicmarie/sign-language-alphabet-recognizer

tensorflow.python.framework.errors_impl.NotFoundError: path/to/image.jpg

Opened this issue · 2 comments

i think the path im giving is not proper and im new with using docker how can i resolve this?, training went fine but im not able to find out the path in the command line so please help me with these......
the problem is with the classify.py
screenshot from 2019-02-20 13-11-50

@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.'
        )

Hi , even I am facing the above issue. How can I resolve it?
I was unable to follow the above solution given