GithubHelp home page GithubHelp logo

githubpgq / ar_discovery Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sherleens/ar_discovery

0.0 2.0 0.0 382 KB

Implementation of "Visual Sentiment Prediction based on Automatic Discovery of Affective Regions"

License: MIT License

MATLAB 100.00%

ar_discovery's Introduction

Visual Sentiment Prediction based on Automatic Discovery of Affective Regions

By Jufeng Yang, Dongyu She, Ming Sun, Ming-Ming Cheng, Paul L. Rosin and Liang Wang

Introduction

We propose a framework for sentiment classification and affectiv regions discovery with deep ConvNets.

  • It achieves state-of-the-art performance on sentiment classification, and very competitive results on object discovery.
  • Our code is written by matlab, based on Caffe.

The paper has been accepted by TMM 2018. For more details, please refer to our paper.

Architecture

framework

License

Our framework is released under the MIT License (refer to the LICENSE file for details).

Citing

If you find our framework useful in your research, please consider citing:

@article{tmm2018visual,
	Author = {Jufeng Yang, Dongyu She, Ming Sun, Ming-Ming Cheng, Paul L. Rosin, Liang Wang},
	Title = {Visual Sentiment Prediction based on Automatic Discovery of Affective Regions},
	journal = {TMM},
	volume = 99,
	numer = 99,
	pages = {1-1},
	Year = {2018}
}

Contents

  1. Requirements: software
  2. Requirements: hardware
  3. Basic installation
  4. Extra Downloads (objectness)
  5. Extra Downloads (trainval split)
  6. Usage
  7. Trained models

Requirements: software

  1. Requirements for Caffe and matcaffe (see: Caffe installation instructions)

Note: Caffe must be built with support for Matlab!

# This is required only if you will compile the matlab interface.
# MATLAB directory should contain the mex binary in /bin.
MATLAB_DIR := /usr/local
  1. MATLAB

Requirements: hardware

  1. NVIDIA GTX TITANX (~12G of memory)

Installation

  1. Clone the repository
# Make sure to clone with --recursive
git clone --recursive https://github.com/sherleens/AR_discovery.git
  1. Build Caffe and matcaffe
cd $AR_ROOT/caffe
# Now follow the Caffe installation instructions here
#   http://caffe.berkeleyvision.org/installation.html
# If you're experienced with Caffe and have all of the requirements installed
# and your Makefile.config in place, then simply do:
make all -j 8 && make matcaffe

Download pre-computed object proposals

Pre-computed objectness boxes can also be downloaded for affective datasets.

​ coming soon..

Download train val split

Train val split can be downloaded for affective datasets.

​ coming soon..

Usage

Train a deep network. For example, train a VGG16 network on FI trainval.

./train_vgg_FI.sh

Test a deep network. For example, test the VGG 16 network on FI test:

Run demo.m

Our trained models

The models trained on the FI dataset can be downloaded from here.

​ coming soon..

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.