Coder Social home page Coder Social logo

onmixup's Introduction

NeurIPS 2019 Reproducibility Project

Paper reproduced: pdf

Getting Started

Pre-requisite

Install NVIDIA Docker

Building & Running the docker image

  1. nvidia-docker build --rm --tag on_mixup:latest .
  2. nvidia-docker run -p 8000:8000 -v $PATH/TO/PROJECT_DIR:/home/on_mixup --rm --name on_mixup -it on_mixup:latest

Generating The Density Plots

Firstly, start the jupyter notebook

jupyter notebook --ip=0.0.0.0 --port=8000 --allow-root --NotebookApp.token='' --NotebookApp.password=''

There are two notebooks corrsponding to scenarios of Mixup and no Mixup. Details on how to run them are provided in the notebooks itself.

Training

There are files named:

  1. cifar.py
  2. fmnist.py
  3. stl_10.py

To the train the neural network on the particular dataset execute the corresponding script, for example, python cifar.py

Evaluation

evaluation.py takes as an argument a config.yaml file. Sample configs are in the eval_config folder. To run an evaluation on the dataset, execute the following command python evaluation.py --config eval_config/cifar.yaml The fields of the config are self explanatory.

onmixup's People

Contributors

paganpasta avatar

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.