{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/6082","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/6082/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/6082/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/6082/events","html_url":"https://github.com/tensorflow/tensorflow/issues/6082","id":193439079,"number":6082,"title":"0.12 Saver.restore broken? Unsuccessful TensorSliceReader constructor: Failed to find any matching files ","user":{"login":"hejunqing","id":5152663,"avatar_url":"https://avatars.githubusercontent.com/u/5152663?v=3","gravatar_id":"","url":"https://api.github.com/users/hejunqing","html_url":"https://github.com/hejunqing","followers_url":"https://api.github.com/users/hejunqing/followers","following_url":"https://api.github.com/users/hejunqing/following{/other_user}","gists_url":"https://api.github.com/users/hejunqing/gists{/gist_id}","starred_url":"https://api.github.com/users/hejunqing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hejunqing/subscriptions","organizations_url":"https://api.github.com/users/hejunqing/orgs","repos_url":"https://api.github.com/users/hejunqing/repos","events_url":"https://api.github.com/users/hejunqing/events{/privacy}","received_events_url":"https://api.github.com/users/hejunqing/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-05T08:39:51Z","updated_at":"2016-12-05T08:43:18Z","closed_at":null,"body":"Here is the traceback:\r\nW tensorflow/core/framework/op_kernel.cc:975] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model_epoch0_128_0.100_[200].ckpt-577569\r\nW tensorflow/core/framework/op_kernel.cc:975] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model_epoch0_128_0.100_[200].ckpt-577569\r\nW tensorflow/core/framework/op_kernel.cc:975] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model_epoch0_128_0.100_[200].ckpt-577569\r\nW tensorflow/core/framework/op_kernel.cc:975] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model_epoch0_128_0.100_[200].ckpt-577569\r\nW tensorflow/core/framework/op_kernel.cc:975] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model_epoch0_128_0.100_[200].ckpt-577569\r\nW tensorflow/core/framework/op_kernel.cc:975] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model_epoch0_128_0.100_[200].ckpt-577569\r\nW tensorflow/core/framework/op_kernel.cc:975] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model_epoch0_128_0.100_[200].ckpt-577569\r\nW tensorflow/core/framework/op_kernel.cc:975] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model_epoch0_128_0.100_[200].ckpt-577569\r\nW tensorflow/core/framework/op_kernel.cc:975] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model_epoch0_128_0.100_[200].ckpt-577569\r\nW tensorflow/core/framework/op_kernel.cc:975] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model_epoch0_128_0.100_[200].ckpt-577569\r\nW tensorflow/core/framework/op_kernel.cc:975] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model_epoch0_128_0.100_[200].ckpt-577569\r\nW tensorflow/core/framework/op_kernel.cc:975] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model_epoch0_128_0.100_[200].ckpt-577569\r\nW tensorflow/core/framework/op_kernel.cc:975] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model_epoch0_128_0.100_[200].ckpt-577569\r\nW tensorflow/core/framework/op_kernel.cc:975] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model_epoch0_128_0.100_[200].ckpt-577569\r\nW tensorflow/core/framework/op_kernel.cc:975] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model_epoch0_128_0.100_[200].ckpt-577569\r\nTraceback (most recent call last):\r\n  File \"validate.py\", line 163, in <module>\r\n    tf.app.run()\r\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py\", line 43, in run\r\n    sys.exit(main(sys.argv[:1] + flags_passthrough))\r\n  File \"validate.py\", line 155, in main\r\n    model.saver.restore(session,i[:-5])\r\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py\", line 1388, in restore\r\n    {self.saver_def.filename_tensor_name: save_path})\r\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py\", line 766, in run\r\n    run_metadata_ptr)\r\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py\", line 964, in _run\r\n    feed_dict_string, options, run_metadata)\r\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py\", line 1014, in _do_run\r\n    target_list, options, run_metadata)\r\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py\", line 1034, in _do_call\r\n    raise type(e)(node_def, op, message)\r\ntensorflow.python.framework.errors_impl.NotFoundError: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model_epoch0_128_0.100_[200].ckpt-577569\r\n\t [[Node: save/RestoreV2_12 = RestoreV2[dtypes=[DT_FLOAT], _device=\"/job:localhost/replica:0/task:0/cpu:0\"](_recv_save/Const_0, save/RestoreV2_12/tensor_names, save/RestoreV2_12/shape_and_slices)]]\r\n\t [[Node: save/RestoreV2_7/_11 = _Recv[client_terminated=false, recv_device=\"/job:localhost/replica:0/task:0/gpu:0\", send_device=\"/job:localhost/replica:0/task:0/cpu:0\", send_device_incarnation=1, tensor_name=\"edge_4_save/RestoreV2_7\", tensor_type=DT_FLOAT, _device=\"/job:localhost/replica:0/task:0/gpu:0\"]()]]\r\n\r\nCaused by op u'save/RestoreV2_12', defined at:\r\n  File \"validate.py\", line 163, in <module>\r\n    tf.app.run()\r\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py\", line 43, in run\r\n    sys.exit(main(sys.argv[:1] + flags_passthrough))\r\n  File \"validate.py\", line 148, in main\r\n    model = cnnW2v(opts, session)\r\n  File \"/nobackup/s1/nlip/hejunqing/tf-lstm-char-cnn-gpu/cnn_w2v.py\", line 152, in __init__\r\n    self.build_graph()\r\n  File \"/nobackup/s1/nlip/hejunqing/tf-lstm-char-cnn-gpu/cnn_w2v.py\", line 206, in build_graph\r\n    self.saver = tf.train.Saver()\r\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py\", line 1000, in __init__\r\n    self.build()\r\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py\", line 1030, in build\r\n    restore_sequentially=self._restore_sequentially)\r\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py\", line 624, in build\r\n    restore_sequentially, reshape)\r\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py\", line 361, in _AddRestoreOps\r\n    tensors = self.restore_op(filename_tensor, saveable, preferred_shard)\r\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py\", line 200, in restore_op\r\n    [spec.tensor.dtype])[0])\r\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/gen_io_ops.py\", line 441, in restore_v2\r\n    dtypes=dtypes, name=name)\r\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/op_def_library.py\", line 759, in apply_op\r\n    op_def=op_def)\r\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py\", line 2240, in create_op\r\n    original_op=self._default_original_op, op_def=op_def)\r\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py\", line 1128, in __init__\r\n    self._traceback = _extract_stack()\r\n\r\nNotFoundError (see above for traceback): Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model_epoch0_128_0.100_[200].ckpt-577569\r\n\t [[Node: save/RestoreV2_12 = RestoreV2[dtypes=[DT_FLOAT], _device=\"/job:localhost/replica:0/task:0/cpu:0\"](_recv_save/Const_0, save/RestoreV2_12/tensor_names, save/RestoreV2_12/shape_and_slices)]]\r\n\t [[Node: save/RestoreV2_7/_11 = _Recv[client_terminated=false, recv_device=\"/job:localhost/replica:0/task:0/gpu:0\", send_device=\"/job:localhost/replica:0/task:0/cpu:0\", send_device_incarnation=1, tensor_name=\"edge_4_save/RestoreV2_7\", tensor_type=DT_FLOAT, _device=\"/job:localhost/replica:0/task:0/gpu:0\"]()]\r\n\r\nversion:\r\n0.12.0-rc0 \r\n\r\nThe model is in the directory,\r\nHere are the models in the directory:\r\nmodel_epoch0_128_0.100_[200].ckpt-577569.meta\r\nmodel_epoch1_128_0.100_[200].ckpt-1155138.meta\r\nmodel_epoch2_128_0.100_[200].ckpt-1732707.meta\r\nmodel_epoch3_128_0.100_[200].ckpt-2310276.meta\r\nmodel_epoch4_128_0.100_[200].ckpt-2887845.meta\r\nmodel_epoch0_128_0.100_[200].ckpt-577569.index\r\nmodel_epoch1_128_0.100_[200].ckpt-1155138.index\r\nmodel_epoch0_128_0.100_[200].ckpt-577569.data-00000-of-00001\r\nmodel_epoch1_128_0.100_[200].ckpt-1155138.data-00000-of-00001\r\nmodel_epoch2_128_0.100_[200].ckpt-1732707.data-00000-of-00001\r\nmodel_epoch2_128_0.100_[200].ckpt-1732707.index\r\nmodel_epoch3_128_0.100_[200].ckpt-2310276.data-00000-of-00001\r\nmodel_epoch3_128_0.100_[200].ckpt-2310276.index\r\nmodel_epoch4_128_0.100_[200].ckpt-2887845.data-00000-of-00001\r\nmodel_epoch4_128_0.100_[200].ckpt-2887845.index\r\nmodel_epoch5_128_0.100_[200].ckpt-3465414.data-00000-of-00001\r\nmodel_epoch5_128_0.100_[200].ckpt-3465414.index\r\nmodel_epoch5_128_0.100_[200].ckpt-3465414.meta\r\nmodel_epoch6_128_0.100_[200].ckpt-4042983.data-00000-of-00001\r\nmodel_epoch6_128_0.100_[200].ckpt-4042983.index\r\nmodel_epoch6_128_0.100_[200].ckpt-4042983.meta\r\nmodel_epoch7_128_0.100_[200].ckpt-4620552.data-00000-of-00001\r\nmodel_epoch7_128_0.100_[200].ckpt-4620552.index\r\nmodel_epoch7_128_0.100_[200].ckpt-4620552.meta\r\nmodel_epoch8_128_0.100_[200].ckpt-5198121.data-00000-of-00001\r\nmodel_epoch8_128_0.100_[200].ckpt-5198121.index\r\nmodel_epoch8_128_0.100_[200].ckpt-5198121.meta\r\nmodel_epoch9_128_0.100_[200].ckpt-5775690.data-00000-of-00001\r\nmodel_epoch9_128_0.100_[200].ckpt-5775690.index\r\nmodel_epoch9_128_0.100_[200].ckpt-5775690.meta\r\nmodel_epoch10_128_0.100_[200].ckpt-6353259.data-00000-of-00001\r\nmodel_epoch10_128_0.100_[200].ckpt-6353259.index\r\nmodel_epoch10_128_0.100_[200].ckpt-6353259.meta\r\nmodel_epoch11_128_0.100_[200].ckpt-6930828.data-00000-of-00001\r\nmodel_epoch11_128_0.100_[200].ckpt-6930828.index\r\nmodel_epoch11_128_0.100_[200].ckpt-6930828.meta\r\nmodel_epoch12_128_0.100_[200].ckpt-7508397.data-00000-of-00001\r\nmodel_epoch12_128_0.100_[200].ckpt-7508397.index\r\nmodel_epoch12_128_0.100_[200].ckpt-7508397.meta\r\nmodel_epoch13_128_0.100_[200].ckpt-8085966.data-00000-of-00001\r\nmodel_epoch13_128_0.100_[200].ckpt-8085966.index\r\nmodel_epoch13_128_0.100_[200].ckpt-8085966.meta\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments/264796408","html_url":"https://github.com/tensorflow/tensorflow/issues/6082#issuecomment-264796408","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/6082","id":264796408,"user":{"login":"hejunqing","id":5152663,"avatar_url":"https://avatars.githubusercontent.com/u/5152663?v=3","gravatar_id":"","url":"https://api.github.com/users/hejunqing","html_url":"https://github.com/hejunqing","followers_url":"https://api.github.com/users/hejunqing/followers","following_url":"https://api.github.com/users/hejunqing/following{/other_user}","gists_url":"https://api.github.com/users/hejunqing/gists{/gist_id}","starred_url":"https://api.github.com/users/hejunqing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hejunqing/subscriptions","organizations_url":"https://api.github.com/users/hejunqing/orgs","repos_url":"https://api.github.com/users/hejunqing/repos","events_url":"https://api.github.com/users/hejunqing/events{/privacy}","received_events_url":"https://api.github.com/users/hejunqing/received_events","type":"User","site_admin":false},"created_at":"2016-12-05T08:43:18Z","updated_at":"2016-12-05T08:43:18Z","body":"also the same error using import_meta_graph"}}
{"actor":{"display_login":"hejunqing"}}