Comments (8)
Hi,
I have not been able to reproduce this error, but it seems you're using tensorflow-gpu
to run on a CPU. It should fall back automatically and work on a CPU, but maybe you can try using tensorflow
instead of tensorflow-gpu
?
from inaspeechsegmenter.
Thanks for the response! I've tried both tensorflow and tensorflow-gpu, resulting in the same warning-message and finally the same 'segmentation fault'. Is it possible that there is a compatibility problem with Python 3.8.5 or with another pip package?
I was able to run the program in the Windows Linux Subsystem, but apparently the 'real' Linux doesn't process the program as it should.
from inaspeechsegmenter.
from inaspeechsegmenter.
Still no solution found. Within the VirtualEnv I tried using gdb with the following command:
gdb --args python inaSpeechEnv/bin/ina_speech_segmenter.py -i testfiles/2020-09-27-09-20-024.mp3 -o testfiles/
It stops running with the message:
Thread 1 "python" received signal SIGSEGV, Segmentation fault.
0x000000000000000a in ?? ()
Next, I tried the bt-command within gdb, which resulted in the following:
#201 0x000000000067d6db in PyRun_FileExFlags ()
#202 0x000000000067da6e in PyRun_SimpleFileExFlags ()
#203 0x00000000006b6132 in Py_RunMain ()
#204 0x00000000006b64bd in Py_BytesMain ()
#205 0x00007ffff7de10b3 in __libc_start_main (main=0x4eec80
rtld_fini=, stack_end=0x7fffffffddd8) at ../csu/libc-start.c:308
#206 0x00000000005f927e in _start ()
(gdb) Quit
I do hope that someone has a suggestion to get inaSpeechSegmenter running on my Ubuntu 20.04, AMD Ryzen 5, 16GB RAM.
from inaspeechsegmenter.
The issue has been solved.
The virtualenv did not work, a setup by using anaconda however, did.
Further, a new issue emerged: the program aborted after a few seconds and produced an 'Assertion error'.
Since inaSpeech has been updated 2 months ago, I found references to python 3.8 in the code. A new conda environment with 3.8 (and not 3.6) did work. Perhaps someone can look into this and perhaps update the Readme.md that python 3.8 is required?
Thanks for the program!
from inaspeechsegmenter.
Dear @ttjpleizier ,
I managed to reproduce your issue at it seems to be related to the update of one of the dependencies of inaSpeechSegmenter.
I did few fixes and managed to make it work again.
It has been tested using python 3.6.9 and python 3.8.5.
It is supposed to work well for any python >= 3.6 .
Could you clone the latest version available on github and let me know if your issue is now solved ?
I'm looking forward to hearing from you before updating the pip repository as well.
Kind regards, Sorry for the inconvenience, and thanks a lot for this feedback !
from inaspeechsegmenter.
Dear @DavidDoukhan,
Thank you very much for the fix. I cloned the repo and ran python setup.py test. 14 tests in 22.572s. A test mp3 (1 hour of audio) was processed between 17:19:31.22 and 17:20:12.40. The fix was succesful!
Best, Theo
from inaspeechsegmenter.
Thanks for this fast feedback !
Kind regards,
from inaspeechsegmenter.
Related Issues (20)
- Error running docker image HOT 17
- Matplotlib TypeError: use() got an unexpected keyword argument 'warn' HOT 1
- unit test docker image
- Checking sample width, is it necessary? HOT 6
- Not able to install ffmpeg HOT 3
- tensorflow.compat.v2 has no attribute '__internal__' HOT 2
- minimal pause length
- Provide draft code for training a model HOT 2
- does not work with TF2.5 HOT 1
- Noise dataset HOT 1
- Score for gender prediction HOT 1
- Getting "terminated: Application failed to start: not available" for longer audio files HOT 7
- nan values in the probability HOT 1
- [Train model from scratch on new language] HOT 2
- excessive memory usage and crashes with long duration files HOT 5
- Docker container: NVIDIA key change, use with Jupyter HOT 1
- use ffmpeg pip package instead of os call ?
- How to run on GPU HOT 1
- problem with ffmpg HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from inaspeechsegmenter.