jodyngo / Visual-Sentiment-Analysis-for-Review-Images-with-Item-Oriented-and-User-Oriented-CNN

Code for the paper "Visual Sentiment Analysis for Review Images with Item-Oriented and User-Oriented CNN", ACM MM'17

Home Page:https://www.researchgate.net/publication/320541140_Visual_Sentiment_Analysis_for_Review_Images_with_Item-Oriented_and_User-Oriented_CNN

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VS-CNN

This is the code for the paper:

Visual Sentiment Analysis for Review Images with Item-Oriented and User-Oriented CNN
Quoc-Tuan Truong and Hady W. Lauw
Presented at MM 2017

We provide:

If you find the code and data useful in your research, please cite:

@inproceedings{vs-cnn,
  title={Visual sentiment analysis for review images with item-oriented and user-oriented CNN},
  author={Truong, Quoc-Tuan and Lauw, Hady W},
  booktitle={Proceedings of the ACM on Multimedia Conference},
  year={2017},
}

Requirements

Training and Evaluation

  • Base model:
python train_base.py --dataset [user,business]
  • Factor model:

To train the factor models, we need pre-trained weights from the base models for initialization. If you want to save time, the weights can be downloaded from here.

python train_factor.py --dataset [user,business] --factor_layer [conv1,conv3,conv5,fc7] --num_factors 16

About

Code for the paper "Visual Sentiment Analysis for Review Images with Item-Oriented and User-Oriented CNN", ACM MM'17

https://www.researchgate.net/publication/320541140_Visual_Sentiment_Analysis_for_Review_Images_with_Item-Oriented_and_User-Oriented_CNN

License:MIT License


Languages

Language:Python 100.0%