wywywywy / sd-webui-depth-lib Goto Github PK
View Code? Open in Web Editor NEWThis project forked from jexom/sd-webui-depth-lib
Depth map library for use with the Control Net extension for Automatic1111/stable-diffusion-webui
License: MIT License
This project forked from jexom/sd-webui-depth-lib
Depth map library for use with the Control Net extension for Automatic1111/stable-diffusion-webui
License: MIT License
Hi
This is the error I receive on startup.
To create a public link, set
share=Truein
launch()`.
Startup time: 27.3s (launcher: 15.9s, import torch: 3.1s, import gradio: 0.8s, setup paths: 0.7s, other imports: 1.8s, list SD models: 0.2s, load scripts: 3.2s, create ui: 1.1s, gradio launch: 0.3s).
*** API error: GET: http://127.0.0.1:7860/info {'error': 'KeyError', 'detail': '', 'body': '', 'errors': "'dataset'"}
Traceback (most recent call last):
File "F:\Projects\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\anyio\streams\memory.py", line 98, in receive
return self.receive_nowait()
File "F:\Projects\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\anyio\streams\memory.py", line 93, in receive_nowait
raise WouldBlock
anyio.WouldBlock
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "F:\Projects\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\base.py", line 78, in call_next
message = await recv_stream.receive()
File "F:\Projects\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\anyio\streams\memory.py", line 118, in receive
raise EndOfStream
anyio.EndOfStream
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "F:\Projects\Stable Diffusion\stable-diffusion-webui\modules\api\api.py", line 152, in exception_handling
return await call_next(request)
File "F:\Projects\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\base.py", line 84, in call_next
raise app_exc
File "F:\Projects\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\base.py", line 70, in coro
await self.app(scope, receive_or_disconnect, send_no_error)
File "F:\Projects\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\base.py", line 108, in __call__
response = await self.dispatch_func(request, call_next)
File "F:\Projects\Stable Diffusion\stable-diffusion-webui\modules\api\api.py", line 116, in log_and_time
res: Response = await call_next(req)
File "F:\Projects\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\base.py", line 84, in call_next
raise app_exc
File "F:\Projects\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\base.py", line 70, in coro
await self.app(scope, receive_or_disconnect, send_no_error)
File "F:\Projects\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\cors.py", line 84, in __call__
await self.app(scope, receive, send)
File "F:\Projects\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\gzip.py", line 24, in __call__
await responder(scope, receive, send)
File "F:\Projects\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\gzip.py", line 44, in __call__
await self.app(scope, receive, self.send_with_gzip)
File "F:\Projects\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\exceptions.py", line 79, in __call__
raise exc
File "F:\Projects\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "F:\Projects\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 21, in __call__
raise e
File "F:\Projects\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 18, in __call__
await self.app(scope, receive, send)
File "F:\Projects\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\starlette\routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "F:\Projects\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\starlette\routing.py", line 276, in handle
await self.app(scope, receive, send)
File "F:\Projects\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\starlette\routing.py", line 66, in app
response = await func(request)
File "F:\Projects\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\fastapi\routing.py", line 237, in app
raw_response = await run_endpoint_function(
File "F:\Projects\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\fastapi\routing.py", line 165, in run_endpoint_function
return await run_in_threadpool(dependant.call, **values)
File "F:\Projects\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\starlette\concurrency.py", line 41, in run_in_threadpool
return await anyio.to_thread.run_sync(func, *args)
File "F:\Projects\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\anyio\to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "F:\Projects\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "F:\Projects\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 807, in run
result = context.run(func, *args)
File "F:\Projects\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 271, in api_info
return gradio.blocks.get_api_info(config, serialize) # type: ignore
File "F:\Projects\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 504, in get_api_info
serializer = serializing.COMPONENT_MAPPING[type]()
KeyError: 'dataset'
`
A1111 version is v1.5.1
Thanks!
Describe the bug
The Depth lib tab wont show up after following the installation process.
I already have tried to:
Environment
Put x in the brackets to select
To Reproduce
Steps to reproduce the behavior:
Error
Error executing callback ui_tabs_callback for C:\ai\stable-diffusion-webui\extensions\sd-webui-depth-lib\scripts\main.py
Traceback (most recent call last):
File "C:\ai\stable-diffusion-webui\modules\script_callbacks.py", line 166, in ui_tabs_callback
res += c.callback() or []
File "C:\ai\stable-diffusion-webui\extensions\sd-webui-depth-lib\scripts\main.py", line 41, in on_ui_tabs
dataset = gr.Examples(examples=os.path.join(maps_path, t), inputs=[png_input_area], examples_per_page=24, label=None, elem_id="depth_lib_examples")
File "C:\ai\stable-diffusion-webui\venv\lib\site-packages\gradio\helpers.py", line 58, in create_examples
examples_obj = Examples(
File "C:\ai\stable-diffusion-webui\venv\lib\site-packages\gradio\helpers.py", line 209, in init
self.processed_examples = [
File "C:\ai\stable-diffusion-webui\venv\lib\site-packages\gradio\helpers.py", line 210, in
[
File "C:\ai\stable-diffusion-webui\venv\lib\site-packages\gradio\helpers.py", line 211, in
component.postprocess(sample)
File "C:\ai\stable-diffusion-webui\venv\lib\site-packages\gradio\components\image.py", line 318, in postprocess
return client_utils.encode_url_or_file_to_base64(y)
File "C:\ai\stable-diffusion-webui\venv\lib\site-packages\gradio_client\utils.py", line 387, in encode_url_or_file_to_base64
return encode_file_to_base64(path)
File "C:\ai\stable-diffusion-webui\venv\lib\site-packages\gradio_client\utils.py", line 360, in encode_file_to_base64
with open(f, "rb") as file:
PermissionError: [Errno 13] Permission denied: 'sd-webui-depth-lib'
I get the following error when I run it in the console. Can you please tell me how to fix it?
*** Error executing callback ui_tabs_callback for D:\stable-diffusion\extensions\sd-webui-depth-lib\scripts\main.py Traceback (most recent call last): File "D:\stable-diffusion\modules\script_callbacks.py", line 166, in ui_tabs_callback res += c.callback() or [] File "D:\stable-diffusion\extensions\sd-webui-depth-lib\scripts\main.py", line 41, in on_ui_tabs dataset = gr.Examples(examples=os.path.join(maps_path, t), inputs=[png_input_area], examples_per_page=24, label=None, elem_id="depth_lib_examples") File "D:\stable-diffusion\venv\lib\site-packages\gradio\helpers.py", line 58, in create_examples examples_obj = Examples( File "D:\stable-diffusion\venv\lib\site-packages\gradio\helpers.py", line 209, in __init__ self.processed_examples = [ File "D:\stable-diffusion\venv\lib\site-packages\gradio\helpers.py", line 210, in <listcomp> [ File "D:\stable-diffusion\venv\lib\site-packages\gradio\helpers.py", line 211, in <listcomp> component.postprocess(sample) File "D:\stable-diffusion\venv\lib\site-packages\gradio\components\image.py", line 318, in postprocess return client_utils.encode_url_or_file_to_base64(y) File "D:\stable-diffusion\venv\lib\site-packages\gradio_client\utils.py", line 387, in encode_url_or_file_to_base64 return encode_file_to_base64(path) File "D:\stable-diffusion\venv\lib\site-packages\gradio_client\utils.py", line 360, in encode_file_to_base64 with open(f, "rb") as file: PermissionError: [Errno 13] Permission denied: 'tmp'
Environment
Put x in the brackets to select
*** Error executing callback ui_tabs_callback for xxxx\StabilityMatrix-win-x64\Data\Packages\stable-diffusion-webui\extensions\sd-webui-depth-lib\scripts\main.py
File "xxxxxxxx\StabilityMatrix-win-x64\Data\Packages\stable-diffusion-webui\modules\script_callbacks.py", line 166, in ui_tabs_callback
res += c.callback() or []
File "xxxx\StabilityMatrix-win-x64\Data\Packages\stable-diffusion-webui\extensions\sd-webui-depth-lib\scripts\main.py", line 47, in on_ui_tabs
dataset = gr.Examples(examples=os.path.join(maps_path, t), inputs=[png_input_area],examples_per_page=24,label="Depth Maps", elem_id="examples")
File "xxxxxx\StabilityMatrix-win-x64\Data\Packages\stable-diffusion-webui\venv\lib\site-packages\gradio\helpers.py", line 58, in create_examples
examples_obj = Examples(
File "xxxxx\StabilityMatrix-win-x64\Data\Packages\stable-diffusion-webui\venv\lib\site-packages\gradio\helpers.py", line 209, in init
self.processed_examples = [
File "xxxx\StabilityMatrix-win-x64\Data\Packages\stable-diffusion-webui\venv\lib\site-packages\gradio\helpers.py", line 210, in
[
File "xxxxx\StabilityMatrix-win-x64\Data\Packages\stable-diffusion-webui\venv\lib\site-packages\gradio\helpers.py", line 211, in
component.postprocess(sample)
File "xxxxxx\StabilityMatrix-win-x64\Data\Packages\stable-diffusion-webui\venv\lib\site-packages\gradio\components\image.py", line 318, in postprocess
return client_utils.encode_url_or_file_to_base64(y)
File "xxxxx\StabilityMatrix-win-x64\Data\Packages\stable-diffusion-webui\venv\lib\site-packages\gradio_client\utils.py", line 387, in encode_url_or_file_to_base64
return encode_file_to_base64(path)
File "xxxxx\StabilityMatrix-win-x64\Data\Packages\stable-diffusion-webui\venv\lib\site-packages\gradio_client\utils.py", line 360, in encode_file_to_base64
with open(f, "rb") as file:
PermissionError: [Errno 13] Permission denied: 'extensions'
Unfortunately your fork doesn't fix the error for me : ( Both versions of Depth extension do this.
I was hoping to use this for hand refinement via:
https://civitai.com/models/67174/900-hands-library-for-depth-library-or-controlnet
Hello, can you help me? How can this be fixed? Thanks
Describe the bug
I wrote about the problem in the original hub, jexom#36 (comment) jexom#36 (comment)
Environment
Put x in the brackets to select
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.