Giter Site home page Giter Site logo

andong-star / mpada Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openning07/mpada

0.0 0.0 0.0 2.69 MB

The official implementation of MP_{ada} in Attention-based Multi-patch Aggregation for Image Aesthetic Assessment (MM 2018)

Python 100.00%

mpada's Introduction

MPADA

The implementation of $MP_{ada}$ in Attention-based Multi-patch Aggregation for Image Aesthetic Assessment pdf, the method for SOTA aesthetic visual assessment performance on AVA benchmark. For more comparisons on AVA, please refer to the page on PaperWithCode.

Framework

CMM

System overview. We use an attention-based objective to enhance training signals by assigning relatively larger weights to misclassified image patches.

Experiments

Requirements

  • python == 3.6
  • tensorflow == 1.2.1
  • tensorpack == 0.6

Notes

  • Tensorpack does not implement AVA2012. You need to put the ava2012.py in AVA_info in the folder of tensorpack.dataflow.dataset.
  • For the information of training and test split of AVA benchmark, please refer to AVA_train.lst and AVA_test.lst in AVA_info.

Instructions for Results in the paper

python AVA2012-resnet_20180808_Revised.py --gpu 2 --data $YOUR_DATA_DIR$/AVA2012
        --aesthetic_level 2 --crop_method_TS RandomCrop --repeat_times 15
        --load $YOUR_CHECKPOINT_DIR$/checkpoint --mode resnet -d 18 --eval 

Desired Outputs

TODO

Notes

  • $YOUR_DATA_DIR$ : The directory you put images of the AVA benchmark.
  • $YOUR_CHECKPOINT_DIR$ : The directory you save the checkpoint files of the models.
  • Result might not be reproduced due to several factors: different version of cv2, different CUDA version, different split of training/test.

Citation

Please cite the following paper if you use this repository in your reseach~ Thank you ^ . ^

@inproceedings{sheng2018attention,
  title={Attention-based multi-patch aggregation for image aesthetic assessment},
  author={Sheng, Kekai and Dong, Weiming and Ma, Chongyang and Mei, Xing and Huang, Feiyue and Hu, Bao-Gang},
  booktitle={2018 ACM Multimedia Conference on Multimedia Conference},
  pages={879--886},
  year={2018},
  organization={ACM}
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.