Skip to main content

Timeline for answer to How to read MNIST data in C++? by mrgloom

Current License: CC BY-SA 3.0

Post Revisions

3 events
when toggle format what by license comment
Jun 22, 2020 at 8:13 comment added Niklas Hantke u're missing ios::binary in ifstream file() as the second argument. For me it doesn't work otherwise.
Dec 9, 2014 at 18:22 comment added Charles Staats Note to save others from duplicating my silly mistake: although the filenames in this answer have a ".gz" extension, it is, in fact, necessary that the files be uncompressed before they are used. (There is a comment on the original website that could be interpreted to suggest otherwise.) If the first four bytes of the file are 0x1f8b0808 instead of 0x00000801 or 0x00000803, that means the file has not been uncompressed.
May 2, 2012 at 7:22 history answered mrgloom CC BY-SA 3.0