Skip to content

Instantly share code, notes, and snippets.

View jonoulton's full-sized avatar
🙂
Happy

Jon Oulton jonoulton

🙂
Happy
View GitHub Profile
@jonoulton
jonoulton / mnist.py
Created December 2, 2018 22:53 — forked from akesling/mnist.py
import os
import struct
import numpy as np
"""
Loosely inspired by http://abel.ee.ucla.edu/cvxopt/_downloads/mnist.py
which is GPL licensed.
"""
def read(dataset = "training", path = "."):