Last active
October 3, 2021 00:21
-
-
Save Splines/cabf11ed84a91ec090ccd618aef111f5 to your computer and use it in GitHub Desktop.
Open the MNIST binary files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
from matplotlib import pyplot as plt | |
with open('./mnist/train-images.idx3-ubyte', 'rb') as images_file,\ | |
open('./mnist/train-labels.idx1-ubyte', 'rb') as labels_file: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment