Skip to content

DanielaPlusPlus/LGCOAMix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LGCOAMix

LGCOAMix: Local and Global Context-and-Object-part-Aware Superpixel-based Data Augmentation for Deep Visual Recognition

image

The source pytorch codes and some trained models are available here.

we propose LGCOAMix, an efficient local and global context-and-object-part-aware superpixel-based grid mixing data augmentation with cut-and-paste strategy and a training framework for Deep Visual Recognition. The motivation is to improve deep encoder learning through image data augmentation.

(1) We discuss the potential shortcomings of existing cutmix-based data augmentation methods for image classification.

(2) We propose an efficient object part-aware superpixel-based grid mixing method for data augmentation. Unlike existing cutmix-based data augmentation methods, we propose for the first time a superpixel-attention-based semantic label mixing strategy that efficiently requires only a single forward propagation, does not require pre-trained modules, and performs label mixing based on attention without destroying the augmentation diversification.

(3) We propose a novel framework for training a strong classifier that is context and object oriented as well as efficient. To the best of our knowledge, this is the first instance of learning local features from discriminative superpixel regions and cross-image local superpixel contrasts.

(4) We present extensive evaluations of LGCOAMix on several benchmarks and backbone encoders. These evaluations show that LGCOAMix outperforms existing cutmix-based methods for data augmentation.

Some trained models:

LGCOAMix + DeiT-B/16 + CUB200-2011 + Acc. 82.20%(Link:https://pan.baidu.com/s/1NZ314mXwKnIyzRJMHSxV3Q Extracted code:fkg3)

LGCOAMix + ResNet50 + Stanford Dogs + Acc. 70.95%(Link:https://pan.baidu.com/s/1vLXVaSefIKtE-RFZG-vceg Extracted code:o5dr)

LGCOAMix + ResNet50 + CIFAR100 + Acc. 83.92%(Link:https://pan.baidu.com/s/1B5cxhvBcJgiH93Lr5oroRw Extracted code:qaz1)

The top.1 accuracy for classification:

MethodDatasetResNet18ResNeXt50
OcCaMixTinyImageNet67.35%72.23%
OcCaMixCUB200-201178.40%83.69%
LGCOAMixTinyImageNet68.27%73.08%
LGCOAMixCUB200-201178.87%84.37%

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages