Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pris-cv/fine-grained-or-not
Code release for Your “Flamingo” is My “Bird”: Fine-Grained, or Not (CVPR 2021 Oral)
https://github.com/pris-cv/fine-grained-or-not
fine-grained fine-grained-classification fine-grained-visual-categorization hierarchy-analysis multi-task-learning
Last synced: 2 months ago
JSON representation
Code release for Your “Flamingo” is My “Bird”: Fine-Grained, or Not (CVPR 2021 Oral)
- Host: GitHub
- URL: https://github.com/pris-cv/fine-grained-or-not
- Owner: PRIS-CV
- License: mit
- Created: 2021-03-05T00:49:33.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-09-27T13:56:52.000Z (over 1 year ago)
- Last Synced: 2024-04-28T02:02:30.842Z (9 months ago)
- Topics: fine-grained, fine-grained-classification, fine-grained-visual-categorization, hierarchy-analysis, multi-task-learning
- Language: Python
- Homepage:
- Size: 14.5 MB
- Stars: 56
- Watchers: 4
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fine-Grained-or-Not
Code release for Your “Flamingo” is My “Bird”: Fine-Grained, or Not (CVPR 2021 Oral)
[DOI](https://arxiv.org/abs/2011.09040 "arxiv")## 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:
- [email protected]
- [email protected]