Giter Site home page Giter Site logo

limeng95 / pytorch_feedback-network Goto Github PK

View Code? Open in Web Editor NEW
27.0 0.0 6.0 13 KB

This is a pytorch implementation of Feedback-Network (CVPR 2017, Zamir et al.)

Home Page: http://feedbacknet.stanford.edu/

Python 100.00%
pytorch-implmention pytorch feedback-networks

pytorch_feedback-network's Introduction

PAPER

This is a pytorch implementation of Feedback-Network (CVPR 2017, Zamir et al.)

Requirements

  • Pytorch = 0.3.1
  • python = 2.7
  • numpy >= 1.14.2

Train

  • Data:

    • Download CIFAR100 dataset (binary file), and put it under folder ./data/
  • Run:

    • Run classifier_train.py
    python FeedbackNet_train.py
    • The trained model will saved in folder ./models/ every 10 epochs。
    • Attention:
      • You can adjust the parameter batch_size to fit your GPU memory。

Evaluation

  • Data:

    • Download CIFAR100 dataset (binary file), and put it under folder ./data/
  • Evaluate on CIFAR100 dataset:

    • Put the checkpoint files under folder ./models/, and specify the checkpoints file path by setting parameter params.ckpt in file classifier_train.py. You can download my baseline model here
    • Run classifier_train.py
    python FeedbackNet_test.py

Result

  • Val Accuracy
Physical / Virtual Depth PAPER(tp1) PAPER(tp5) ME(tp1) ME(tp5)
12 / 48 (stack-3;iteration=4) 71.12% 91.51% 70.92% 92.02%

To Do

  • Skip connections
  • Multi-GPU
  • Other virtual depths

Reference

pytorch_feedback-network's People

Contributors

limeng95 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.