Giter VIP home page Giter VIP logo

Comments (8)

r-uro avatar r-uro commented on June 4, 2024

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.

ttjpleizier avatar ttjpleizier commented on June 4, 2024

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.

ttjpleizier avatar ttjpleizier commented on June 4, 2024

from inaspeechsegmenter.

ttjpleizier avatar ttjpleizier commented on June 4, 2024

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

, argc=6, argv=0x7fffffffdde8, init=, fini=,
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.

ttjpleizier avatar ttjpleizier commented on June 4, 2024

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.

DavidDoukhan avatar DavidDoukhan commented on June 4, 2024

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.

ttjpleizier avatar ttjpleizier commented on June 4, 2024

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.

DavidDoukhan avatar DavidDoukhan commented on June 4, 2024

Thanks for this fast feedback !
Kind regards,

from inaspeechsegmenter.

Related Issues (20)

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.