fast-stable-diffusion: TypeError: check_deprecated_parameters() missing 1 required keyword-only argument: 'kwargs'
When try to use this Google Collab https://colab.research.google.com/github/TheLastBen/fast-stable-diffusion/blob/main/fast-DreamBooth.ipynb : Running from Connect to Drive until Training is working properly without any erros. BUT when running the Test The Trained Model, error below occurs:
Calculating sha256 for /content/gdrive/MyDrive/Fast-Dreambooth/Sessions/mltst/mltst.ckpt: 218063197008fa54ed8ec46690bfc86e2a8de66918f849f78d026c31c076bca4
Loading weights [2180631970] from /content/gdrive/MyDrive/Fast-Dreambooth/Sessions/mltst/mltst.ckpt
Creating model from config: /content/gdrive/MyDrive/sd/stable-diffusion-webui/configs/v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Downloading vocab.json100% 961k/961k [00:00<00:00, 2.95MB/s]
Downloading merges.txt100% 525k/525k [00:00<00:00, 37.8MB/s]
Downloading (…)cial_tokens_map.json100% 389/389 [00:00<00:00, 2.49MB/s]
Downloading tokenizer_config.json100% 905/905 [00:00<00:00, 4.50MB/s]
Downloading config.json100% 4.52k/4.52k [00:00<00:00, 25.6MB/s]
Applying scaled dot product cross attention optimization.
Textual inversion embeddings loaded(0):
Model loaded in 19.2s (calculate hash: 7.9s, load weights from disk: 5.6s, create model: 2.6s, apply weights to model: 1.6s, apply half(): 0.7s, move model to device: 0.7s).
Traceback (most recent call last):
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/webui.py", line 337, in <module>
webui()
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/webui.py", line 240, in webui
shared.demo = modules.ui.create_ui();shared.demo.queue(concurrency_count=999999,status_update_rate=0.1)
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/ui.py", line 460, in create_ui
with gr.Blocks(analytics_enabled=False) as txt2img_interface:
File "/usr/local/lib/python3.10/dist-packages/gradio/blocks.py", line 486, in __init__
super().__init__(render=False, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/gradio/blocks.py", line 274, in __init__
super().__init__(visible=visible, render=render, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/gradio/blocks.py", line 80, in __init__
check_deprecated_parameters(self.__class__.__name__, **kwargs)
TypeError: check_deprecated_parameters() missing 1 required keyword-only argument: 'kwargs'
I Using Python 3 Google Compute Engine backend (GPU) (Collab Pro)
Please help to advice. Thank you!
About this issue
- Original URL
- State: open
- Created 7 months ago
- Comments: 16 (5 by maintainers)
Having the same problem, tried with gradio==3.23.0 and the problem persists
The same problem. I installed gradio 3.23.0 and now there is such an error