mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-09-01 04:14:38 +08:00
Use stable url for MNIST (#749)
* use stable url * remove deprecated flag
This commit is contained in:
@@ -9,7 +9,9 @@ import numpy as np
|
||||
|
||||
|
||||
def mnist(
|
||||
save_dir="/tmp", base_url="http://yann.lecun.com/exdb/mnist/", filename="mnist.pkl"
|
||||
save_dir="/tmp",
|
||||
base_url="https://raw.githubusercontent.com/fgnt/mnist/master/",
|
||||
filename="mnist.pkl",
|
||||
):
|
||||
"""
|
||||
Load the MNIST dataset in 4 tensors: train images, train labels,
|
||||
|
Reference in New Issue
Block a user