Skip to content

Cli client is not finding the model #33

@c2v4

Description

@c2v4

Hi I've tried to execute what is written in the documentation. I am getting an error that the model could not be found.

❯ python -m rvc_python cli -i hello.mp3 -o hello-imp.mp3 -mp git/rvc-tts-webui/weights/Narrator-TSP/Narrator-TSP_278e.pth
2024-10-24 14:20:31 | INFO | fairseq.tasks.text_to_speech | Please install tensorboardX: pip install tensorboardX
2024-10-24 14:20:32 | INFO | rvc_python.configs.config | Found GPU NVIDIA GeForce RTX 4070 Ti
is_half:True, device:cpu:0
Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/c2v4/.local/lib/python3.10/site-packages/rvc_python/__main__.py", line 91, in <module>
    main()
  File "/home/c2v4/.local/lib/python3.10/site-packages/rvc_python/__main__.py", line 57, in main
    rvc.load_model(args.model)
  File "/home/c2v4/.local/lib/python3.10/site-packages/rvc_python/infer.py", line 59, in load_model
    raise ValueError(f"Model {model_name} not found.")
ValueError: Model git/rvc-tts-webui/weights/Narrator-TSP/Narrator-TSP_278e.pth not found.
❯ ls git/rvc-tts-webui/weights/Narrator-TSP/Narrator-TSP_278e.pth
git/rvc-tts-webui/weights/Narrator-TSP/Narrator-TSP_278e.pth

The file is obviously there, available to be picked

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions