Giter VIP home page Giter VIP logo

cs3612finalproject's Introduction

CS3612FinalProject

Image Classification on MNIST

Before training, the scripts will first download datasets to a dataset folder. For image classification, train with

bash train_mnist.sh

And evaluate the model with best checkpoint with this script:

bash visualize_mnist.sh

This script will generate visualization results in images folder and corresponding information on test set. mnist_feature_map%d_%s.png represents the feature map on %d layer with %s visualization method. For example, mnist_feature_map3_tsne.png is the result of feature map of the third layer with t-SNE visualization method. mnist-train-loss-acc.png represents the change of loss and accuracy on training set.

Image Generation on FashionMNIST

Train with the following script:

bash train_fashion_mnish.sh

And evaluate the model with best checkpoint with this script:

bash visualize_vae.sh

This script will generate visualization results in images folder. vae-image1/2.png are randomly generated images with two arbitrary Gaussian noise. vae-%.2f-merge.png is the image generated with interpolation.

Sentiment Analysis on SST-2

Train with the following script:

bash train_sst2.sh

And evaluate the model with best checkpoint with this script:

bash visualize_sst2.sh

This script will generate visualization results in images folder. sst2_feature_map%d_%s.png represents the feature map on %d layer with %s visualization method. sst2-%s-loss-acc.png represents the loss and accuracy change figure either in training set or in validation set.

cs3612finalproject's People

Contributors

pixas avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

cs3612finalproject's Issues

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.