Code Monkey home page Code Monkey logo

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.