Commit 47443458 authored by Manuel Günther's avatar Manuel Günther
Browse files

Download directory is now created if it does not exist.

parent 80acf563
......@@ -77,6 +77,9 @@ class Database():
if directory is None:
directory = tempfile.mkdtemp(prefix='mnist_db')
elif not os.path.exists(directory):
print("Downloading the mnist database from ...")
for f in self.m_mnist_filenames:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment