H-xie / MNIST2TFRecord

This is a simple way to convert original mnist to TFRecord for a geater effective.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MNIST2TFRecord

This is a simple way to convert original mnist to TFRecord for a geater effective.

Preparation

Some packages is need

pip3 install tensorflow numpy opencv-python progressbar

Usage

  1. Need to download and unzip mnist by
python3 download_data.py
  1. Run the script to generate tfrecord.
python3 mnist2tfrecord.py

This contains several default options. -h will show all infomation.

Reference

About

This is a simple way to convert original mnist to TFRecord for a geater effective.

License:MIT License


Languages

Language:Python 100.0%