Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] XTTS v2 using Docker image not launching #3805

Open
therealmarius opened this issue Jun 30, 2024 · 3 comments
Open

[Bug] XTTS v2 using Docker image not launching #3805

therealmarius opened this issue Jun 30, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@therealmarius
Copy link

Describe the bug

Hey, I'm using the Docker image provided, but when I try to use the XTTS v2 model I get this error:

Traceback (most recent call last):
  File "/root/TTS/server/server.py", line 104, in <module>
    synthesizer = Synthesizer(
  File "/root/TTS/utils/synthesizer.py", line 93, in __init__
    self._load_tts(tts_checkpoint, tts_config_path, use_cuda)
  File "/root/TTS/utils/synthesizer.py", line 183, in _load_tts
    self.tts_config = load_config(tts_config_path)
  File "/root/TTS/config/__init__.py", line 82, in load_config
    ext = os.path.splitext(config_path)[1]
  File "/usr/local/lib/python3.10/posixpath.py", line 118, in splitext
    p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not NoneType

The model downloaded fine. I agreed to the Terms and Conditions.

To Reproduce

  1. Launch the Docker image
  2. Run python3 TTS/server/server.py --model_name tts_models/multilingual/multi-dataset/xtts_v2

Expected behavior

No response

Logs

root@6eab1efd81d8:~# python3 TTS/server/server.py --model_name tts_models/multilingual/multi-dataset/xtts_v2
 > You must confirm the following:
 | > "I have purchased a commercial license from Coqui: licensing@coqui.ai"
 | > "Otherwise, I agree to the terms of the non-commercial CPML: https://coqui.ai/cpml" - [y/n]
 | | > y
 > Downloading model to /root/.local/share/tts/tts_models--multilingual--multi-dataset--xtts_v2
 > Model's license - CPML
 > Check https://coqui.ai/cpml.txt for more info.
Traceback (most recent call last):
  File "/root/TTS/server/server.py", line 104, in <module>
    synthesizer = Synthesizer(
  File "/root/TTS/utils/synthesizer.py", line 93, in __init__
    self._load_tts(tts_checkpoint, tts_config_path, use_cuda)
  File "/root/TTS/utils/synthesizer.py", line 183, in _load_tts
    self.tts_config = load_config(tts_config_path)
  File "/root/TTS/config/__init__.py", line 82, in load_config
    ext = os.path.splitext(config_path)[1]
  File "/usr/local/lib/python3.10/posixpath.py", line 118, in splitext
    p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not NoneType

Environment

{
    "CUDA": {
        "GPU": [],
        "available": false,
        "version": "11.8"
    },
    "Packages": {
        "PyTorch_debug": false,
        "PyTorch_version": "2.1.1+cu118",
        "TTS": "0.22.0",
        "numpy": "1.22.0"
    },
    "System": {
        "OS": "Linux",
        "architecture": [
            "64bit",
            ""
        ],
        "processor": "",
        "python": "3.10.8",
        "version": "#1 SMP PREEMPT_DYNAMIC Wed Jun  5 07:37:32 UTC 2024"
    }
}

Additional context

No response

@therealmarius therealmarius added the bug Something isn't working label Jun 30, 2024
@eginhard
Copy link
Contributor

eginhard commented Jul 1, 2024

The server doesn't support XTTS, you'll have to run it manually.

@therealmarius
Copy link
Author

Okay, and how am I suppose to do that ? Can I still run it through Docker ?

@eginhard
Copy link
Contributor

eginhard commented Jul 1, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants