GithubHelp home page GithubHelp logo

youngminpil / autolr Goto Github PK

View Code? Open in Web Editor NEW
15.0 2.0 4.0 5.62 MB

AutoLR: Layer-wise Pruning and Auto-tuning of Learning Rates in Fine-tuning of Deep Networks

Python 100.00%
image-retrieval deep-metric-learning cub-200 cars-196 aaai2021 resnet-50

autolr's Introduction

AutoLR: Layer-wise Pruning and Auto-tuning of Learning Rates in Fine-tuning of Deep Networks

Official Pytorch implementation of paper:

AutoLR: Layer-wise Pruning and Auto-tuning of Learning Rates in Fine-tuning of Deep Networks (AAAI 2021).

Project page

Environment

Python 3.6, Pytorch 0.4.1, Torchvision, tensorboard

Train

Default setting:

  • Architecture: ResNet-50
  • Dataset: CUB2011 or Cars-196 retrieval
  • Batch size: 40
  • Image size: 224X224

prepare

The dataset path should be changed to your own path.

CUB2011-200 dataset are available on https://drive.google.com/file/d/1hbzc_P1FuxMkcabkgn9ZKinBwW683j45/view

Cars-196 dataset are available on https://ai.stanford.edu/~jkrause/cars/car_dataset.html

prepare_cub.py 

train network.

The dataset path(data_dir='/home/ro/FG/CUB_200_2011/pytorch') should be changed to your own path.

train_CUB.py --dataset CUB-200 --max_f 0.4 --min_f 2

In the case of Cars-196 retrieval dataset training,

train_CUB.py --dataset Cars-196 --max_f 0.4 --min_f 2

Citation

@inproceedings{ro2021autolr,
      title={AutoLR: Layer-wise Pruning and Auto-tuning of Learning Rates in Fine-tuning of Deep Networks}, 
      author={Youngmin Ro and Jin Young Choi},
      year={2021},
      eprint={2002.06048},
      archivePrefix={arXiv},
      primaryClass={cs.CV}
}

Youngmin Ro and Jin Young Choi, "AutoLR: Layer-wise Pruning and Auto-tuning of Learning Rates in Fine-tuning of Deep Networks", CoRR, 2020.

autolr's People

Contributors

youngminpil avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

autolr's Issues

Experiments Results

I tried the code you provided with default parameters for the CUB-200 dataset, but I didn't get results the same as those in the paper. In this paper, the Recall@1 Score using AutoLR method is 70.1%, but I only reached about 56%.

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.