avewells / audio-sentiment-analysis-pipeline Goto Github PK
View Code? Open in Web Editor NEWAn end-to-end Python pipeline for performing sentiment analysis on audio files of call-center conversations.
An end-to-end Python pipeline for performing sentiment analysis on audio files of call-center conversations.
Hi,
When trying to run the pipeline. We are getting the following error.
python AudioSentimentPipeline.py -i data/input.csv -o outputs/ --hmm
Splitting provided audio files into chunks and then extracting features.
Traceback (most recent call last):
File "AudioSentimentPipeline.py", line 73, in
main()
File "AudioSentimentPipeline.py", line 63, in main
process_raw_data.main(args, pipe=True)
File "/home/learning_user/audio_analysis/audio-sentiment-analysis-pipeline/audio_sentiment_analysis/process_raw_data.py", line 193, in main
process_csv_input(args.csv_loc, args.out_loc, args.split_flag, args.extract_flag)
File "/home/learning_user/audio_analysis/audio-sentiment-analysis-pipeline/audio_sentiment_analysis/process_raw_data.py", line 153, in process_csv_input
call_path = os.path.join(os.path.dirname(csv_loc), row[0])
File "/usr/lib/python2.7/posixpath.py", line 68, in join
if b.startswith('/'):
AttributeError: 'numpy.float64' object has no attribute 'startswith'
python AudioSentimentPipeline.py -i data/input.csv -o outputs/ --hmm
Splitting provided audio files into chunks and then extracting features.
data/audio1.wav
didn't find file
Traceback (most recent call last):
File "AudioSentimentPipeline.py", line 73, in
main()
File "AudioSentimentPipeline.py", line 63, in main
process_raw_data.main(args, pipe=True)
File "/home/janhavi/Documents/audio-sentiment-analysis-pipeline-master/audio_sentiment_analysis/process_raw_data.py", line 193, in main
process_csv_input(args.csv_loc, args.out_loc, args.split_flag, args.extract_flag)
File "/home/janhavi/Documents/audio-sentiment-analysis-pipeline-master/audio_sentiment_analysis/process_raw_data.py", line 157, in process_csv_input
split_call_into_speakers(call_path + '.wav', out_loc)
File "/home/janhavi/Documents/audio-sentiment-analysis-pipeline-master/audio_sentiment_analysis/process_raw_data.py", line 57, in split_call_into_speakers
diarized = aS.speakerDiarization(temp_out_loc, 2, mtSize=0.5, mtStep=0.1)
File "/home/janhavi/Documents/audio-sentiment-analysis-pipeline-master/pyAudioAnalysis/audioSegmentation.py", line 703, in speakerDiarization
[Classifier1, MEAN1, STD1, classNames1, mtWin1, mtStep1, stWin1, stStep1, computeBEAT1] = aT.loadKNNModel(os.path.join("data","knnSpeakerAll"))
TypeError: 'NoneType' object is not iterable
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.