continue-revolution / sd-webui-animatediff

AnimateDiff for AUTOMATIC1111 Stable Diffusion WebUI
Other
3.11k stars 258 forks source link

[Bug]: model file path does not update after moving webui folder #287

Closed Hugs288 closed 1 year ago

Hugs288 commented 1 year ago

Is there an existing issue for this?

Have you read FAQ on README?

What happened?

i moved my webui folder but it is still looking for models in the old location

the animatediff tab is not appearing in txt2img or img2img.

Steps to reproduce the problem

  1. move webui folder
  2. run webui

What should have happened?

models should have been detected from extension folder/models

Commit where the problem happens

webui: 1.6.0 extension: fd8a7f0be2e588e278ea7775aceb3a16e43aac68

What browsers do you use to access the UI ?

Google Chrome

Command Line Arguments

--opt-sdp-no-mem-attention --no-half-vae --medvram-sdxl

Console logs

*** Error calling: J:\aistuff\stable-diffusion-webui\extensions\sd-webui-animatediff\scripts\animatediff.py/ui
    Traceback (most recent call last):
      File "J:\aistuff\stable-diffusion-webui\modules\scripts.py", line 402, in wrap_call
        return func(*args, **kwargs)
      File "J:\aistuff\stable-diffusion-webui\extensions\sd-webui-animatediff\scripts\animatediff.py", line 43, in ui
        return (AnimateDiffUiGroup().render(is_img2img, model_dir),)
      File "J:\aistuff\stable-diffusion-webui\extensions\sd-webui-animatediff\scripts\animatediff_ui.py", line 141, in render
        os.mkdir(model_dir)
    FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\*username*\\Downloads\\aistuff\\stable-diffusion-webui\\extensions\\sd-webui-animatediff\\model'

---
*** Error calling: J:\aistuff\stable-diffusion-webui\extensions\sd-webui-animatediff\scripts\animatediff.py/ui
    Traceback (most recent call last):
      File "J:\aistuff\stable-diffusion-webui\modules\scripts.py", line 402, in wrap_call
        return func(*args, **kwargs)
      File "J:\aistuff\stable-diffusion-webui\extensions\sd-webui-animatediff\scripts\animatediff.py", line 43, in ui
        return (AnimateDiffUiGroup().render(is_img2img, model_dir),)
      File "J:\aistuff\stable-diffusion-webui\extensions\sd-webui-animatediff\scripts\animatediff_ui.py", line 141, in render
        os.mkdir(model_dir)
    FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\*username*\\Downloads\\aistuff\\stable-diffusion-webui\\extensions\\sd-webui-animatediff\\model'

---

Additional information

-

continue-revolution commented 1 year ago

Please edit for the time being. I'm aware of this problem but have no solution yet. It will be addressed in the next update.

Hugs288 commented 1 year ago

Please edit for the time being. I'm aware of this problem but have no solution yet. It will be addressed in the next update.

edit what?

continue-revolution commented 1 year ago

Settings/AnimateDiff, use a new path

or, delete attribute animatediff_model_path from config.json

Hugs288 commented 1 year ago

alright, thank you