Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (base) dez@work:~$ /home/dez/Files/AI/A1111/webui.sh --xformers
- ################################################################
- Install script for stable-diffusion + Web UI
- Tested on Debian 11 (Bullseye)
- ################################################################
- ################################################################
- Running on dez user
- ################################################################
- ################################################################
- Create and activate python venv
- ################################################################
- ################################################################
- Launching launch.py...
- ################################################################
- Cannot locate TCMalloc (improves CPU memory usage)
- Python 3.11.4 (main, Jul 5 2023, 14:15:25) [GCC 11.2.0]
- Version: v1.6.0
- Commit hash: 5ef669de080814067961f28357256e8fe27544f4
- Fetching updates for midas...
- Checking out commit for midas with hash: 1645b7e...
- Launching Web UI with arguments: --xformers
- Loading weights [cb15a7187a] from /home/dez/Files/AI/A1111/stable-diffusion-webui/models/Stable-diffusion/Deliberate-inpainting.safetensors
- Running on local URL: http://127.0.0.1:7860
- To create a public link, set `share=True` in `launch()`.
- Startup time: 41.3s (prepare environment: 15.2s, import torch: 8.0s, import gradio: 4.1s, setup paths: 6.6s, initialize shared: 0.4s, other imports: 5.0s, setup codeformer: 0.4s, setup gfpgan: 0.1s, list SD models: 0.1s, load scripts: 0.4s, create ui: 0.5s, gradio launch: 1.2s).
- Creating model from config: /home/dez/Files/AI/A1111/stable-diffusion-webui/configs/v1-inpainting-inference.yaml
- Applying attention optimization: xformers... done.
- Model loaded in 21.3s (load weights from disk: 4.3s, create model: 0.8s, apply weights to model: 14.5s, load textual inversion embeddings: 0.2s, calculate empty prompt: 1.4s).
- 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 20/20 [00:04<00:00, 4.50it/s]
- Total progress: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 20/20 [00:03<00:00, 6.65it/s]
- Loading midas model weights ..████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 20/20 [00:03<00:00, 6.69it/s]
- Model loaded, number of parameters = 345M
- *** Error completing request
- *** Arguments: ('task(q5m87joyc3h690d)', 0, 'room', '', [], <PIL.Image.Image image mode=RGBA size=512x512 at 0x7FDD88BE0450>, None, None, None, None, None, None, 20, 'DPM++ 2M Karras', 4, 0, 1, 1, 1, 7, 1.5, 0.75, 0, 512, 512, 1, 0, 0, 32, 0, '', '', '', [], False, [], '', <gradio.routes.Request object at 0x7fdd88bfe950>, 9, False, '', 0.8, -1, False, -1, 0, 0, 0, '* `CFG Scale` should be 2 or lower.', True, True, '', '', True, 50, True, 1, 0, False, 4, 0.5, 'Linear', 'None', '<p style="margin-bottom:0.75em">Recommended settings: Sampling Steps: 80-100, Sampler: Euler a, Denoising strength: 0.8</p>', 128, 8, ['left', 'right', 'up', 'down'], 1, 0.05, 128, 4, 0, ['left', 'right', 'up', 'down'], False, False, 'positive', 'comma', 0, False, False, '', '<p style="margin-bottom:0.75em">Will upscale the image by the selected scale factor; use width and height sliders to set tile size</p>', 64, 0, 2, 1, '', [], 0, '', [], 0, '', [], True, False, False, False, 0, False, False, 0, True, 384, 384, False, 0, True, True, False, False) {}
- Traceback (most recent call last):
- File "/home/dez/Files/AI/A1111/stable-diffusion-webui/modules/call_queue.py", line 57, in f
- res = list(func(*args, **kwargs))
- ^^^^^^^^^^^^^^^^^^^^^
- File "/home/dez/Files/AI/A1111/stable-diffusion-webui/modules/call_queue.py", line 36, in f
- res = func(*args, **kwargs)
- ^^^^^^^^^^^^^^^^^^^^^
- File "/home/dez/Files/AI/A1111/stable-diffusion-webui/modules/img2img.py", line 206, in img2img
- processed = modules.scripts.scripts_img2img.run(p, *args)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/home/dez/Files/AI/A1111/stable-diffusion-webui/modules/scripts.py", line 601, in run
- processed = script.run(p, *script_args)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/home/dez/Files/AI/A1111/stable-diffusion-webui/extensions/depthmap2mask/scripts/depth2image_depthmask.py", line 97, in run
- d_m = sdmg.calculate_depth_maps(p.init_images[0],img_x,img_y,model_type,invert_depth)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/home/dez/Files/AI/A1111/stable-diffusion-webui/extensions/depthmap2mask/scripts/depthmap_for_depth2img.py", line 306, in calculate_depth_maps
- prediction = model.forward(sample)
- ^^^^^^^^^^^^^^^^^^^^^
- File "/home/dez/Files/AI/A1111/stable-diffusion-webui/repositories/midas/midas/dpt_depth.py", line 166, in forward
- return super().forward(x).squeeze(dim=1)
- ^^^^^^^^^^^^^^^^^^
- File "/home/dez/Files/AI/A1111/stable-diffusion-webui/repositories/midas/midas/dpt_depth.py", line 114, in forward
- layers = self.forward_transformer(self.pretrained, x)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/home/dez/Files/AI/A1111/stable-diffusion-webui/repositories/midas/midas/backbones/beit.py", line 15, in forward_beit
- return forward_adapted_unflatten(pretrained, x, "forward_features")
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/home/dez/Files/AI/A1111/stable-diffusion-webui/repositories/midas/midas/backbones/utils.py", line 86, in forward_adapted_unflatten
- exec(f"glob = pretrained.model.{function_name}(x)")
- File "<string>", line 1, in <module>
- File "/home/dez/Files/AI/A1111/stable-diffusion-webui/repositories/midas/midas/backbones/beit.py", line 125, in beit_forward_features
- x = blk(x, resolution, shared_rel_pos_bias=rel_pos_bias)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/home/dez/Files/AI/A1111/stable-diffusion-webui/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/home/dez/Files/AI/A1111/stable-diffusion-webui/repositories/midas/midas/backbones/beit.py", line 102, in block_forward
- x = x + self.drop_path(self.gamma_1 * self.attn(self.norm1(x), resolution,
- ^^^^^^^^^^^^^^
- File "/home/dez/Files/AI/A1111/stable-diffusion-webui/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1614, in __getattr__
- raise AttributeError("'{}' object has no attribute '{}'".format(
- AttributeError: 'Block' object has no attribute 'drop_path'
Advertisement
Add Comment
Please, Sign In to add comment