kabachuha / sd-webui-text2video

Auto1111 extension implementing text2video diffusion models (like ModelScope or VideoCrafter) using only Auto1111 webui dependencies
Other
1.28k stars 107 forks source link

[Bug]: "[Errno 2] No such file or directory: 'C:\\REDACTED\\stable-diffusion-webui\\models/ModelScope/t2v/configuration.json'" #16

Closed I-ShadowStar closed 1 year ago

I-ShadowStar commented 1 year ago

Is there an existing issue for this?

Are you using the latest version of the extension?

What happened?

I used Install from URL, then closed and re-lauched the WebUI. I download the additional models, but I had to create the directory they are supposed to go into. I have attempted to update the extension several times but it says it is already up to date. I have searched everywhere and cannot find any results for this error message.

Steps to reproduce the problem

  1. Go to extention's tab
  2. Type any prompt
  3. Press Generate
  4. Error produced in console

ModelScope text2video extension for auto1111 webui Git commit: eed8524d (Mon Mar 20 15:00:12 2023) Starting text2video Pipeline setup Exception occured [Errno 2] No such file or directory: 'C:\REDACTED\stable-diffusion-webui\models/ModelScope/t2v/configuration.json'

What should have happened?

Well... make a video, right?

WebUI and Deforum extension Commit IDs

webui commit id - commit: [a9fed7c3] (https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/a9fed7c364061ae6efb37f797b6b522cb3cf7aa2) txt2vid commit id - sd-webui-modelscope-text2video | https://github.com/deforum-art/sd-webui-modelscope-text2video | eed8524d (Mon Mar 20 15:00:12 2023)

What GPU were you using for launching?

Torch active/reserved: 5781/6304 MiB, Sys VRAM: 8173/8192 MiB (99.77%) Model hash: c633845498 Model: [!UmiAI][Ani]Macross_v2

On which platform are you launching the webui backend with the extension?

Local PC setup (Windows)

Settings

image

Console logs

i   Settings file found, loading
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 →   Updating Settings File
 ✓   SUCCESS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 i   Launcher Version 1.5.10
 i   Found a custom WebUI Config
 i   No Launcher launch options
 i   Python 3.10 found : [REDACTED]
 i   Python is in PATH
 i   Git found and already in PATH at C:\Program Files\Git\cmd\git.exe
 i   Automatic1111 SD WebUI found at C:\[REDACTED]\stable-diffusion-webui
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  Opening A1111 WebUI Launcher
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 i   Arguments are now: --medvram --xformers --listen --port 6969 --api --opt-split-attention --enable-insecure-extension-access --gradio-auth [REDACTED] --no-half-vae --cloudflared
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 ↺   Updating Webui
 ✓   SUCCESS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 ↺   Updating Extension: a1111-sd-webui-locon
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 ↺   Updating Extension: a1111-sd-webui-tagcomplete
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 ↺   Updating Extension: a1111-stable-diffusion-webui-vram-estimator
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 ↺   Updating Extension: gif2gif
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 ↺   Updating Extension: novelai-2-local-prompt
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 ↺   Updating Extension: openpose-editor
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 ↺   Updating Extension: posex
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 ↺   Updating Extension: sd-dynamic-thresholding
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 ↺   Updating Extension: SD-latent-mirroring
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 ↺   Updating Extension: sd-webui-additional-networks
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 ↺   Updating Extension: sd-webui-ar
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 ↺   Updating Extension: sd-webui-aspect-ratio-helper
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 ↺   Updating Extension: sd-webui-controlnet
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 ↺   Updating Extension: sd-webui-cutoff
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 ↺   Updating Extension: sd-webui-depth-lib
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 ↺   Updating Extension: sd-webui-llul
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 ↺   Updating Extension: sd-webui-lora-block-weight
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 ↺   Updating Extension: sd-webui-modelscope-text2video
remote: Enumerating objects: 7, done.
remote: Counting objects: 100% (7/7), done.
remote: Compressing objects: 100% (1/1), done.
remote: Total 4 (delta 3), reused 4 (delta 3), pack-reused 0
Unpacking objects: 100% (4/4), 550 bytes | 26.00 KiB/s, done.
From https://github.com/deforum-art/sd-webui-modelscope-text2video
   acf7842..92a7131  main           -> origin/main
 * [new branch]      version-getter -> origin/version-getter
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 ↺   Updating Extension: sd-webui-tunnels
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 ↺   Updating Extension: SDAtom-WebUi-client-queue-ext
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 ↺   Updating Extension: Stable-Diffusion-Webui-Civitai-Helper
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 ↺   Updating Extension: stable-diffusion-webui-composable-lora
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 ↺   Updating Extension: stable-diffusion-webui-images-browser
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 ↺   Updating Extension: stable-diffusion-webui-model-toolkit
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 ↺   Updating Extension: stable-diffusion-webui-prompt-travel
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 ↺   Updating Extension: stable-diffusion-webui-rembg
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 ↺   Updating Extension: stable-diffusion-webui-state
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 ↺   Updating Extension: stable-diffusion-webui-two-shot
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 ↺   Updating Extension: UnivAICharGen
 ✓   SUCCESS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 i   Arguments are now: --medvram --xformers --listen --port 6969 --api --opt-split-attention --enable-insecure-extension-access --gradio-auth [REDACTED] --no-half-vae --cloudflared
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  WEBUI LAUNCHING VIA EMS LAUNCHER, EXIT THIS WINDOW TO STOP THE WEBUI
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 !   Any error happening after 'commit hash : XXXX' is not related to the launcher. Please report them on Automatic1111's github instead :
 ☁   https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/new/choose
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Cancel
venv "C:\[REDACTED]\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.9 (tags/v3.10.9:1dd9be6, Dec  6 2022, 20:01:21) [MSC v.1934 64 bit (AMD64)]
Commit hash: a9fed7c364061ae6efb37f797b6b522cb3cf7aa2
Installing requirements for Web UI

Launching Web UI with arguments: --autolaunch --medvram --xformers --listen --port 6969 --api --opt-split-attention --enable-insecure-extension-access --gradio-auth [REDACTED] --no-half-vae --cloudflared
Civitai Helper: Get Custom Model Folder
Civitai Helper: Load setting from: C:\[REDACTED]\stable-diffusion-webui\extensions\Stable-Diffusion-Webui-Civitai-Helper\setting.json
Civitai Helper: No setting file, use default
Additional Network extension not installed, Only hijack built-in lora
LoCon Extension hijack built-in lora successfully
[AddNet] Updating model hashes...
100%|█████████████████████████████████████████████████████████████████████████████| 271/271 [00:00<00:00, 33970.60it/s]
[AddNet] Updating model hashes...
100%|█████████████████████████████████████████████████████████████████████████████| 271/271 [00:00<00:00, 38821.56it/s]
cloudflared detected, trying to connect...
 * Running on [REDACTED]
 * Traffic stats available on http://127.0.0.1:54868/metrics
Loading weights [c633845498] from C:\PANDORA\stable-diffusion-webui\models\Stable-diffusion\[!UmiAI][Ani]Macross_v2.safetensors
Creating model from config: C:\PANDORA\stable-diffusion-webui\configs\v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Loading VAE weights specified in settings: C:\[REDACTED]\stable-diffusion-webui\models\VAE\SD-default-vae.safetensors
Applying xformers cross attention optimization.
Textual inversion embeddings loaded(924): [REDACTED]
Model loaded in 3.3s (create model: 0.4s, apply weights to model: 0.6s, apply half(): 0.6s, load VAE: 0.1s, load textual inversion embeddings: 1.4s).
Running on local URL:  [REDACTED]

To create a public link, set `share=True` in `launch()`.
Startup time: 37.6s (import gradio: 2.1s, import ldm: 1.1s, other imports: 2.2s, list extensions: 3.3s, setup codeformer: 0.1s, load scripts: 5.9s, load SD checkpoint: 3.5s, create ui: 14.9s, gradio launch: 4.3s).
Consuming a byte in the end state
Consuming a byte in the end state
ModelScope text2video extension for auto1111 webui
Git commit: 92a71316 (Mon Mar 20 14:40:23 2023)
Starting text2video
Pipeline setup
Exception occured
[Errno 2] No such file or directory: 'C:\\[REDACTED]\\stable-diffusion-webui\\models/ModelScope/t2v/configuration.json'

ModelScope text2video extension for auto1111 webui
Git commit: 92a71316 (Mon Mar 20 14:40:23 2023)
Starting text2video
Pipeline setup
Exception occured
[Errno 2] No such file or directory: 'C:\\[REDACTED]\\stable-diffusion-webui\\models/ModelScope/t2v/configuration.json'
Closing server running on port: 6969
Restarting UI...
Civitai Helper: Get Custom Model Folder
Civitai Helper: Load setting from: C:\PANDORA\stable-diffusion-webui\extensions\Stable-Diffusion-Webui-Civitai-Helper\setting.json
Civitai Helper: No setting file, use default
Additional Network extension not installed, Only hijack built-in lora
LoCon Extension hijack built-in lora successfully
[AddNet] Updating model hashes...
100%|█████████████████████████████████████████████████████████████████████████████| 271/271 [00:00<00:00, 30191.68it/s]
cloudflared detected, trying to connect...
 * Running on [REDACTED]
 * Traffic stats available on http://127.0.0.1:54868/metrics
Running on local URL:  [REDACTED]

To create a public link, set `share=True` in `launch()`.
Startup time: 11.9s (list extensions: 3.5s, load scripts: 1.4s, create ui: 2.7s, gradio launch: 4.1s).
Consuming a byte in the end state
Consuming a byte in the end state
ModelScope text2video extension for auto1111 webui
Git commit: eed8524d (Mon Mar 20 15:00:12 2023)
Starting text2video
Pipeline setup
Exception occured
[Errno 2] No such file or directory: 'C:\\[REDACTED]\\stable-diffusion-webui\\models/ModelScope/t2v/configuration.json'

Additional information

I might be tech savvy but this stuff is still new to me. I have followed the directions presented to the best of my ability but am encountering an error about a missing file. I have redacted identifiable information that is not relevant to the issue at hand.

I-ShadowStar commented 1 year ago

The instructions provided state "Model Files" but does not mention that the configuration.json file also has to be downloaded. Please clarify your instructions, thanks! image

kabachuha commented 1 year ago

Oh, well, then. Sorry for the confusion

swankwc commented 1 year ago

Same issue on mac

kabachuha commented 1 year ago

Please, send here screenshots of your configuration.json contents. It may appear that they've downloaded successfully, but it is actually page html that was saved there.

The inner content should look like this

Screenshot_20230321_004502