← 开源
JDAI-CV

DCL

Destruction and Construction Learning for Fine-grained Image Recognition

ModelsVision modelsPython
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
592
Star
156
Fork
+0
本周
0
贡献者
创建于 2019-04-03 · 更新于 2026-06-23 · 今日第 16417 名

JDAI-CV/DCL 排名第 16,417,有 592 个星标。

同类别比较

JDAI-CV/DCL 排名第 16,417,此处有 8 个同类条目;allenai/specter 排名第 16,410。

同类别比较
名称排名指标
sail-sg/MDT16,360
语言:
Python
星标数:
597
分叉数:
42
简介:
Masked Diffusion Transformer is the SOTA for image synthesis. (ICCV 2023)
wimmerth/anyup16,394
语言:
Jupyter Notebook
星标数:
595
分叉数:
39
简介:
[ICLR '26 Oral] Official repository of the paper "AnyUp: Universal Feature Upsampling".
yoxu515/aot-benchmark16,395
语言:
Python
星标数:
595
分叉数:
101
简介:
An efficient modular implementation of Associating Objects with Transformers for Video Object Segmentation in PyTorch
allenai/specter16,410
语言:
Python
星标数:
593
分叉数:
58
简介:
SPECTER: Document-level Representation Learning using Citation-informed Transformers
IDKiro/DehazeFormer16,431
语言:
Python
星标数:
591
分叉数:
65
简介:
Vision Transformers for Single Image Dehazing
TencentARC/ToonComposer16,434
语言:
Python
星标数:
591
分叉数:
63
简介:
[ICLR 2026] Streamlining Cartoon Production with Generative Post-Keyframing
fe1ixxu/ALMA16,438
语言:
Ruby
星标数:
591
分叉数:
44
简介:
State-of-the-art LLM-based translation models.
wzzheng/OccWorld16,447
语言:
Python
星标数:
591
分叉数:
44
简介:
[ECCV 2024] 3D World Model for Autonomous Driving
关键参数与规格
关键参数与规格
参数值
语言Python
类别Models
子类别Vision models
关键词Datasets, Model architecture
星标数592
分叉数156
贡献者0
创建日期2019-04-03
更新日期2026-06-23
1 天星标数0
7 天星标数0
排名16,417
上次排名16,208
排名变化-209
7 天星标排名15,522
上次 7 天星标排名15,532
7 天星标排名变化10
总星标排名16,945
上次总星标排名16,922
总星标排名变化-23
国家China
README 摘录

Destruction and Construction Learning for Fine-grained Image Recognition By Yue Chen, Yalong Bai, Wei Zhang, Tao Mei Special thanks to Yuanzhi Liang for code refactoring. 10, 2020 **First Place** in CVPR 2020 AliProducts Challenge: Large-scale Product Recognition UPDATE Jun. 21, 2019 Our solution for the FGVC Challenge 2019 (The Sixth Workshop on Fine-Grained Visual Categorization in CVPR 2019) is updated! With ensemble of several DCL based classification models, we won: **First Place** in iMaterialist Challenge on Product

Recognition **First Place** in Fieldguide Challenge: Moths & Butterflies **Second Place** in iFood - 2019 at FGVC6 Introduction This project is a DCL pytorch implementation of *Destruction and Construction Learning for Fine-grained Image Recognition*, CVPR2019. 0 or higher For docker environment: For conda environment: For more backbone supports in DCL, please check pretrainmodels and install: Datasets Prepare 1. Download correspond dataset to folder 'datasets' 2. CUB Some examples of datasets like CUB, Stanford Car, etc. You can use DCL to your

datasets by simply converting annotations to train. txt and modify the class number in as in line67: numcls=200. For training CUB / STCAR / AIR from scratch For training CUB / STCAR / AIR from trained checkpoint For training FGVC product datasets from scratch For training FGVC datasets from trained checkpoint To achieve the similar results of paper, please use the default parameter settings. Citation Please cite our CVPR19 paper if you use this codebase in your work: Find our more recent work

: Look-into-Object: Self-supervised Structure Modeling for Object Recognition.

常见问题

记录了多少星标和分叉?

JDAI-CV/DCL 有 592 个星标和 156 个分叉。

仓库排名是多少?

JDAI-CV/DCL 排名第 16,417。

记录的语言和类别是什么?

JDAI-CV/DCL 有 592 个星标,语言为 Python,类别为 Models。

哪个仓库排名最接近?

JDAI-CV/DCL 与 allenai/specter 比较,后者排名第 16,410,有 593 个星标。

README

Destruction and Construction Learning for Fine-grained Image Recognition

By Yue Chen, Yalong Bai, Wei Zhang, Tao Mei

Special thanks to Yuanzhi Liang for code refactoring.

UPDATE Jun. 10, 2020

! Research Intern Position Opening. Please send your cv to baiyalong[AT]jd.com if you are interested.

UPDATE Jun. 21, 2019

Our solution for the FGVC Challenge 2019 (The Sixth Workshop on Fine-Grained Visual Categorization in CVPR 2019) is updated!

With ensemble of several DCL based classification models, we won:

Introduction

This project is a DCL pytorch implementation of Destruction and Construction Learning for Fine-grained Image Recognition, CVPR2019.

Requirements

  1. Python 3.6

  2. Pytorch 0.4.0 or 0.4.1

  3. CUDA 8.0 or higher

For docker environment:

docker pull pytorch/pytorch:0.4-cuda9-cudnn7-devel

For conda environment:

conda create --name DCL file conda_list.txt

For more backbone supports in DCL, please check pretrainmodels and install:

pip install pretrainedmodels

Datasets Prepare

  1. Download correspond dataset to folder 'datasets'

  2. Data organization: eg. CUB

    All the image data are in './datasets/CUB/data/' e.g. './datasets/CUB/data/*.jpg'

    The annotation files are in './datasets/CUB/anno/' e.g. './dataset/CUB/data/train.txt'

    In annotations:

    name_of_image.jpg label_num\n
    

    e.g. for CUB in repository:

    Black_Footed_Albatross_0009_34.jpg 0
    Black_Footed_Albatross_0014_89.jpg 0
    Laysan_Albatross_0044_784.jpg 1
    Sooty_Albatross_0021_796339.jpg 2
    ...
    

Some examples of datasets like CUB, Stanford Car, etc. are already given in our repository. You can use DCL to your datasets by simply converting annotations to train.txt/val.txt/test.txt and modify the class number in config.py as in line67: numcls=200.

Training

Run train.py to train DCL.

For training CUB / STCAR / AIR from scratch

python train.py --data CUB --epoch 360 --backbone resnet50 \
                    --tb 16 --tnw 16 --vb 512 --vnw 16 \
                    --lr 0.0008 --lr_step 60 \
                    --cls_lr_ratio 10 --start_epoch 0 \
                    --detail training_descibe --size 512 \
                    --crop 448 --cls_mul --swap_num 7 7

For training CUB / STCAR / AIR from trained checkpoint

python train.py --data CUB --epoch 360 --backbone resnet50 \
                    --tb 16 --tnw 16 --vb 512 --vnw 16 \
                    --lr 0.0008 --lr_step 60 \
                    --cls_lr_ratio 10 --start_epoch $LAST_EPOCH \
                    --detail training_descibe4checkpoint --size 512 \
                    --crop 448 --cls_mul --swap_num 7 7

For training FGVC product datasets from scratch

 python train.py --data product --epoch 60 --backbone senet154 \
                    --tb 96 --tnw 32 --vb 512 --vnw 32 \
                    --lr 0.01 --lr_step 12 \
                    --cls_lr_ratio 10 --start_epoch 0 \
                    --detail training_descibe --size 512 \
                    --crop 448 --cls_2 --swap_num 7 7

For training FGVC datasets from trained checkpoint

 python train.py --data product --epoch 60 --backbone senet154 \
                    --tb 96 --tnw 32 --vb 512 --vnw 32 \
                    --lr 0.01 --lr_step 12 \
                    --cls_lr_ratio 10 --start_epoch $LAST_EPOCH \
                    --detail training_descibe4checkpoint --size 512 \
                    --crop 448 --cls_2 --swap_num 7 7

To achieve the similar results of paper, please use the default parameter settings.

Citation

Please cite our CVPR19 paper if you use this codebase in your work:

@InProceedings{Chen_2019_CVPR,
author = {Chen, Yue and Bai, Yalong and Zhang, Wei and Mei, Tao},
title = {Destruction and Construction Learning for Fine-Grained Image Recognition},
booktitle = {The IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},
month = {June},
year = {2019}
}

Find our more recent work:

Look-into-Object: Self-supervised Structure Modeling for Object Recognition. CVPR2020 [pdf, Source Code]

排名相邻
同类项目