showlab / Tune-A-Video

[ICCV 2023] Tune-A-Video: One-Shot Tuning of Image Diffusion Models for Text-to-Video Generation
https://tuneavideo.github.io
Apache License 2.0
4.15k stars 377 forks source link

First installation #100

Closed Sadrahel closed 2 weeks ago

Sadrahel commented 2 weeks ago

I'm triyng to use Animate Diff . I'm maybe a bit lost sorry...

I have this issue :

(animatediff) root@debian:/home/guillaume/AnimateDiff# python -m scripts.animate_gb --config configs/prompts/EDS.yaml Traceback (most recent call last): File "/root/.pyenv/versions/3.10.0/lib/python3.10/site-packages/transformers/utils/hub.py", line 399, in cached_file resolved_file = hf_hub_download( File "/root/.pyenv/versions/3.10.0/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 106, in _inner_fn validate_repo_id(arg_value) File "/root/.pyenv/versions/3.10.0/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 154, in validate_repo_id raise HFValidationError( huggingface_hub.errors.HFValidationError: Repo id must be in the form 'repo_name' or 'namespace/repo_name': 'models/StableDiffusion/stable-diffusion-v1-5'. Use repo_type argument if needed.

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

Traceback (most recent call last): File "/root/.pyenv/versions/3.10.0/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/root/.pyenv/versions/3.10.0/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/home/guillaume/AnimateDiff/scripts/animate_gb.py", line 180, in main(args) File "/home/guillaume/AnimateDiff/scripts/animate_gb.py", line 55, in main tokenizer = CLIPTokenizer.from_pretrained(args.pretrained_model_path, subfolder="tokenizer") File "/root/.pyenv/versions/3.10.0/lib/python3.10/site-packages/transformers/tokenization_utils_base.py", line 2029, in from_pretrained resolved_config_file = cached_file( File "/root/.pyenv/versions/3.10.0/lib/python3.10/site-packages/transformers/utils/hub.py", line 463, in cached_file raise EnvironmentError( OSError: Incorrect path_or_model_id: 'models/StableDiffusion/stable-diffusion-v1-5'. Please provide either the path to a local folder or the repo_id of a model on the Hub. (animatediff) root@debian:/home/guillaume/AnimateDiff# python -m scripts.animate_gb --config configs/prompts/EDS.yaml Traceback (most recent call last): File "/root/.pyenv/versions/3.10.0/lib/python3.10/site-packages/transformers/utils/hub.py", line 399, in cached_file resolved_file = hf_hub_download( File "/root/.pyenv/versions/3.10.0/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 106, in _inner_fn validate_repo_id(arg_value) File "/root/.pyenv/versions/3.10.0/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 154, in validate_repo_id raise HFValidationError( huggingface_hub.errors.HFValidationError: Repo id must be in the form 'repo_name' or 'namespace/repo_name': 'models/StableDiffusion/stable-diffusion-v1-5'. Use repo_type argument if needed.

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

Traceback (most recent call last): File "/root/.pyenv/versions/3.10.0/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/root/.pyenv/versions/3.10.0/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/home/guillaume/AnimateDiff/scripts/animate_gb.py", line 180, in main(args) File "/home/guillaume/AnimateDiff/scripts/animate_gb.py", line 55, in main tokenizer = CLIPTokenizer.from_pretrained(args.pretrained_model_path, subfolder="tokenizer") File "/root/.pyenv/versions/3.10.0/lib/python3.10/site-packages/transformers/tokenization_utils_base.py", line 2029, in from_pretrained resolved_config_file = cached_file( File "/root/.pyenv/versions/3.10.0/lib/python3.10/site-packages/transformers/utils/hub.py", line 463, in cached_file raise EnvironmentError( OSError: Incorrect path_or_model_id: 'models/StableDiffusion/stable-diffusion-v1-5'. Please provide either the path to a local folder or the repo_id of a model on the Hub.