Skip to content

Commit b11633b

Browse files
authored
Fixed a typo (maybe?) in the path of spikes.ckpt
A ValueError will be raised if we don't have './' in front of the file (at least on MacOS), saying: ValueError: Parent directory of spikes.ckpt doesn't exist, can't save.
1 parent 7b47343 commit b11633b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ch02_basics/Concept06_saving_variables.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
}
128128
],
129129
"source": [
130-
"save_path = saver.save(sess, \"spikes.ckpt\")\n",
130+
"save_path = saver.save(sess, \"./spikes.ckpt\")\n",
131131
"print(\"spikes data saved in file: %s\" % save_path)"
132132
]
133133
},

0 commit comments

Comments
 (0)