All Projects → gaobb → MCAR

gaobb / MCAR

Licence: other
Learning to Discover Multi-Class Attentional Regions for Multi-Label Image Recognition

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to MCAR

single-positive-multi-label
Multi-Label Learning from Single Positive Labels - CVPR 2021
Stars: ✭ 63 (+96.88%)
Mutual labels:  multi-label-classification
extremeText
Library for fast text representation and extreme classification.
Stars: ✭ 141 (+340.63%)
Mutual labels:  multi-label-classification
visualize-voc-format-data
A simple utility programe to visualize pascal voc (format) dataset images with bounding boxes. Useful to check whether there is any error in forming annotation files.
Stars: ✭ 23 (-28.12%)
Mutual labels:  pascal-voc
awesome-image-tagging
A paper list of awesome Image Tagging
Stars: ✭ 61 (+90.63%)
Mutual labels:  multi-label-classification
kaggle-human-protein-atlas-image-classification
Kaggle 2018 @ Human Protein Atlas Image Classification
Stars: ✭ 34 (+6.25%)
Mutual labels:  multi-label-classification
multi-label-classification
machine-learning tensorflow multi-label-classification
Stars: ✭ 27 (-15.62%)
Mutual labels:  multi-label-classification
multi-label-classification
基于tf.keras的多标签多分类模型
Stars: ✭ 72 (+125%)
Mutual labels:  multi-label-classification
Object-Detection-Tools
Tools for object detection annotations in machine learning
Stars: ✭ 14 (-56.25%)
Mutual labels:  pascal-voc
napkinXC
Extremely simple and fast extreme multi-class and multi-label classifiers.
Stars: ✭ 38 (+18.75%)
Mutual labels:  multi-label-classification
Awesome Project Ideas
Curated list of Machine Learning, NLP, Vision, Recommender Systems Project Ideas
Stars: ✭ 6,114 (+19006.25%)
Mutual labels:  multi-label-classification
omikuji
An efficient implementation of Partitioned Label Trees & its variations for extreme multi-label classification
Stars: ✭ 69 (+115.63%)
Mutual labels:  multi-label-classification
GoEmotions-pytorch
Pytorch Implementation of GoEmotions 😍😢😱
Stars: ✭ 95 (+196.88%)
Mutual labels:  multi-label-classification
C-Tran
General Multi-label Image Classification with Transformers
Stars: ✭ 106 (+231.25%)
Mutual labels:  multi-label-classification
classifier multi label
multi-label,classifier,text classification,多标签文本分类,文本分类,BERT,ALBERT,multi-label-classification
Stars: ✭ 127 (+296.88%)
Mutual labels:  multi-label-classification
mybabe
MyBB CAPTCHA Solver using Convolutional Neural Network in Keras
Stars: ✭ 18 (-43.75%)
Mutual labels:  multi-label-classification
CheXpert challenge 2019
Code for CheXpert Challenge 2019 [Top 2(07/24/2019)]
Stars: ✭ 14 (-56.25%)
Mutual labels:  multi-label-classification
Caver
Caver: a toolkit for multilabel text classification.
Stars: ✭ 38 (+18.75%)
Mutual labels:  multi-label-classification
GalaXC
GalaXC: Graph Neural Networks with Labelwise Attention for Extreme Classification
Stars: ✭ 28 (-12.5%)
Mutual labels:  multi-label-classification
COCO-Assistant
Helper for dealing with MS-COCO annotations
Stars: ✭ 83 (+159.38%)
Mutual labels:  ms-coco
ZS SDL
Official Pytorch Implementation of: "Semantic Diversity Learning for Zero-Shot Multi-label Classification"(ICCV, 2021) paper
Stars: ✭ 22 (-31.25%)
Mutual labels:  multi-label-classification

MCAR.pytorch

This repository is a PyTorch implementation of Learning to Discover Multi-Class Attentional Regions for Multi-Label Image Recognition. The paper is accepted at [IEEE Trans. Image Processing (TIP 2021). This repo is created by Bin-Bin Gao.

PWC PWC PWC

MCAR Framework

Requirements

Please, install the following packages

  • numpy
  • torch-0.4.1
  • torchnet
  • torchvision-0.2.0
  • tqdm

Options

  • topN: number of local regions
  • threshold: threshold of localization
  • ps: global pooling style, e.g., 'avg', 'max', 'gwp'
  • lr: learning rate
  • lrp: factor for learning rate of pretrained layers. The learning rate of the pretrained layers is lr * lrp
  • batch-size: number of images per batch
  • image-size: size of the image
  • epochs: number of training epochs
  • evaluate: evaluate model on validation set
  • resume: path to checkpoint

MCAR Training and Evaluation

bash run.sh
Model Input-Size VOC-2007 VOC-2012 COCO-2014
MobileNet-v2 256 x 256 88.1 - 69.8
ResNet-50 256 x 256 92.3 - 78.0
ResNet-101 256 x 256 93.0 - 79.4
MobileNet-v2 448 x 448 91.3 91.0 75.0
ResNet-50 448 x 448 94.1 93.5 82.1
ResNet-101 448 x 448 94.8 94.3 83.8

MCAR Demo

bash run_demo.sh

mcar-demo

Citing this repository

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

@ARTICLE{MCAR_TIP_2021,
         author = {Bin-Bin Gao, Hong-Yu Zhou},
         title = {{Learning to Discover Multi-Class Attentional Regions for Multi-Label Image Recognition}},
         booktitle = {IEEE Transactions on Image Processing (TIP)},
         year={2021},
         volume={30},
         pages={5920-5932},
}

Reference

This project is based on the following implementations:

Tips

If you have any questions about our work, please do not hesitate to contact us by emails.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].