Coder Social home page Coder Social logo

haoyev5 / affective-image-recognition-by-incorporating-multi-attribute-knowledge-in-deep-neural-networks Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 1.46 MB

Implementation of "Affective Image Recognition with Multi-Attribute Knowledge in Deep Neural Networks"

Python 100.00%

affective-image-recognition-by-incorporating-multi-attribute-knowledge-in-deep-neural-networks's Introduction

Affective Image Recognition with Multi-Attribute Knowledge in Deep Neural Networks

Implementation of "Affective Image Recognition with Multi-Attribute Knowledge in Deep Neural Networks"

Visualization and Motivation

Visualization of convolution filters. We visualized internal convolution filters in the model after fine-tuning ResNet, and found that shallow layers contain more visual details such as color and texture (a, b), while deep layers include more structures or semantics (c). Interestingly, textures are composed of colors and lines, leading to advanced features such as object structure. These findings confirm that high-level attributes gradually evolved from low-level features. However, visual details are ignored at high levels and not preserved as the hierarchical structure is processed. Based on these observations, we infer that image emotion recognition requires another representation that may contain missing visual attributes.

visualization

Network Structure

The Network architecture of multi-attribute model (MAM). We expect to extract hybrid attributes from internal intermediate features, including superficial visual details and deep semantics. Employing ResNet as the backbone network, our MAM extracts visual details and semantic attributes from its internal feature maps. (1) Early in the network, use a gram encoder to learn low-level attributes, and (2) later in the network, use a semantic tokenizer to learn and relate more higher-order semantic concepts.

network structure

Requirements

You may need to install the package via pip:

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

Results

Classification performance achieved on FI dataset.

Model FI
Deep metric learning 68.37
VSF 70.46
MLM 67.49
MSRCA 71.13
ViT 56.92
MAP 66.13
BoT 63.76
MAM 71.44

Citation

Zhang, H., Luo, G., Yue, Y. et al. Affective image recognition with multi-attribute knowledge in deep neural networks. Multimed Tools Appl (2023). https://doi.org/10.1007/s11042-023-16081-7

affective-image-recognition-by-incorporating-multi-attribute-knowledge-in-deep-neural-networks's People

Contributors

haoyev5 avatar

Watchers

James Cloos avatar Kostas Georgiou avatar  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.