Skip to content

Instantly share code, notes, and snippets.

@Splines
Last active October 3, 2021 00:21
Show Gist options
  • Save Splines/cabf11ed84a91ec090ccd618aef111f5 to your computer and use it in GitHub Desktop.
Save Splines/cabf11ed84a91ec090ccd618aef111f5 to your computer and use it in GitHub Desktop.

Revisions

  1. Splines revised this gist Oct 3, 2021. No changes.
  2. Splines created this gist Oct 3, 2021.
    5 changes: 5 additions & 0 deletions mnist.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    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: