Skip to content
This repository has been archived by the owner on Dec 1, 2021. It is now read-only.

Commit

Permalink
update download for sk model so catches any exception
Browse files Browse the repository at this point in the history
  • Loading branch information
ukclivecox committed Nov 5, 2018
1 parent ec4a2da commit 355dd23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/sk_mnist/train/create_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
if __name__ == '__main__':
try:
mnist = fetch_mldata('MNIST original')
except urllib.error.HTTPError as ex:
except:
print("Could not download MNIST data from mldata.org, trying alternative...")

# Alternative method to load MNIST, if mldata.org is down
Expand Down

0 comments on commit 355dd23

Please sign in to comment.