Repository Not Found for url: https://huggingface.co/models/Annotators/resolve/main/sk_model.pth.

Aperta
#54 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
30/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
huggingface, python

Direzione di ricerca

Inizia da examples/image_synthesis/sd_text_to_image.py e segui la chiamata fino a diffsynth/pipelines/stable_diffusion.py e diffsynth/controlnets/processors.py. Controlla processor_id e il percorso del modello passato a LineartDetector.from_pretrained; il lavoro è completato quando l’esempio non richiede più l’URL Hugging Face non valida segnalata.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Why am I getting this error? Can someone please help?

Traceback (most recent call last):
File "/home/goku-kakarot-7227/Desktop/DiffSynth-Studio/lib/python3.11/site-packages/huggingface_hub/utils/_errors.py", line 304, in hf_raise_for_status
response.raise_for_status()
File "/home/goku-kakarot-7227/Desktop/DiffSynth-Studio/lib/python3.11/site-packages/requests/models.py", line 1024, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://huggingface.co/models/Annotators/resolve/main/sk_model.pth

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

Traceback (most recent call last):
File "/home/goku-kakarot-7227/Desktop/DiffSynth-Studio/examples/image_synthesis/sd_text_to_image.py", line 21, in
pipe = SDImagePipeline.from_model_manager(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/goku-kakarot-7227/Desktop/DiffSynth-Studio/diffsynth/pipelines/stable_diffusion.py", line 69, in from_model_manager
pipe.fetch_controlnet_models(model_manager, controlnet_config_units)
File "/home/goku-kakarot-7227/Desktop/DiffSynth-Studio/diffsynth/pipelines/stable_diffusion.py", line 42, in fetch_controlnet_models
Annotator(config.processor_id),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/goku-kakarot-7227/Desktop/DiffSynth-Studio/diffsynth/controlnets/processors.py", line 23, in init
self.processor = LineartDetector.from_pretrained(model_path).to("cuda")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/goku-kakarot-7227/Desktop/DiffSynth-Studio/lib/python3.11/site-packages/controlnet_aux/lineart/init.py", line 108, in from_pretrained
model_path = hf_hub_download(pretrained_model_or_path, filename, cache_dir=cache_dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/goku-kakarot-7227/Desktop/DiffSynth-Studio/lib/python3.11/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File "/home/goku-kakarot-7227/Desktop/DiffSynth-Studio/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 1221, in hf_hub_download
return _hf_hub_download_to_cache_dir(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/goku-kakarot-7227/Desktop/DiffSynth-Studio/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 1325, in _hf_hub_download_to_cache_dir
_raise_on_head_call_error(head_call_error, force_download, local_files_only)
File "/home/goku-kakarot-7227/Desktop/DiffSynth-Studio/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 1823, in _raise_on_head_call_error
raise head_call_error
File "/home/goku-kakarot-7227/Desktop/DiffSynth-Studio/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 1722, in _get_metadata_or_catch_error
metadata = get_hf_file_metadata(url=url, proxies=proxies, timeout=etag_timeout, headers=headers)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/goku-kakarot-7227/Desktop/DiffSynth-Studio/lib/python3.11/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File "/home/goku-kakarot-7227/Desktop/DiffSynth-Studio/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 1645, in get_hf_file_metadata
r = _request_wrapper(
^^^^^^^^^^^^^^^^^
File "/home/goku-kakarot-7227/Desktop/DiffSynth-Studio/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 372, in _request_wrapper
response = _request_wrapper(
^^^^^^^^^^^^^^^^^
File "/home/goku-kakarot-7227/Desktop/DiffSynth-Studio/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 396, in _request_wrapper
hf_raise_for_status(response)
File "/home/goku-kakarot-7227/Desktop/DiffSynth-Studio/lib/python3.11/site-packages/huggingface_hub/utils/_errors.py", line 352, in hf_raise_for_status
raise RepositoryNotFoundError(message, response) from e
huggingface_hub.utils._errors.RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-667bc91f-2e38fd6b79acdb762c1dba9d;c12df456-0cd6-4711-ac97-91c4de0683f8)

Repository Not Found for url: https://huggingface.co/models/Annotators/resolve/main/sk_model.pth.
Please make sure you specified the correct repo_id and repo_type.
If you are trying to access a private or gated repo, make sure you are authenticated.

Lingua principale
Python
Stelle
13.1k
Fork
1.3k
Merge medio
13h 12m
PR unite (30g)
45

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di modelscope/DiffSynth-Studio

Tutte le issue di modelscope/DiffSynth-Studio

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.