Coder Social home page Coder Social logo

attention-aware-visual-sentiment-analysis-with-objective-correlative's Introduction

Attention-Aware Visual Sentiment Analysis with Objective Correlative

The Pytorch implementation of "Attention-Aware Visual Sentiment Analysis with Objective Correlative"

Structure

The overall framework of AOCNet. ASNet was developed to capture long-range dependency of semantic correlation in visual features, while swin transformer is adopt for local latent affective activation regions and convert them to semantic embeddings. Our model considers both visual information and semantics through fusion layers and outputs the final emotion distribution.

network structure

Attention

The structure of non-local attention with enhanced small kernel. For easy viewing, the legend is shown below the figure.

network structure

Requirements

You may need to install the package via pip:

  • CUDA = 10.2
  • Python3
  • Pyrotch >= 1.10
  • d2lzh

Results

Classification performance achieved on FI dataset.

Model FI
PAEF 46.13
MKN 63.92
WSCNet 70.07
SOLVER 72.33
Stimuli-Aware 72.42
MSRCA 72.60
Our AOCNet 74.04

Visualization

Visualization of affective feature embeddings. Each point represents an image in FI datasets. Different emotion labels are distinguished by different colors. The left and right plots show the feature space of the FI training set and the entire dataset, respectively. It is observed that our framework can separate the images from different emotion categories more effectively.

visualization

Citation

Hao Zhang, Gaifang Luo, Zhaoyu Xiong, Xuejie Zhang, Dan Xu. Attention-Aware Visual Sentiment Analysis with Objective Correlative[J]. This is a preprint version, 2023.

attention-aware-visual-sentiment-analysis-with-objective-correlative's People

Contributors

haoyev5 avatar

Watchers

 avatar

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.