Code Monkey home page Code Monkey logo

lotterytickethypothesis's Introduction

Replicating the experiments of "The lottery ticket hypothesis"

This repository contains the implementation to replicate the experiments "Lottery Ticket Hypothesis". The detail explanation of the concepts are described in this site

References

THE LOTTERY TICKET HYPOTHESIS: FINDING SPARSE, TRAINABLE NEURAL NETWORK

Requirements

pip install -r requirements.txt

Experiments

Dataset

Cifar-10

Network

VGG-based 6 Convolutional Netowrok and 2 Full Connected Network.The trained model reached 84.82% accuracy on testing set. Detail parameter configs and performance described in [to be linked!].

Accuracy of initial weighted pruned model.

11.60% accuracy with original data, on the other hand, a pruned accuracy reached 19.10%. However it is found that even not so much rate of pruning can decrease accuracy. Detail result described in [to be linked!].

Retrained result

T.B.C

How to use

Check performance of original network

In root directory of this repository,

python experiments\original_perfoemance\original_performance.py

Check the accuracy of initial weighted model with different pruning rate

In root directory of this repository,

python experiments\original_perfoemance\original_performance.py

Check the accuracy of retrained model with different pruning rate

In root directory of this repository,

python experiments\original_perfoemance\retrain.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.