When I canceled download mnist data from website, it will always pop error on loading datasets

31 views
Skip to first unread message

Xiang Wang

unread,
Oct 17, 2017, 2:26:12 AM10/17/17
to clojure-cortex
Hi all,

I canceled mnist dataset downloading process when running "lein run" command. But next time I run this command, it will always pop loading error - "Unexpected end of ZLIB input stream"

However, I did see where cortex saved the mnist dataset on my local machine. 
I think maybe just remove the truncked file it should work fine. 

So, would you guys tell me where the file is?

Thanks a lot.

Chris Nuernberger

unread,
Oct 17, 2017, 11:06:44 AM10/17/17
to clojure-cortex
~/.cortex on a unix system.  Not sure on a windows system.

Harold

unread,
Oct 17, 2017, 11:34:32 AM10/17/17
to clojure-cortex
Hi Shawn,

It sounds like the dataset on disk is not in good shape. Try deleting the folder ~/.cortex and run the tests again.

Here's the line of code that resolves the path, in case that helps:

Take care,
-Harold


On Tuesday, October 17, 2017 at 12:26:12 AM UTC-6, Shawn Wang wrote:

Shawn Wang

unread,
Oct 18, 2017, 2:54:14 AM10/18/17
to clojure-cortex
Got it, worked like a charm.

Shawn Wang

unread,
Oct 18, 2017, 2:55:04 AM10/18/17
to clojure-cortex
Thank you for your explanation.  I have worked it out.
Reply all
Reply to author
Forward
0 new messages