zjutzz

Download mnist dataset and extract in 1 second!

For Caffe users: create $CAFFE/data/mnist/get_mnist_fast.sh:

#!/usr/bin/env sh
# This scripts downloads the mnist data and unzips it.

DIR="$( cd "$(dirname "$0")" ; pwd -P )"
cd "$DIR"

echo "Downloading..."

wget https://gitee.com/aczz/mnist/repository/archive/master.zip
unzip master.zip

for fname in train-images-idx3-ubyte train-labels-idx1-ubyte t10k-images-idx3-ubyte t10k-labels-idx1-ubyte
do
    gunzip mnist/${fname}.gz
    mv mnist/${fname} ./
done

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-16
  • 2022-01-09
  • 2022-12-23
  • 2022-02-07
  • 2022-12-23
  • 2021-06-04
猜你喜欢
  • 2022-02-26
  • 2022-12-23
  • 2022-12-23
  • 2021-11-27
  • 2021-10-22
  • 2021-11-06
  • 2022-12-23
相关资源
相似解决方案