You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it says and doesnt work. Can anyone give me some advice? I really need it soon so can't learn all these things.
(ldm) c:\stablediffusion-main>python scripts\gradio\depth2img.py configs\stable-diffusion\v2-midas-inference.yaml models\stable-diffusion\512-depth-ema.ckpt
No module 'xformers'. Proceeding without it.
LatentDepth2ImageDiffusion: Running in eps-prediction mode
DiffusionWrapper has 865.91 M params.
making attention of type 'vanilla' with 512 in_channels
Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
making attention of type 'vanilla' with 512 in_channels
C:\Users\user\anaconda3\envs\ldm\lib\site-packages\timm\models\layers_init_.py:48: FutureWarning: Importing from timm.models.layers is deprecated, please import via timm.layers
warnings.warn(f"Importing from {name} is deprecated, please import via timm.layers", FutureWarning)
C:\Users\user\anaconda3\envs\ldm\lib\site-packages\timm\models_factory.py:117: UserWarning: Mapping deprecated model name vit_base_resnet50_384 to current vit_base_r50_s16_384.orig_in21k_ft_in1k.
model = create_fn(
C:\Users\user\anaconda3\envs\ldm\lib\site-packages\gradio\routes.py:1215: DeprecationWarning:
on_event is deprecated, use lifespan event handlers instead.
Read more about it in the
[FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
@app.on_event("startup")
C:\Users\user\anaconda3\envs\ldm\lib\site-packages\fastapi\applications.py:4495: DeprecationWarning:
on_event is deprecated, use lifespan event handlers instead.
Read more about it in the
[FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
return self.router.on_event(event_type)
C:\Users\user\anaconda3\envs\ldm\lib\site-packages\gradio\routes.py:1215: DeprecationWarning:
on_event is deprecated, use lifespan event handlers instead.
Read more about it in the
[FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
@app.on_event("startup")
C:\Users\user\anaconda3\envs\ldm\lib\site-packages\fastapi\applications.py:4495: DeprecationWarning:
on_event is deprecated, use lifespan event handlers instead.
Read more about it in the
[FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
return self.router.on_event(event_type)
Traceback (most recent call last):
File "scripts\gradio\depth2img.py", line 154, in
input_image = gr.Image(source='upload', type="pil")
File "C:\Users\user\anaconda3\envs\ldm\lib\site-packages\gradio\component_meta.py", line 167, in wrapper
return fn(self, **kwargs)
TypeError: init() got an unexpected keyword argument 'source'
The text was updated successfully, but these errors were encountered:
https://github.com/Stability-AI/stablediffusion?tab=readme-ov-file#depth-conditional-stable-diffusion
I am really beginner to this program and havent done any these coding? know really nothing about it.
https://www.youtube.com/watch?v=AjXQEXgHWGA&t=1018s
I was following it and all worked and at last script
python scripts\gradio\depth2img.py configs\stable-diffusion\v2-midas-inference.yaml models\stable-diffusion\512-depth-ema.ckpt
it says and doesnt work. Can anyone give me some advice? I really need it soon so can't learn all these things.
(ldm) c:\stablediffusion-main>python scripts\gradio\depth2img.py configs\stable-diffusion\v2-midas-inference.yaml models\stable-diffusion\512-depth-ema.ckpt
No module 'xformers'. Proceeding without it.
LatentDepth2ImageDiffusion: Running in eps-prediction mode
DiffusionWrapper has 865.91 M params.
making attention of type 'vanilla' with 512 in_channels
Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
making attention of type 'vanilla' with 512 in_channels
C:\Users\user\anaconda3\envs\ldm\lib\site-packages\timm\models\layers_init_.py:48: FutureWarning: Importing from timm.models.layers is deprecated, please import via timm.layers
warnings.warn(f"Importing from {name} is deprecated, please import via timm.layers", FutureWarning)
C:\Users\user\anaconda3\envs\ldm\lib\site-packages\timm\models_factory.py:117: UserWarning: Mapping deprecated model name vit_base_resnet50_384 to current vit_base_r50_s16_384.orig_in21k_ft_in1k.
model = create_fn(
C:\Users\user\anaconda3\envs\ldm\lib\site-packages\gradio\routes.py:1215: DeprecationWarning:
on_event is deprecated, use lifespan event handlers instead.
@app.on_event("startup")
C:\Users\user\anaconda3\envs\ldm\lib\site-packages\fastapi\applications.py:4495: DeprecationWarning:
on_event is deprecated, use lifespan event handlers instead.
return self.router.on_event(event_type)
C:\Users\user\anaconda3\envs\ldm\lib\site-packages\gradio\routes.py:1215: DeprecationWarning:
on_event is deprecated, use lifespan event handlers instead.
@app.on_event("startup")
C:\Users\user\anaconda3\envs\ldm\lib\site-packages\fastapi\applications.py:4495: DeprecationWarning:
on_event is deprecated, use lifespan event handlers instead.
return self.router.on_event(event_type)
Traceback (most recent call last):
File "scripts\gradio\depth2img.py", line 154, in
input_image = gr.Image(source='upload', type="pil")
File "C:\Users\user\anaconda3\envs\ldm\lib\site-packages\gradio\component_meta.py", line 167, in wrapper
return fn(self, **kwargs)
TypeError: init() got an unexpected keyword argument 'source'
The text was updated successfully, but these errors were encountered: