Giter Club home page Giter Club logo

mathmnist's Introduction

Math Mnist

Requirements

Recommend using python3 and a virtual env.

conda create -n myenv python=3.6
source activate myenv
pip install -r requirements.txt

Task

Given kaggle handwritten math symbols dataset prepare data for future analysis.

Download the dataset

We will used the handwritten math symbols dataset from kaggle. Download it here.

Here is the raw structure of the data:

extracted_images/
    log/
        filename.jpg
        ...
    sigma/
        filename.jpg
        ...

The dataset contains 375974 images belonging to 82 labels.

Once the download is complete, move the dataset into MathMnist/data:

mv path/to/extracted_images/ path/to/MathMnist/data/

Run the script build_dataset.py which will resize the images to size (28, 28). The new resized dataset will be located by default in data_split:

python build_dataset.py

Todo

  • build_dataset.py seems to be so slow, make code more efficient
  • probably bug in test/val split
  • make better train.py

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.