microsoft/JARVIS

Running python models_server.py --config configs/config.default.yaml results in "Sorry, we can't find the page you're looking for"

emailic opened this issue · 0 comments

Hello,
I just followed all the steps to Quick Start Jarvis for Server, and when I finally reached part with running the server, this is the error I got:

(jarvis) jupyter@hugging-gpt-a100-1000gb:~/JARVIS/server$ python models_server.py --config configs/config.default.yaml
Traceback (most recent call last):
  File "/opt/conda/envs/jarvis/lib/python3.8/site-packages/huggingface_hub/utils/_errors.py", line 259, in hf_raise_for_status
    response.raise_for_status()
  File "/opt/conda/envs/jarvis/lib/python3.8/site-packages/requests/models.py", line 1021, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://huggingface.co/api/models/espnet/kan-bayashi_ljspeech_vits/revision/main

The above exception was the direct cause of the following exception:

Traceback(most recent call last):
  File "models_server.py", line 343, in <module>
    pipes = load_pipes(local_deployment)
  File "models_server.py", line 122, in load_pipes
    "model": Text2Speech.from_pretrained(f"espnet/kan-bayashi_ljspeech_vits"),
  File "/opt/conda/envs/jarvis/lib/python3.8/site-packages/espnet2/bin/tts_inference.py", line 277, in from_pretrained
    kwargs.update(**d.download_and_unpack(model_tag))
  File "/opt/conda/envs/jarvis/lib/python3.8/site-packages/espnet_model_zoo/downloader.py", line 382, in download_and_unpack
    cache_dir = self.huggingface_download(name=name, version=version, **kwargs)
  File "/opt/conda/envs/jarvis/lib/python3.8/site-packages/espnet_model_zoo/downloader.py", line 267, in huggingface_download
    return snapshot_download(
  File "/opt/conda/envs/jarvis/lib/python3.8/site-packages/huggingface_hub/utils/_validators.py", line 120, in _inner_fn
    return fn(*args, **kwargs)
  File "/opt/conda/envs/jarvis/lib/python3.8/site-packages/huggingface_hub/_snapshot_download.py", line 186, in snapshot_download
    repo_info = _api.repo_info(
  File "/opt/conda/envs/jarvis/lib/python3.8/site-packages/huggingface_hub/utils/_validators.py", line 120, in _inner_fn
    return fn(*args, **kwargs)
  File "/opt/conda/envs/jarvis/lib/python3.8/site-packages/huggingface_hub/hf_api.py", line 1794, in repo_info
    return method(
  File "/opt/conda/envs/jarvis/lib/python3.8/site-packages/huggingface_hub/utils/_validators.py", line 120, in _inner_fn
    return fn(*args, **kwargs)
  File "/opt/conda/envs/jarvis/lib/python3.8/site-packages/huggingface_hub/hf_api.py", line 1604, in model_info
    hf_raise_for_status(r)
  File "/opt/conda/envs/jarvis/lib/python3.8/site-packages/huggingface_hub/utils/_errors.py", line 301, in hf_raise_for_status
    raise HfHubHTTPError(str(e), response=response) from e
huggingface_hub.utils._errors.HfHubHTTPError: 404 Client Error: Not Found for url: https://huggingface.co/api/models/espnet/kan-bayashi_ljspeech_vits/revision/main (Request ID: Root=1-645a5cb1-5e36e7574d4aa2f11741003c)

Sorry, we can't find the page you are looking for.
(jarvis) jupyter@hugging-gpt-a100-1000gb:~/JARVIS/server$ 

Any idea on what am I missing here?