Giter Club home page Giter Club logo

Comments (6)

DanBmh avatar DanBmh commented on July 19, 2024 2

You can find a working Linux setup (with docker) here. I'm using it as TTS for Jaco so there is some extra code in it which you can drop if you don't need it.

from gametts.

lexkoro avatar lexkoro commented on July 19, 2024

Hey,
do you get any errors?
What Version of GameTTS are you using? This one or the 1.1.5 shared in the WoG Forum?

Is there any way to make it work on Linux and a (properly) terminal callable version?
Generally it should work on Linux, pretty sure some people are already using it there.
Also I tested it myself before and it worked.

Yes I plan to implement a CLI, but since it is a hobby project, it might take some time.

from gametts.

NathanaelMangold avatar NathanaelMangold commented on July 19, 2024

I am starting the "main.py". The UI starts without any issues and does not show any errors. However python itself crashes after pressing "Synthesize". I used the latest version from this Repo from the Releases. Should be Version 0.0.2
grafik

In the console i can see the following:
pi@raspberrypi:~/Downloads/GameTTS-main/GameTTS $ python3 main.py
/home/pi/.local/lib/python3.9/site-packages/torch/package/_mock_zipreader.py:17: UserWarning: Failed to initialize NumPy: module compiled against API version 0xe but this version of numpy is 0xd (Triggered internally at ../torch/csrc/utils/tensor_numpy.cpp:67.)
_dtype_to_storage = {data_type(0).dtype: data_type for data_type in _storages}
INFO:root:Loaded checkpoint '/home/pi/Downloads/GameTTS-main/GameTTS/vits/model/G_600000.pth'
DEBUG:geventwebsocket.handler:Initializing WebSocket
DEBUG:geventwebsocket.handler:Validating WebSocket request
INFO:geventwebsocket.handler:127.0.0.1 - - [2022-06-06 10:53:32] "GET /index.html HTTP/1.1" 200 22396 0.003419
DEBUG:geventwebsocket.handler:Initializing WebSocket
DEBUG:geventwebsocket.handler:Validating WebSocket request
INFO:geventwebsocket.handler:127.0.0.1 - - [2022-06-06 10:53:32] "GET /css/all.css HTTP/1.1" 200 73836 0.002086
DEBUG:geventwebsocket.handler:Initializing WebSocket
DEBUG:geventwebsocket.handler:Validating WebSocket request
INFO:geventwebsocket.handler:127.0.0.1 - - [2022-06-06 10:53:32] "GET /css/font-google.css HTTP/1.1" 200 9353 0.001662
DEBUG:geventwebsocket.handler:Initializing WebSocket
DEBUG:geventwebsocket.handler:Validating WebSocket request
INFO:geventwebsocket.handler:127.0.0.1 - - [2022-06-06 10:53:32] "GET /css/mdb.min.css HTTP/1.1" 200 304015 0.002640
DEBUG:geventwebsocket.handler:Initializing WebSocket
DEBUG:geventwebsocket.handler:Validating WebSocket request
INFO:geventwebsocket.handler:127.0.0.1 - - [2022-06-06 10:53:32] "GET /js/mdb.min.js HTTP/1.1" 200 238313 0.003339
DEBUG:geventwebsocket.handler:Initializing WebSocket
DEBUG:geventwebsocket.handler:Validating WebSocket request
INFO:geventwebsocket.handler:127.0.0.1 - - [2022-06-06 10:53:32] "GET /eel.js HTTP/1.1" 200 6110 0.002363
DEBUG:geventwebsocket.handler:Initializing WebSocket
DEBUG:geventwebsocket.handler:Validating WebSocket request
INFO:geventwebsocket.handler:127.0.0.1 - - [2022-06-06 10:53:32] "GET /js/jquery-3.6.0.min.js HTTP/1.1" 200 107959 0.002239
DEBUG:geventwebsocket.handler:Initializing WebSocket
DEBUG:geventwebsocket.handler:Validating WebSocket request
DEBUG:geventwebsocket.handler:Attempting to upgrade connection
DEBUG:geventwebsocket.handler:WebSocket request accepted, switching protocols
DEBUG:geventwebsocket.handler:Initializing WebSocket
DEBUG:geventwebsocket.handler:Validating WebSocket request
INFO:geventwebsocket.handler:127.0.0.1 - - [2022-06-06 10:53:33] "GET /webfonts/fa-solid-900.woff2 HTTP/1.1" 200 78394 0.003569
DEBUG:geventwebsocket.handler:Initializing WebSocket
DEBUG:geventwebsocket.handler:Validating WebSocket request
INFO:geventwebsocket.handler:127.0.0.1 - - [2022-06-06 10:53:33] "GET /resource/json-mapping/game_map.json HTTP/1.1" 200 279 0.001431
DEBUG:geventwebsocket.handler:Initializing WebSocket
DEBUG:geventwebsocket.handler:Validating WebSocket request
INFO:geventwebsocket.handler:127.0.0.1 - - [2022-06-06 10:53:33] "GET /resource/json-mapping/0_sorted.json HTTP/1.1" 200 1537 0.001960
DEBUG:gruut.utils:Successfully imported gruut_lang_de
DEBUG:gruut.utils:Successfully imported gruut_lang_de
DEBUG:gruut.phonemize:Loading CRF g2p model from /home/pi/.local/lib/python3.9/site-packages/gruut_lang_de/g2p/model.crf
DEBUG:gruut.phonemize:Connecting to /home/pi/.local/lib/python3.9/site-packages/gruut_lang_de/lexicon.db
DEBUG:gruut.phonemize:Attempting to load feature names
DEBUG:gruut.phonemize:Guessing pronunciations for Token(text='ein', features={}) with CRF
DEBUG:gruut.phonemize:Guessing pronunciations for Token(text='blindtext', features={}) with CRF
DEBUG:gruut.phonemize:Guessing pronunciations for Token(text='sprachausgabe', features={}) with CRF
Illegal instruction

from gametts.

lexkoro avatar lexkoro commented on July 19, 2024
/home/pi/.local/lib/python3.9/site-packages/torch/package/_mock_zipreader.py:17: UserWarning: Failed to initialize NumPy: module compiled against API version 0xe but this version of numpy is 0xd (Triggered internally at ../torch/csrc/utils/tensor_numpy.cpp:67.)
_dtype_to_storage = {data_type(0).dtype: data_type for data_type in _storages}

I think it might be a problem with numpy and raspberrypi

Maybe this freqtrade/freqtrade#4281 (comment) helps

from gametts.

NathanaelMangold avatar NathanaelMangold commented on July 19, 2024

So I could fix the Numpy issue, but it still does not work.
This is the Log:
pi@raspberrypi:~/Downloads/GameTTS-main/GameTTS $ python main.py INFO:root:Loaded checkpoint '/home/pi/Downloads/GameTTS-main/GameTTS/vits/model/G_600000.pth' DEBUG:geventwebsocket.handler:Initializing WebSocket DEBUG:geventwebsocket.handler:Validating WebSocket request INFO:geventwebsocket.handler:127.0.0.1 - - [2022-06-08 19:26:22] "GET /index.html HTTP/1.1" 200 22396 0.004268 DEBUG:geventwebsocket.handler:Initializing WebSocket DEBUG:geventwebsocket.handler:Validating WebSocket request INFO:geventwebsocket.handler:127.0.0.1 - - [2022-06-08 19:26:23] "GET /css/all.css HTTP/1.1" 200 73836 0.002831 DEBUG:geventwebsocket.handler:Initializing WebSocket DEBUG:geventwebsocket.handler:Validating WebSocket request INFO:geventwebsocket.handler:127.0.0.1 - - [2022-06-08 19:26:23] "GET /css/font-google.css HTTP/1.1" 200 9353 0.001609 DEBUG:geventwebsocket.handler:Initializing WebSocket DEBUG:geventwebsocket.handler:Validating WebSocket request INFO:geventwebsocket.handler:127.0.0.1 - - [2022-06-08 19:26:23] "GET /eel.js HTTP/1.1" 200 6110 0.001934 DEBUG:geventwebsocket.handler:Initializing WebSocket DEBUG:geventwebsocket.handler:Validating WebSocket request INFO:geventwebsocket.handler:127.0.0.1 - - [2022-06-08 19:26:23] "GET /css/mdb.min.css HTTP/1.1" 200 304015 0.003338 DEBUG:geventwebsocket.handler:Initializing WebSocket DEBUG:geventwebsocket.handler:Validating WebSocket request INFO:geventwebsocket.handler:127.0.0.1 - - [2022-06-08 19:26:23] "GET /js/mdb.min.js HTTP/1.1" 200 238313 0.002613 DEBUG:geventwebsocket.handler:Initializing WebSocket DEBUG:geventwebsocket.handler:Validating WebSocket request INFO:geventwebsocket.handler:127.0.0.1 - - [2022-06-08 19:26:23] "GET /js/jquery-3.6.0.min.js HTTP/1.1" 200 107959 0.002738 DEBUG:geventwebsocket.handler:Initializing WebSocket DEBUG:geventwebsocket.handler:Validating WebSocket request DEBUG:geventwebsocket.handler:Attempting to upgrade connection DEBUG:geventwebsocket.handler:WebSocket request accepted, switching protocols DEBUG:geventwebsocket.handler:Initializing WebSocket DEBUG:geventwebsocket.handler:Validating WebSocket request INFO:geventwebsocket.handler:127.0.0.1 - - [2022-06-08 19:26:23] "GET /webfonts/fa-solid-900.woff2 HTTP/1.1" 200 78394 0.002657 DEBUG:geventwebsocket.handler:Initializing WebSocket DEBUG:geventwebsocket.handler:Validating WebSocket request INFO:geventwebsocket.handler:127.0.0.1 - - [2022-06-08 19:26:23] "GET /resource/json-mapping/game_map.json HTTP/1.1" 200 279 0.002624 DEBUG:geventwebsocket.handler:Initializing WebSocket DEBUG:geventwebsocket.handler:Validating WebSocket request INFO:geventwebsocket.handler:127.0.0.1 - - [2022-06-08 19:26:23] "GET /resource/json-mapping/0_sorted.json HTTP/1.1" 200 1537 0.003329 DEBUG:gruut.utils:Successfully imported gruut_lang_de DEBUG:gruut.utils:Successfully imported gruut_lang_de DEBUG:gruut.phonemize:Loading CRF g2p model from /home/pi/.local/lib/python3.9/site-packages/gruut_lang_de/g2p/model.crf DEBUG:gruut.phonemize:Connecting to /home/pi/.local/lib/python3.9/site-packages/gruut_lang_de/lexicon.db DEBUG:gruut.phonemize:Attempting to load feature names DEBUG:gruut.phonemize:Guessing pronunciations for Token(text='ein', features={}) with CRF DEBUG:gruut.phonemize:Guessing pronunciations for Token(text='blindtext', features={}) with CRF DEBUG:gruut.phonemize:Guessing pronunciations for Token(text='sprachausgabe', features={}) with CRF Illegal instruction

from gametts.

lexkoro avatar lexkoro commented on July 19, 2024

Yeah not sure then, maybe someone else with a raspberry pi can help.

from gametts.

Related Issues (19)

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.