tpvt99 / character-recognition-cnn

Character Recognition using convolutional neural network with Tensfor flow
8 stars 3 forks source link

OSError: File my-model.ckpt.meta does not exist. #1

Open chitransh1998 opened 6 years ago

chitransh1998 commented 6 years ago

Hii, I tried to run the test.py and I am getting the following error. I am unable to understand which file it wants.

Traceback (most recent call last): File "test.py", line 114, in new_saver = tf.train.import_meta_graph('my-model.ckpt.meta') File "C:\Users\DELL\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\training\saver.py", line 1947, in import_meta_graph meta_graph_def = meta_graph.read_meta_graph_file(meta_graph_or_file) File "C:\Users\DELL\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\framework\meta_graph.py", line 632, in read_meta_graph_file raise IOError("File %s does not exist." % filename) OSError: File my-model.ckpt.meta does not exist.

image

Please help, I need it urgently for a project Thankyou

tpvt99 commented 6 years ago

oh, you need to train so as to recognize it. run the training file

On Thu, Jun 14, 2018 at 6:53 PM chitransh1998 notifications@github.com wrote:

Hii, I tried to run the test.py and I am getting the following error. I am unable to understand which file it wants.

Traceback (most recent call last): File "test.py", line 114, in new_saver = tf.train.import_meta_graph('my-model.ckpt.meta') File "C:\Users\DELL\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\training\saver.py", line 1947, in import_meta_graph meta_graph_def = meta_graph.read_meta_graph_file(meta_graph_or_file) File "C:\Users\DELL\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\framework\meta_graph.py", line 632, in read_meta_graph_file raise IOError("File %s does not exist." % filename) OSError: File my-model.ckpt.meta does not exist.

[image: image] https://user-images.githubusercontent.com/37555185/41410527-64bed45c-6ff7-11e8-8305-0b69d205cb76.png

Please help, I need it urgently for a project Thankyou

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tpvt99/character-recognition-cnn/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AWNi6ddN94Ad-hUIAwea4SZr3TFsNwfQks5t8k66gaJpZM4Un0Vk .

tpvt99 commented 6 years ago

that is the file to save the model after training. Training and you will get that file. Thanks.

On Thu, Jun 14, 2018 at 6:59 PM Tran Phong tranphong96.hbk@gmail.com wrote:

oh, you need to train so as to recognize it. run the training file

On Thu, Jun 14, 2018 at 6:53 PM chitransh1998 notifications@github.com wrote:

Hii, I tried to run the test.py and I am getting the following error. I am unable to understand which file it wants.

Traceback (most recent call last): File "test.py", line 114, in new_saver = tf.train.import_meta_graph('my-model.ckpt.meta') File "C:\Users\DELL\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\training\saver.py", line 1947, in import_meta_graph meta_graph_def = meta_graph.read_meta_graph_file(meta_graph_or_file) File "C:\Users\DELL\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\framework\meta_graph.py", line 632, in read_meta_graph_file raise IOError("File %s does not exist." % filename) OSError: File my-model.ckpt.meta does not exist.

[image: image] https://user-images.githubusercontent.com/37555185/41410527-64bed45c-6ff7-11e8-8305-0b69d205cb76.png

Please help, I need it urgently for a project Thankyou

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tpvt99/character-recognition-cnn/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AWNi6ddN94Ad-hUIAwea4SZr3TFsNwfQks5t8k66gaJpZM4Un0Vk .

tpvt99 commented 6 years ago

hey, have you found the solution yet?