Giter VIP home page Giter VIP logo

avec2018's Introduction

AVEC_2018

Baseline scripts of the 8th Audio/Visual Emotion Challenge

Structure:

scripts_BDS/:

Baseline scripts (Python 2) for the Bipolar Disorder Sub-Challenge (BDS) - coming soon!

scripts_CES/:

Baseline scripts (Python 2) for the Cross-cultural Emotion Sub-Challenge (CES)

  • baseline_lstm.py: The deep learning framework Keras is required to run the CES baseline scripts. The baseline scripts have been tested with Python 2.7 and Tensorflow as backend.
    To run the baseline, you require the XBOW feature representations in the folders audio_features_xbow/ and visual_features_xbow/. In case they are not available in the data package you downloaded (they are only available in the most recent package from 4 June), you need to run the script generate_xbow.py first. This script generates the required bag-of-audio-words and bag-of-visual-words (XBOW) features in the folders audio_features_xbow/ and visual_features_xbow/
    Then, run the script baseline_lstm.py. It trains a 2-layer LSTM on the XBOW features and writes predictions on the test sets into the folder predictions/, for the model achieving the best performance in terms of CCC on the development set (independently for each dimension). We tested the code using Keras version 2.1.6 with Tensorflow backend version 1.8.0. Consistency check: Running the baseline, you should obtain a CCC of around 0.552 (Arousal), 0.563 (Valence), 0.238 (Liking) on the development partition. Please note that the results may slightly differ.

  • calc_scores.py: Calculate Concordance Correlation Coefficient (CCC), Pearson's Correlation Coefficient (PCC) and Mean Squared Error (MSE) on the concatenated predictions. Note: Only the CCC is taken into account as the official metric for the challenge.

  • CES_data.py: Python module to load the feature files of all partitions (used by baseline_lstm.py).

  • extract_audio_features.py: Extract acoustic features over time (either eGeMAPS LLDs or MFCCs + delta + acceleration) for all audio files in the folder 'audio/'. Features are stored in the folder 'audio_features/'. The feature script to be extracted needs to be configured in line 11.

  • extract_video_features.py: Extract visual features (FAU likelihoods) for all video files in the folder 'video/'. Features are stored in the folder 'visual_features/'.

  • generate_xbow.py: Extract bag-of-audio-words (BoAW) and bag-of-video-words (BoVW) features from the respective low-level descriptors configured in lines 13 and 14. This script uses the tool openXBOW (see below). This script is not required if you have downloaded the features in the folders audio_features_xbow/ and visual_features_xbow/.

  • openXBOW.jar: The openXBOW (Passau Open-Source Crossmodal Bag-of-Words) Toolkit, latest version 1.0. Available here: https://github.com/openXBOW/openXBOW

  • read_csv.py, write_csv.py: auxiliary scripts

scripts_GES/:

Baseline scripts (Python 2) for the Gold-standard Emotion Sub-Challenge (GES)

  • GoldStandardCreation/GSCreation.py: Create gold-standard from indivudal ratings of emotion labels.

  • Pred/Pred.py: Run multimodal emotion recognition based on a given gold-standard.

  • Config/Config.py: Configuration file for all scripts.

See the readme_GES.md in the folder for setup and informations

avec2018's People

Contributors

audiovisualemotionchallenge avatar maxschmitt avatar fabienringeval avatar

Watchers

James Cloos 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.