Hello,
I tried to run it but it gave me this error. Is it because of my VRAM? I have a 3060ti
0it [00:00, ?it/s]
Traceback (most recent call last):
File "D:\Stable-Diffusion\Auto_Retoucher\venv\lib\site-packages\gradio\queueing.py", line 495, in call_prediction
output = await route_utils.call_process_api(
File "D:\Stable-Diffusion\Auto_Retoucher\venv\lib\site-packages\gradio\route_utils.py", line 232, in call_process_api
output = await app.get_blocks().process_api(
File "D:\Stable-Diffusion\Auto_Retoucher\venv\lib\site-packages\gradio\blocks.py", line 1561, in process_api
result = await self.call_function(
File "D:\Stable-Diffusion\Auto_Retoucher\venv\lib\site-packages\gradio\blocks.py", line 1179, in call_function
prediction = await anyio.to_thread.run_sync(
File "D:\Stable-Diffusion\Auto_Retoucher\venv\lib\site-packages\anyio\to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
File "D:\Stable-Diffusion\Auto_Retoucher\venv\lib\site-packages\anyio_backends_asyncio.py", line 2177, in run_sync_in_worker_thread
return await future
File "D:\Stable-Diffusion\Auto_Retoucher\venv\lib\site-packages\anyio_backends_asyncio.py", line 859, in run
result = context.run(func, *args)
File "D:\Stable-Diffusion\Auto_Retoucher\venv\lib\site-packages\gradio\utils.py", line 678, in wrapper
response = f(*args, **kwargs)
File "D:\Stable-Diffusion\Auto_Retoucher\auto_retoucher.py", line 734, in generate_fn
output = retoucher.generate(strength, prompt, negative_prompt, steps, batch_size)
File "D:\Stable-Diffusion\Auto_Retoucher\auto_retoucher.py", line 353, in generate
gen_out = self.pipe(prompt=prompt, negative_prompt=negative_prompt,
File "D:\Stable-Diffusion\Auto_Retoucher\venv\lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "D:\Stable-Diffusion\Auto_Retoucher\venv\lib\site-packages\diffusers\pipelines\stable_diffusion_xl\pipeline_stable_diffusion_xl_img2img.py", line 1465, in call
image = self.image_processor.postprocess(image, output_type=output_type)
File "D:\Stable-Diffusion\Auto_Retoucher\venv\lib\site-packages\diffusers\image_processor.py", line 601, in postprocess
image = torch.stack(
RuntimeError: stack expects a non-empty TensorList
Hello,
I tried to run it but it gave me this error. Is it because of my VRAM? I have a 3060ti
0it [00:00, ?it/s]
Traceback (most recent call last):
File "D:\Stable-Diffusion\Auto_Retoucher\venv\lib\site-packages\gradio\queueing.py", line 495, in call_prediction
output = await route_utils.call_process_api(
File "D:\Stable-Diffusion\Auto_Retoucher\venv\lib\site-packages\gradio\route_utils.py", line 232, in call_process_api
output = await app.get_blocks().process_api(
File "D:\Stable-Diffusion\Auto_Retoucher\venv\lib\site-packages\gradio\blocks.py", line 1561, in process_api
result = await self.call_function(
File "D:\Stable-Diffusion\Auto_Retoucher\venv\lib\site-packages\gradio\blocks.py", line 1179, in call_function
prediction = await anyio.to_thread.run_sync(
File "D:\Stable-Diffusion\Auto_Retoucher\venv\lib\site-packages\anyio\to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
File "D:\Stable-Diffusion\Auto_Retoucher\venv\lib\site-packages\anyio_backends_asyncio.py", line 2177, in run_sync_in_worker_thread
return await future
File "D:\Stable-Diffusion\Auto_Retoucher\venv\lib\site-packages\anyio_backends_asyncio.py", line 859, in run
result = context.run(func, *args)
File "D:\Stable-Diffusion\Auto_Retoucher\venv\lib\site-packages\gradio\utils.py", line 678, in wrapper
response = f(*args, **kwargs)
File "D:\Stable-Diffusion\Auto_Retoucher\auto_retoucher.py", line 734, in generate_fn
output = retoucher.generate(strength, prompt, negative_prompt, steps, batch_size)
File "D:\Stable-Diffusion\Auto_Retoucher\auto_retoucher.py", line 353, in generate
gen_out = self.pipe(prompt=prompt, negative_prompt=negative_prompt,
File "D:\Stable-Diffusion\Auto_Retoucher\venv\lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "D:\Stable-Diffusion\Auto_Retoucher\venv\lib\site-packages\diffusers\pipelines\stable_diffusion_xl\pipeline_stable_diffusion_xl_img2img.py", line 1465, in call
image = self.image_processor.postprocess(image, output_type=output_type)
File "D:\Stable-Diffusion\Auto_Retoucher\venv\lib\site-packages\diffusers\image_processor.py", line 601, in postprocess
image = torch.stack(
RuntimeError: stack expects a non-empty TensorList