Code Monkey home page Code Monkey logo

Comments (4)

yeyupiaoling avatar yeyupiaoling commented on June 1, 2024

这个错误跟名字无关吧,具体什么错误,更多的错误信息看看

from speechemotionrecognition-paddlepaddle.

HXS572 avatar HXS572 commented on June 1, 2024

小白一个,弄了好久都没弄好,可以帮我看一下吗,全部的报错信息,如下:
D:\ProgramData\Anaconda3\envs\ser37\python.exe E:/code/SpeechEmotionRecognition-PaddlePaddle-master/create_data.py
2%|▏ | 132/5890 [00:15<11:13, 8.55it/s]
Traceback (most recent call last):
File "E:/code/SpeechEmotionRecognition-PaddlePaddle-master/create_data.py", line 47, in
create_standard('dataset', 'dataset/standard.m')
File "E:/code/SpeechEmotionRecognition-PaddlePaddle-master/create_data.py", line 40, in create_standard
data.append(load_audio(path, mode='infer'))
File "E:\code\SpeechEmotionRecognition-PaddlePaddle-master\data_utils\reader.py", line 46, in load_audio
features = audio_features(X=wav, sample_rate=sr)
File "E:\code\SpeechEmotionRecognition-PaddlePaddle-master\data_utils\utils.py", line 12, in audio_features
index = magnitudes[:, 1].argmax()
IndexError: index 1 is out of bounds for axis 1 with size 1

Process finished with exit code 1

from speechemotionrecognition-paddlepaddle.

yeyupiaoling avatar yeyupiaoling commented on June 1, 2024

这个我看不出是什么问题,极有可能是音频有问题。

from speechemotionrecognition-paddlepaddle.

HXS572 avatar HXS572 commented on June 1, 2024

from speechemotionrecognition-paddlepaddle.

Related Issues (2)

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.