Created
January 3, 2018 18:52
-
-
Save anonymous/60995691472150193fed0172e2e27b10 to your computer and use it in GitHub Desktop.
Tensorflow Error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/anaconda3/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: compiletime version 3.5 of module 'tensorflow.python.framework.fast_tensor_util' does not match runtime version 3.6 | |
return f(*args, **kwds) | |
2018-01-03 10:49:14.145285: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations. | |
2018-01-03 10:49:14.145335: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations. | |
2018-01-03 10:49:14.145356: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations. | |
Restoring model from logdir/train/2018-01-03T09-18-15/model.ckpt-0.index | |
Traceback (most recent call last): | |
File "/anaconda3/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1039, in _do_call | |
return fn(*args) | |
File "/anaconda3/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1021, in _run_fn | |
status, run_metadata) | |
File "/anaconda3/lib/python3.6/contextlib.py", line 88, in __exit__ | |
next(self.gen) | |
File "/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/errors_impl.py", line 466, in raise_exception_on_not_ok_status | |
pywrap_tensorflow.TF_GetCode(status)) | |
tensorflow.python.framework.errors_impl.NotFoundError: Tensor name "wavenet/dilated_stack/layer22/skip" not found in checkpoint files logdir/train/2018-01-03T09-18-15/model.ckpt-0.index | |
[[Node: save/RestoreV2_128 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_save/Const_0, save/RestoreV2_128/tensor_names, save/RestoreV2_128/shape_and_slices)]] | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "generate.py", line 279, in <module> | |
main() | |
File "generate.py", line 175, in main | |
saver.restore(sess, args.checkpoint) | |
File "/anaconda3/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 1457, in restore | |
{self.saver_def.filename_tensor_name: save_path}) | |
File "/anaconda3/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 778, in run | |
run_metadata_ptr) | |
File "/anaconda3/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 982, in _run | |
feed_dict_string, options, run_metadata) | |
File "/anaconda3/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1032, in _do_run | |
target_list, options, run_metadata) | |
File "/anaconda3/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1052, in _do_call | |
raise type(e)(node_def, op, message) | |
tensorflow.python.framework.errors_impl.NotFoundError: Tensor name "wavenet/dilated_stack/layer22/skip" not found in checkpoint files logdir/train/2018-01-03T09-18-15/model.ckpt-0.index | |
[[Node: save/RestoreV2_128 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_save/Const_0, save/RestoreV2_128/tensor_names, save/RestoreV2_128/shape_and_slices)]] | |
Caused by op 'save/RestoreV2_128', defined at: | |
File "generate.py", line 279, in <module> | |
main() | |
File "generate.py", line 172, in main | |
saver = tf.train.Saver(variables_to_restore) | |
File "/anaconda3/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 1056, in __init__ | |
self.build() | |
File "/anaconda3/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 1086, in build | |
restore_sequentially=self._restore_sequentially) | |
File "/anaconda3/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 691, in build | |
restore_sequentially, reshape) | |
File "/anaconda3/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 407, in _AddRestoreOps | |
tensors = self.restore_op(filename_tensor, saveable, preferred_shard) | |
File "/anaconda3/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 247, in restore_op | |
[spec.tensor.dtype])[0]) | |
File "/anaconda3/lib/python3.6/site-packages/tensorflow/python/ops/gen_io_ops.py", line 669, in restore_v2 | |
dtypes=dtypes, name=name) | |
File "/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/op_def_library.py", line 768, in apply_op | |
op_def=op_def) | |
File "/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 2336, in create_op | |
original_op=self._default_original_op, op_def=op_def) | |
File "/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 1228, in __init__ | |
self._traceback = _extract_stack() | |
NotFoundError (see above for traceback): Tensor name "wavenet/dilated_stack/layer22/skip" not found in checkpoint files logdir/train/2018-01-03T09-18-15/model.ckpt-0.index | |
[[Node: save/RestoreV2_128 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_save/Const_0, save/RestoreV2_128/tensor_names, save/RestoreV2_128/shape_and_slices)]] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment