Giter Site home page Giter Site logo

lufei-github / fine-grained-or-not Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pris-cv/fine-grained-or-not

0.0 0.0 0.0 14.8 MB

Code release for Your “Flamingo” is My “Bird”: Fine-Grained, or Not (CVPR 2021 Oral)

License: MIT License

Python 100.00%

fine-grained-or-not's Introduction

Fine-Grained-or-Not

Code release for Your “Flamingo” is My “Bird”: Fine-Grained, or Not (CVPR 2021 Oral) DOI

Changelog

  • 2021/03/05 upload the code.

Requirements

  • python 3.6
  • PyTorch 1.2.0
  • torchvision

Data

  • Download datasets
  • Extract them to data/cars/, data/birds/ and data/airs/, respectively.
  • Split the dataset into train and test folder, the index of each class should follow the Birds.xls, Air.xls, and Cars.xls
  • e.g., CUB-200-2011 dataset
  -/birds/train
	         └─── 001.Black_footed_Albatross
	                   └─── Black_Footed_Albatross_0001_796111.jpg
	                   └─── ...
	         └─── 002.Laysan_Albatross
	         └─── 003.Sooty_Albatross
	         └─── ...
   -/birds/test	
             └─── ...         

Training

  • python Birds_ours_resnet.py or python Air_ours_resnet.py or python Cars_ours_resnet.py

Citation

If you find this paper useful in your research, please consider citing:

@InProceedings{Chang2021Labrador,
  title={Your “Flamingo” is My “Bird”: Fine-Grained, or Not},
  author={Chang, Dongliang and Pang, Kaiyue and Zheng, Yixiao and Ma, Zhanyu and Song, Yi-Zhe and Guo, Jun},
  booktitle = {Computer Vision and Pattern Recognition},
  year={2021}
}

Contact

Thanks for your attention! If you have any suggestion or question, you can leave a message here or contact us directly:

fine-grained-or-not's People

Contributors

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