Home

Awesome

This repository re-implements the ECCV 2018 paper Deep Imbalanced Attribute Classification using Visual Attention Aggregation

Development Environment

$ pip install --upgrade mxnet-cu90
$ export PYTHONPATH=/project/path:$PYTHONPATH
$ cd /project/path

Download Datasets

Prepare Data

All records, list and txt files should be provided in the wider_records/ folder

Pre-trained Models

Pre-trained models should be placed in the saved_models/. Comment-in the lines that fetch pre-trained models the first time you train it. Then save the corresponding models to the folder.

WIDER-Attribute

$ cd /incubator-mxnet/tools/
$ python im2rec.py /project/path/DeepVisualAttributes /dataset/path/WIDER --quality=100 --pack-label=True

This will create the record files to wider_records/ to feed to the iterator.

Run the Code

If you use this code, please mention this repo and cite the paper:

@InProceedings{Sarafianos_2018_ECCV,
author = {Sarafianos, Nikolaos and Xu, Xiang and Kakadiaris, Ioannis A.},
title = {Deep Imbalanced Attribute Classification using Visual Attention Aggregation},
booktitle = {ECCV},
year = {2018}
}