tensorflow-resnet icon indicating copy to clipboard operation
tensorflow-resnet copied to clipboard

cannot load .ckpt file

Open xashru opened this issue 9 years ago • 3 comments

I have been trying to run your forward.py code. But I get the following error message W tensorflow/core/framework/op_kernel.cc:975] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for ResNet-L50.ckpt in

"forward.py", line 11, in <module> new_saver.restore(sess, checkpoint_fn(layers))

How can I solve this issue? I am using tensorflow .10 with python 2.7

xashru avatar Jan 25 '17 08:01 xashru

Do you have this checkpoint file?

raymondchua avatar Jan 26 '17 09:01 raymondchua

its fixed. I had to use './ResNet-L%d.ckpt' instead of 'ResNet-L%d.ckpt' in meta_fn(layers): function.

xashru avatar Jan 29 '17 05:01 xashru

This is https://github.com/tensorflow/tensorflow/issues/6893.

ppwwyyxx avatar Jan 29 '17 06:01 ppwwyyxx