Code Monkey home page Code Monkey logo

continuousemotiondetection's Introduction

ContinuousEmotionDetection

Analysis of EEG Signals and Facial Expressions for Continuous Emotion Detection code

You need to install KERAS with tensorflow to run the code

M. Soleymani, S. Asghari-Esfeden, Y. Fu and M. Pantic, "Analysis of EEG Signals and Facial Expressions for Continuous Emotion Detection," in IEEE Transactions on Affective Computing, vol. 7, no. 1, pp. 17-28, 1 Jan.-March 2016. doi: 10.1109/TAFFC.2015.2436926

keywords: {electroencephalography; emotion recognition; face recognition; random processes; recurrent neural nets; video signal processing; EEG signal analysis; facial expression analysis; continuous emotion detection; time varying affective phenomena; elicit emotions; viewer emotion detection; video emotional traces; video viewer emotion detection; electroencephalogram signals; physiological responses; negative emotions; positive emotions; valence annotation; arousal dimension; long-short-term-memory recurrent neural networks; LSTM-RNN; continuous conditional random fields; CCRF; facial muscle activities; statistical analysis; Videos; Electroencephalography; Feature extraction; Motion pictures; Databases; Tagging; Recurrent neural networks; Affect; EEG; facial expressions; video highlight detection; implicit tagging; Affect;EEG; facial expressions; video highlight detection; implicit tagging},

URL: http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=7112127&isnumber=7420758

continuousemotiondetection's People

Contributors

soheilrayatdoost avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

continuousemotiondetection's Issues

TypeError: No loop matching

I cloned the repo and while running the code the following error came

Epoch 00023: val_loss did not improve from 0.00738
Epoch 24/25
143/143 [==============================] - 4s 25ms/step - loss: 0.0098 - val_loss: 0.0072

Epoch 00024: val_loss improved from 0.00738 to 0.00722, saving model to weights.bestFLF.hdf5
Epoch 25/25
143/143 [==============================] - 4s 25ms/step - loss: 0.0095 - val_loss: 0.0074

Epoch 00025: val_loss did not improve from 0.00722
Traceback (most recent call last):
  File "ContinousEmotionDetection.py", line 276, in <module>
    mseEeg,rmseEeg,pearsonCofEeg,prdictTestEeg  = evaluteSeq(modelEeg,testEeg,  labelTest,batchSize,lenSeqTest)
  File "ContinousEmotionDetection.py", line 181, in evaluteSeq
    mse, rmse, pearsonCof = metricSeq(labelreal, labelPredic, lenSeq)
  File "ContinousEmotionDetection.py", line 199, in metricSeq
    pearson.append(pearsonr(predictSeq, realSeq)[0])
  File "/usr/local/lib/python3.5/dist-packages/scipy/stats/stats.py", line 3410, in pearsonr
    xmean = x.mean(dtype=dtype)
  File "/home/lab06/.local/lib/python3.5/site-packages/numpy/core/_methods.py", line 75, in _mean
    ret = umr_sum(arr, axis, dtype, out, keepdims)
TypeError: No loop matching the specified signature and casting
was found for ufunc add

I changed my numpy version as mentioned here. But the error still persists. What to do now?

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.