Git Product home page Git Product logo

dvfp's Introduction

Deep Learning for Fine-grained Visual Classification

Here we implement state-of-the-art techniques for fine-grained classification.

  1. Discriminative filter learning within CNN -- CVPR, June 2018
  2. Bilinear CNN -- ICCV, 2015

To this end, we authored a few notebooks that illustrate both techniques as well as other approaches:

  • Plain ResNet50, VGG19_bn.ipynb contain codes and description for our fine-tuned ResNet-50 and VGG-19 models.
  • dfl.ipynb outlines major components and implementation of the DFL architecture.
  • BilinearPooling with FastAI on Stenford Cars.ipynb contains a simple implementation of Bilinear CNN
  • ResNet34.ipynb contains a straightforward transfer learning approach using ResNet34.

Datasets:

Implemented using PyTorch. This work is done as part of the final project for Deep Vision, ST2019.

This work is also partly inspired by

To train a DFL model:

# clone this repo
git clone https://github.com/Physicist91/dvfp

# first edit the parameters (e.g. GPU number, batch_size) then execute run.sh
# to load our trained model, specify the path to weights in --resume
./run.sh

Stanford Cars is the primary dataset used in this project. CUB_200_2011 is used only for further comparison and testing. The final results are:

table

The weights can be downloaded from here. The poster for this project can be found below (note that the numbers/results have been updated -- refer to the table above).


poster

dvfp's People

Contributors

physicist91 avatar sipirius avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dvfp'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.