deforum-art / sd-webui-deforum

Deforum extension for AUTOMATIC1111's Stable Diffusion webui
https://deforum.github.io
Other
2.69k stars 389 forks source link

[Bug]: Zoom and/or rotation 3D xyz fields, FOV pulldown don't load #713

Closed CCrypto2023 closed 1 year ago

CCrypto2023 commented 1 year ago

Have you read the latest version of the FAQ?

Is there an existing issue for this?

Are you using the latest version of the Deforum extension?

What happened?

The 3D feature doesn't fully load. Sometimes the zoom field is gone, other times the 3D rotation XYZ fields are gone. It does not fully load for some reason.

Steps to reproduce the problem

  1. Go to ....
  2. Press ....
  3. ... Keyframes Motion Select 3D -no zoom field, or sometimes no 3d rotation fields, other times the depth warping and FOV pulldown is not there.

What should have happened?

No response

WebUI and Deforum extension Commit IDs

webui commit id - https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/22bcc7be428c94e9408f589966c2040187245d81 deforum exten commit id - not sure where to find that

Torch version

python: 3.10.6

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

Local PC setup (Windows)

Deforum settings

20230511212828_settings.txt

Webui core settings

ui-config.txt

Console logs

venv "C:\Users\coadi\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Commit hash: 22bcc7be428c94e9408f589966c2040187245d81
Installing requirements for Web UI

Installing requirements for Batch Face Swap

current transparent-background 1.2.3

Installing requirements 1 for Infinite-Zoom

Installing requirements for Prompt Gallery

Initializing Riffusion

Installing requirements for Seed Travel

Installing imageio-ffmpeg requirement for depthmap script
Installing pyqt5 requirement for depthmap script

Launching Web UI with arguments:
No module 'xformers'. Proceeding without it.
Installing openmim
Installing mmcv-full
Installing mmdet
Error loading script: ddetailer.py
Traceback (most recent call last):
  File "C:\Users\coadi\stable-diffusion-webui\modules\scripts.py", line 256, in load_scripts
    script_module = script_loading.load_module(scriptfile.path)
  File "C:\Users\coadi\stable-diffusion-webui\modules\script_loading.py", line 11, in load_module
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "C:\Users\coadi\stable-diffusion-webui\extensions\ddetailer\scripts\ddetailer.py", line 61, in <module>
    startup()
  File "C:\Users\coadi\stable-diffusion-webui\extensions\ddetailer\scripts\ddetailer.py", line 50, in startup
    run(f'"{python}" -m pip install mmdet', desc=f"Installing mmdet", errdesc=f"Couldn't install mmdet")
  File "C:\Users\coadi\stable-diffusion-webui\launch.py", line 97, in run
    raise RuntimeError(message)
RuntimeError: Couldn't install mmdet.
Command: "C:\Users\coadi\stable-diffusion-webui\venv\Scripts\python.exe" -m pip install mmdet
Error code: 1
stdout: Collecting mmdet
  Using cached mmdet-3.0.0-py3-none-any.whl (1.7 MB)
Requirement already satisfied: numpy in c:\users\coadi\stable-diffusion-webui\venv\lib\site-packages (from mmdet) (1.23.3)
Requirement already satisfied: six in c:\users\coadi\stable-diffusion-webui\venv\lib\site-packages (from mmdet) (1.16.0)
Collecting shapely
  Using cached shapely-2.0.1-cp310-cp310-win_amd64.whl (1.4 MB)
Collecting pycocotools
  Using cached pycocotools-2.0.6.tar.gz (24 kB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Collecting terminaltables
  Using cached terminaltables-3.1.10-py2.py3-none-any.whl (15 kB)
Requirement already satisfied: matplotlib in c:\users\coadi\stable-diffusion-webui\venv\lib\site-packages (from mmdet) (3.7.1)
Requirement already satisfied: scipy in c:\users\coadi\stable-diffusion-webui\venv\lib\site-packages (from mmdet) (1.10.1)
Requirement already satisfied: cycler>=0.10 in c:\users\coadi\stable-diffusion-webui\venv\lib\site-packages (from matplotlib->mmdet) (0.11.0)
Requirement already satisfied: fonttools>=4.22.0 in c:\users\coadi\stable-diffusion-webui\venv\lib\site-packages (from matplotlib->mmdet) (4.39.3)
Requirement already satisfied: packaging>=20.0 in c:\users\coadi\stable-diffusion-webui\venv\lib\site-packages (from matplotlib->mmdet) (23.1)
Requirement already satisfied: kiwisolver>=1.0.1 in c:\users\coadi\stable-diffusion-webui\venv\lib\site-packages (from matplotlib->mmdet) (1.4.4)
Requirement already satisfied: python-dateutil>=2.7 in c:\users\coadi\stable-diffusion-webui\venv\lib\site-packages (from matplotlib->mmdet) (2.8.2)
Requirement already satisfied: contourpy>=1.0.1 in c:\users\coadi\stable-diffusion-webui\venv\lib\site-packages (from matplotlib->mmdet) (1.0.7)
Requirement already satisfied: pillow>=6.2.0 in c:\users\coadi\stable-diffusion-webui\venv\lib\site-packages (from matplotlib->mmdet) (9.4.0)
Requirement already satisfied: pyparsing>=2.3.1 in c:\users\coadi\stable-diffusion-webui\venv\lib\site-packages (from matplotlib->mmdet) (3.0.9)
Building wheels for collected packages: pycocotools
  Building wheel for pycocotools (pyproject.toml): started
  Building wheel for pycocotools (pyproject.toml): finished with status 'error'
Failed to build pycocotools

stderr:   error: subprocess-exited-with-error

  Building wheel for pycocotools (pyproject.toml) did not run successfully.
  exit code: 1

  [16 lines of output]
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib.win-amd64-cpython-310
  creating build\lib.win-amd64-cpython-310\pycocotools
  copying pycocotools\coco.py -> build\lib.win-amd64-cpython-310\pycocotools
  copying pycocotools\cocoeval.py -> build\lib.win-amd64-cpython-310\pycocotools
  copying pycocotools\mask.py -> build\lib.win-amd64-cpython-310\pycocotools
  copying pycocotools\__init__.py -> build\lib.win-amd64-cpython-310\pycocotools
  running build_ext
  cythoning pycocotools/_mask.pyx to pycocotools\_mask.c
  C:\Users\coadi\AppData\Local\Temp\pip-build-env-kk3dxmzi\overlay\Lib\site-packages\Cython\Compiler\Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: C:\Users\coadi\AppData\Local\Temp\pip-install-kq1jq4pu\pycocotools_ecf1224d4b5b4850ab637c5c5248b80c\pycocotools\_mask.pyx
    tree = Parsing.p_module(s, pxd, full_module_name)
  building 'pycocotools._mask' extension
  error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
  [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pycocotools
ERROR: Could not build wheels for pycocotools, which is required to install pyproject.toml-based projects

[notice] A new release of pip available: 22.2.1 -> 23.1.2
[notice] To update, run: C:\Users\coadi\stable-diffusion-webui\venv\Scripts\python.exe -m pip install --upgrade pip

[AddNet] Updating model hashes...
0it [00:00, ?it/s]
[AddNet] Updating model hashes...
0it [00:00, ?it/s]
ControlNet v1.1.133
ControlNet v1.1.133
Error loading script: patch_fixer.py
Traceback (most recent call last):
  File "C:\Users\coadi\stable-diffusion-webui\modules\scripts.py", line 256, in load_scripts
    script_module = script_loading.load_module(scriptfile.path)
  File "C:\Users\coadi\stable-diffusion-webui\modules\script_loading.py", line 11, in load_module
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "C:\Users\coadi\stable-diffusion-webui\extensions\sd_auto_fix\scripts\patch_fixer.py", line 16, in <module>
    from modules.sd_hijack_inpainting import do_inpainting_hijack, should_hijack_inpainting
ImportError: cannot import name 'should_hijack_inpainting' from 'modules.sd_hijack_inpainting' (C:\Users\coadi\stable-diffusion-webui\modules\sd_hijack_inpainting.py)

Loading weights [4199bcdd14] from C:\Users\coadi\stable-diffusion-webui\models\Stable-diffusion\revAnimated_v122.safetensors
Creating model from config: C:\Users\coadi\stable-diffusion-webui\configs\v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Applying cross attention optimization (Doggettx).
Textual inversion embeddings loaded(0):
Model loaded in 7.3s (load weights from disk: 0.2s, create model: 0.4s, apply weights to model: 3.2s, apply half(): 0.9s, move model to device: 0.8s, load textual inversion embeddings: 1.7s).
patched in extra network ui page: deltas
patched in extra network: deltas
INFO:     Started server process [32020]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://127.0.0.1:5173 (Press CTRL+C to quit)
INFO:     127.0.0.1:55779 - "GET / HTTP/1.1" 200 OK
LAB
[VRAMEstimator] No stats available, run benchmark first
*Deforum ControlNet support: enabled*
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 45.1s (import torch: 2.1s, import gradio: 1.8s, import ldm: 0.5s, other imports: 1.4s, setup codeformer: 0.1s, load scripts: 25.1s, load SD checkpoint: 7.7s, create ui: 6.2s, gradio launch: 0.1s).

Additional information

No response

github-actions[bot] commented 1 year ago

This issue has been closed due to incorrect formatting. Please address the following mistakes and reopen the issue (click on the 'Reopen' button below):

github-actions[bot] commented 1 year ago

This issue has been closed due to incorrect formatting. Please address the following mistakes and reopen the issue (click on the 'Reopen' button below):

github-actions[bot] commented 1 year ago

Thanks for addressing your formatting mistakes. The issue has been reopened now.

github-actions[bot] commented 1 year ago

Thanks for addressing your formatting mistakes. The issue has been reopened now.

hithereai commented 1 year ago

I absolutely cannot reproduce it, it's basically gradio/ webui being slow.

So I can't do anything about it. Try a fresh install of webui.