Closed toasteez closed 7 years ago
I recommend you provide an ubuntu virtual machine image link(not docker), rather than trying to get this code running on every machine.
I have the same issue. I am currently using windows10 and jupyter notebooks. To solve this problem, is it necessary to use in a virtual environment?
You may try absolute path, for example:
"C:\\Users\\YourName\\Documents\\spikes.ckpt"
I got a similar problem in "Ch 02: Concept 07", couldn't load the variables until I used the full path:
try: ... saver.restore(sess, 'spikes.ckpt') ... print(spikes.eval()) ... except: ... print('file not found') ... W tensorflow/core/framework/op_kernel.cc:975] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for spikes.ckpt file not found try: ... saver.restore(sess, os.path.abspath('spikes.ckpt')) ... print(spikes.eval()) ... except: ... print('file not found') ... [False False True False False True False True]
Interesting. Have you tried running restore
on ".spikes.ckpt"? It seems to work with the prefixed "."
change the path to be exactly directory. For example: checkpoint_name = "C:\Users\Minkun\Desktop\VTIS_Project\model.ckpt" note that you used '\' instead ''
When running the following code from code:
I receive an error.
I am running on Windows 7 in conda virtual environment and Jupyter.