stable-diffusion-webui
stable-diffusion-webui copied to clipboard
[Bug]: ebsynth name loader is not defined
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What happened?
Hello, everyone! I keep getting an error when trying to use the "ebsynth" extension ebsynth name loader is not defined and I can't find a solution.
Here is an example of what I get in the first step, this is a screenshot: Image
If anyone or the author knows what the problem is, please tell me how to solve it. Unfortunately I am not good at writing code by myself.
Uninstalling and reinstalling the addon does not solve the problem. Thanks in advance!
Steps to reproduce the problem
- Installed ControllNet
- Installed EBSynth
- Installed FFMPEG (put it into environment, cmd>ffmpeg -version works all installed. Installed to C drive)
- Opened Ebsynth Utility tab and put in a path with file without spaces (I tried to drag and drop file, nothing changes, same error).
- I press Generate and get an error: Image
What should have happened?
Folders are created: video_frame video_mask
but they are empty, and here should be unloaded frame by frame and frame mask from a piece of video.
Commit where the problem happens
22bcc7be428c94e9408f589966c2040187245d81
What platforms do you use to access the UI ?
Windows
What browsers do you use to access the UI ?
Google Chrome
Command Line Arguments
@echo off
if not exist python (echo Unpacking Git and Python... & mkdir tmp & start /wait git_python.part01.exe & del git_python.part01.exe & del git_python.part*.rar)
set pypath=home = %~dp0python
if exist venv (powershell -command "$text = (gc venv\pyvenv.cfg) -replace 'home = .*', $env:pypath; $Utf8NoBomEncoding = New-Object System.Text.UTF8Encoding($False);[System.IO.File]::WriteAllLines('venv\pyvenv.cfg', $text, $Utf8NoBomEncoding);")
for /d %%i in (tmp\tmp*,tmp\pip*) do rd /s /q "%%i" & del /q tmp\tmp* & rd /s /q pip\cache
set APPDATA=tmp
set USERPROFILE=tmp
set TEMP=tmp
set PYTHON=python\python.exe
set GIT=git\cmd\git.exe
set PATH=git\cmd
set VENV_DIR=venv
set COMMANDLINE_ARGS=--xformers --medvram --autolaunch
git pull origin master
call webui.bat
List of extensions
a1111-sd-webui-tagcomplete ebsynth_utility openpose-editor sd-webui-ar sd-webui-controlnet stable-diffusion-webui-composable-lora LDSR Lora ScuNET SwinIR prompt-bracket-checker
Console logs
Не удается найти указанный файл.
Не удается найти указанный файл.
Не удается найти указанный файл.
Не удается найти указанный файл.
Не удается найти указанный файл.
Не удается найти указанный файл.
Не удается найти указанный файл.
Не удается найти указанный файл.
Не удается найти указанный файл.
Не удается найти указанный файл.
Не удается найти указанный файл.
Не удается найти G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\tmp\tmp*
Не удается найти указанный файл.
From https://github.com/AUTOMATIC1111/stable-diffusion-webui
* branch master -> FETCH_HEAD
Already up to date.
venv "venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Commit hash: 22bcc7be428c94e9408f589966c2040187245d81
Installing requirements for Web UI
current transparent-background 1.2.3
Launching Web UI with arguments: --xformers --medvram --autolaunch
Loading weights [9aba26abdf] from G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\models\Stable-diffusion\deliberate_v2.safetensors
Creating model from config: G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\configs\v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Loading VAE weights specified in settings: G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\models\VAE\vae-ft-mse-840000-ema-pruned.ckpt
Applying xformers cross attention optimization.
Textual inversion embeddings loaded(0):
Model loaded in 1.3s (load weights from disk: 0.1s, create model: 0.3s, apply weights to model: 0.4s, apply half(): 0.2s, load VAE: 0.2s).
Running on local URL: http://127.0.0.1:7860
To create a public link, set `share=True` in `launch()`.
Startup time: 9.2s (import torch: 1.6s, import gradio: 1.7s, import ldm: 0.5s, other imports: 1.6s, load scripts: 1.0s, load SD checkpoint: 1.4s, create ui: 1.2s, gradio launch: 0.1s).
Loading model: control_canny-fp16 [e3b0c442]
Error running process: G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\extensions\sd-webui-controlnet\scripts\controlnet.py
Traceback (most recent call last):
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\modules\scripts.py", line 417, in process
script.process(p, *script_args)
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\extensions\sd-webui-controlnet\scripts\controlnet.py", line 679, in process
model_net = self.load_control_model(p, unet, unit.model, unit.low_vram)
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\extensions\sd-webui-controlnet\scripts\controlnet.py", line 468, in load_control_model
model_net = self.build_control_model(p, unet, model, lowvram)
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\extensions\sd-webui-controlnet\scripts\controlnet.py", line 493, in build_control_model
state_dict = load_state_dict(model_path)
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\extensions\sd-webui-controlnet\scripts\utils.py", line 9, in load_state_dict
state_dict = safetensors.torch.load_file(ckpt_path, device=location)
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\safetensors\torch.py", line 99, in load_file
with safe_open(filename, framework="pt", device=device) as f:
safetensors_rust.SafetensorError: Error while deserializing header: HeaderTooLarge
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:07<00:00, 2.62it/s]
Total progress: 100%|██████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00, 6.87it/s]
Traceback (most recent call last):█████████████████████████████████████████████████████| 20/20 [00:02<00:00, 8.41it/s]
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\routes.py", line 394, in run_predict
output = await app.get_blocks().process_api(
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\blocks.py", line 1075, in process_api
result = await self.call_function(
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\blocks.py", line 884, in call_function
prediction = await anyio.to_thread.run_sync(
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\anyio\to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 867, in run
result = context.run(func, *args)
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\extensions\sd-webui-controlnet\scripts\controlnet.py", line 356, in run_annotator
img = HWC3(image['image'])
TypeError: 'NoneType' object is not subscriptable
stage1
Skip frame extraction
Settings -> Mode=base, Device=cuda:0, Torchscript=disabled
Traceback (most recent call last):
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\python\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\python\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\Scripts\transparent-background.exe\__main__.py", line 7, in <module>
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\transparent_background\Remover.py", line 181, in console
loader = eval(_format + 'Loader')(args.source)
File "<string>", line 1, in <module>
NameError: name 'Loader' is not defined
mask created
completed.
Closing server running on port: 7860
Restarting UI...
Running on local URL: http://127.0.0.1:7860
To create a public link, set `share=True` in `launch()`.
Startup time: 1.3s (load scripts: 0.2s, create ui: 1.0s).
Closing server running on port: 7860
Restarting UI...
Running on local URL: http://127.0.0.1:7860
To create a public link, set `share=True` in `launch()`.
Startup time: 1.5s (load scripts: 0.2s, create ui: 1.0s, gradio launch: 0.2s).
stage1
Skip frame extraction
Settings -> Mode=base, Device=cuda:0, Torchscript=disabled
Traceback (most recent call last):
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\python\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\python\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\Scripts\transparent-background.exe\__main__.py", line 7, in <module>
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\transparent_background\Remover.py", line 181, in console
loader = eval(_format + 'Loader')(args.source)
File "<string>", line 1, in <module>
NameError: name 'Loader' is not defined
mask created
completed.
stage1
Skip frame extraction
Settings -> Mode=base, Device=cuda:0, Torchscript=disabled
Traceback (most recent call last):
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\python\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\python\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\Scripts\transparent-background.exe\__main__.py", line 7, in <module>
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\transparent_background\Remover.py", line 181, in console
loader = eval(_format + 'Loader')(args.source)
File "<string>", line 1, in <module>
NameError: name 'Loader' is not defined
mask created
completed.
Closing server running on port: 7860
Restarting UI...
Running on local URL: http://127.0.0.1:7860
To create a public link, set `share=True` in `launch()`.
Startup time: 1.3s (load scripts: 0.2s, create ui: 1.0s).
Traceback (most recent call last):
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\routes.py", line 394, in run_predict
output = await app.get_blocks().process_api(
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\blocks.py", line 1073, in process_api
inputs = self.preprocess_data(fn_index, inputs, state)
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\blocks.py", line 962, in preprocess_data
processed_input.append(block.preprocess(inputs[i]))
IndexError: list index out of range
Traceback (most recent call last):
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\routes.py", line 394, in run_predict
output = await app.get_blocks().process_api(
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\blocks.py", line 1073, in process_api
inputs = self.preprocess_data(fn_index, inputs, state)
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\blocks.py", line 962, in preprocess_data
processed_input.append(block.preprocess(inputs[i]))
IndexError: list index out of range
Traceback (most recent call last):
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\routes.py", line 394, in run_predict
output = await app.get_blocks().process_api(
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\blocks.py", line 1075, in process_api
result = await self.call_function(
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\blocks.py", line 848, in call_function
assert block_fn.fn, f"function with index {fn_index} not defined."
AssertionError: function with index 384 not defined.
Traceback (most recent call last):
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\routes.py", line 394, in run_predict
output = await app.get_blocks().process_api(
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\blocks.py", line 1073, in process_api
inputs = self.preprocess_data(fn_index, inputs, state)
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\blocks.py", line 962, in preprocess_data
processed_input.append(block.preprocess(inputs[i]))
IndexError: list index out of range
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\responses.py", line 335, in __call__
stat_result = await anyio.to_thread.run_sync(os.stat, self.path)
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\anyio\to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 867, in run
result = context.run(func, *args)
FileNotFoundError: [WinError 2] Не удается найти указанный файл: 'G:\\Stable-Defusion-Portable\\stable-diffusion-portable-main\\stable-diffusion-portable-main\\extensions\\a1111-sd-webui-tagcomplete\\tags\\keymap.json'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 407, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 78, in __call__
return await self.app(scope, receive, send)
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\fastapi\applications.py", line 273, in __call__
await super().__call__(scope, receive, send)
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\applications.py", line 120, in __call__
await self.middleware_stack(scope, receive, send)
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\middleware\errors.py", line 184, in __call__
raise exc
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\middleware\errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\middleware\gzip.py", line 24, in __call__
await responder(scope, receive, send)
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\middleware\gzip.py", line 44, in __call__
await self.app(scope, receive, self.send_with_gzip)
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\middleware\exceptions.py", line 79, in __call__
raise exc
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\middleware\exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 21, in __call__
raise e
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 18, in __call__
await self.app(scope, receive, send)
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\routing.py", line 716, in __call__
await route.handle(scope, receive, send)
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\routing.py", line 276, in handle
await self.app(scope, receive, send)
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\routing.py", line 69, in app
await response(scope, receive, send)
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\responses.py", line 338, in __call__
raise RuntimeError(f"File at path {self.path} does not exist.")
RuntimeError: File at path G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\extensions\a1111-sd-webui-tagcomplete\tags\keymap.json does not exist.
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\responses.py", line 335, in __call__
stat_result = await anyio.to_thread.run_sync(os.stat, self.path)
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\anyio\to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 867, in run
result = context.run(func, *args)
FileNotFoundError: [WinError 2] Не удается найти указанный файл: 'G:\\Stable-Defusion-Portable\\stable-diffusion-portable-main\\stable-diffusion-portable-main\\extensions\\a1111-sd-webui-tagcomplete\\tags\\colors.json'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 407, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 78, in __call__
return await self.app(scope, receive, send)
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\fastapi\applications.py", line 273, in __call__
await super().__call__(scope, receive, send)
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\applications.py", line 120, in __call__
await self.middleware_stack(scope, receive, send)
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\middleware\errors.py", line 184, in __call__
raise exc
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\middleware\errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\middleware\gzip.py", line 24, in __call__
await responder(scope, receive, send)
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\middleware\gzip.py", line 44, in __call__
await self.app(scope, receive, self.send_with_gzip)
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\middleware\exceptions.py", line 79, in __call__
raise exc
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\middleware\exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 21, in __call__
raise e
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 18, in __call__
await self.app(scope, receive, send)
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\routing.py", line 716, in __call__
await route.handle(scope, receive, send)
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\routing.py", line 276, in handle
await self.app(scope, receive, send)
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\routing.py", line 69, in app
await response(scope, receive, send)
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\responses.py", line 338, in __call__
raise RuntimeError(f"File at path {self.path} does not exist.")
RuntimeError: File at path G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\extensions\a1111-sd-webui-tagcomplete\tags\colors.json does not exist.
Traceback (most recent call last):
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\routes.py", line 394, in run_predict
output = await app.get_blocks().process_api(
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\blocks.py", line 1073, in process_api
inputs = self.preprocess_data(fn_index, inputs, state)
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\blocks.py", line 962, in preprocess_data
processed_input.append(block.preprocess(inputs[i]))
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\components.py", line 1594, in preprocess
im = processing_utils.decode_base64_to_image(x)
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\processing_utils.py", line 55, in decode_base64_to_image
content = encoding.split(";")[1]
IndexError: list index out of range
Traceback (most recent call last):
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\routes.py", line 394, in run_predict
output = await app.get_blocks().process_api(
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\blocks.py", line 1073, in process_api
inputs = self.preprocess_data(fn_index, inputs, state)
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\blocks.py", line 962, in preprocess_data
processed_input.append(block.preprocess(inputs[i]))
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\components.py", line 1594, in preprocess
im = processing_utils.decode_base64_to_image(x)
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\processing_utils.py", line 55, in decode_base64_to_image
content = encoding.split(";")[1]
IndexError: list index out of range
Closing server running on port: 7860
Restarting UI...
Running on local URL: http://127.0.0.1:7860
To create a public link, set `share=True` in `launch()`.
Startup time: 1.5s (load scripts: 0.2s, create ui: 1.0s, gradio launch: 0.2s).
stage1
Skip frame extraction
Settings -> Mode=base, Device=cuda:0, Torchscript=disabled
Traceback (most recent call last):
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\python\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\python\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\Scripts\transparent-background.exe\__main__.py", line 7, in <module>
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\transparent_background\Remover.py", line 181, in console
loader = eval(_format + 'Loader')(args.source)
File "<string>", line 1, in <module>
NameError: name 'Loader' is not defined
mask created
completed.
Closing server running on port: 7860
Restarting UI...
Running on local URL: http://127.0.0.1:7860
To create a public link, set `share=True` in `launch()`.
Startup time: 1.4s (load scripts: 0.2s, create ui: 1.1s).
stage1
Skip frame extraction
Settings -> Mode=base, Device=cuda:0, Torchscript=disabled
Traceback (most recent call last):
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\python\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\python\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\Scripts\transparent-background.exe\__main__.py", line 7, in <module>
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\transparent_background\Remover.py", line 181, in console
loader = eval(_format + 'Loader')(args.source)
File "<string>", line 1, in <module>
NameError: name 'Loader' is not defined
mask created
completed.
stage1
Skip frame extraction
Settings -> Mode=base, Device=cuda:0, Torchscript=disabled
Traceback (most recent call last):
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\python\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\python\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\Scripts\transparent-background.exe\__main__.py", line 7, in <module>
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\transparent_background\Remover.py", line 181, in console
loader = eval(_format + 'Loader')(args.source)
File "<string>", line 1, in <module>
NameError: name 'Loader' is not defined
mask created
completed.
Closing server running on port: 7860
Restarting UI...
Running on local URL: http://127.0.0.1:7860
To create a public link, set `share=True` in `launch()`.
Startup time: 1.4s (load scripts: 0.2s, create ui: 0.9s, gradio launch: 0.2s).
current transparent-background 1.2.3
Closing server running on port: 7860
Restarting UI...
Running on local URL: http://127.0.0.1:7860
To create a public link, set `share=True` in `launch()`.
Startup time: 1.3s (load scripts: 0.2s, create ui: 1.0s).
Closing server running on port: 7860
Restarting UI...
Running on local URL: http://127.0.0.1:7860
To create a public link, set `share=True` in `launch()`.
Startup time: 1.5s (load scripts: 0.2s, create ui: 1.0s, gradio launch: 0.2s).
stage1
Skip frame extraction
Settings -> Mode=base, Device=cuda:0, Torchscript=disabled
Traceback (most recent call last):
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\python\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\python\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\Scripts\transparent-background.exe\__main__.py", line 7, in <module>
File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\transparent_background\Remover.py", line 181, in console
loader = eval(_format + 'Loader')(args.source)
File "<string>", line 1, in <module>
NameError: name 'Loader' is not defined
mask created
completed.
Additional information
No response
I am seeing this as well
Hello, I too have a similar issue.
stage1
Skip frame extraction
Numba: Attempted to fork from a non-main thread, the TBB library may be in an invalid state in the child process.
Traceback (most recent call last):
File "/home/admin/.local/bin/transparent-background", line 5, in
completed. stage2
fps: 29.97002997002997 key_min_gap: 9 key_max_gap: 299 key_th: 8.5 Error completing request Arguments: (1, '/home/admin/Desktop/AI STAB PRES', '/tmp/bbf7d4f64b6ce515068fce93bfbed22bddf653e9/Agency Social - Video Spokesperson - Photo Booth Rental Video Sample_Cut.mp4', -1, -1, 0, 0, False, False, '', '', 0.4, 11, 11, 10, 300, 8.5, True, 'hm-mkl-hm', True, False, False, 0, None, 1, 'mp4', '', 'Fit video length', 5, 0, 0, 'Normal') {} Traceback (most recent call last): File "/home/admin/stable-diffusion-webui/modules/call_queue.py", line 56, in f res = list(func(*args, **kwargs)) File "/home/admin/stable-diffusion-webui/modules/call_queue.py", line 37, in f res = func(*args, **kwargs) File "/home/admin/stable-diffusion-webui/extensions/ebsynth_utility/ebsynth_utility.py", line 85, in ebsynth_utility_process ebsynth_utility_stage2(dbg, project_args, key_min_gap, key_max_gap, key_th, key_add_last_frame, is_invert_mask) File "/home/admin/stable-diffusion-webui/extensions/ebsynth_utility/stage2.py", line 153, in ebsynth_utility_stage2 keys = analyze_key_frames(frame_path, frame_mask_path, key_th, key_min_gap, key_max_gap, key_add_last_frame, is_invert_mask) File "/home/admin/stable-diffusion-webui/extensions/ebsynth_utility/stage2.py", line 80, in analyze_key_frames key_frame = frames[0] IndexError: list index out of range
Error completing request Arguments: (2, '/home/admin/Desktop/AI STAB PRES', '/tmp/bbf7d4f64b6ce515068fce93bfbed22bddf653e9/Agency Social - Video Spokesperson - Photo Booth Rental Video Sample_Cut.mp4', -1, -1, 0, 0, False, False, '', '', 0.4, 11, 11, 10, 300, 8.5, True, 'hm-mkl-hm', True, False, False, 0, None, 1, 'mp4', '', 'Fit video length', 5, 0, 0, 'Normal') {} Traceback (most recent call last): File "/home/admin/stable-diffusion-webui/modules/call_queue.py", line 56, in f res = list(func(*args, **kwargs)) File "/home/admin/stable-diffusion-webui/modules/call_queue.py", line 37, in f res = func(args, **kwargs) File "/home/admin/stable-diffusion-webui/extensions/ebsynth_utility/ebsynth_utility.py", line 88, in ebsynth_utility_process sample_image = glob.glob( os.path.join(frame_path , ".png" ) )[0] IndexError: list index out of range
same error
NameError: name 'Loader' is not defined
I was getting this same error. Turns out that it was ffmpeg not liking the mp4 that was coming into the extension (a file I converted from .mov to .mp4 in VLC). Created a new .mp4 file in Davinci resolve and the error went away, so those with the issue above, try a different mp4 encoder/file.
Same error for me too. (NameError: name 'Loader' is not defined.) I have tried re-encoding the mp4 several times using multiple encoders (including ffmpeg), but that doesn't appear to make a difference.
[Problem Already Solved] I have the same problem. But I solved with the following step:
-
Project directory and Original Movie Path must keep a role: "without spaces and without &" . For example "F:\01_Video_Editing\dir01" replace "F:\01-Video&Editing\dir 01"
-
Do not use put video into the Original Movie Path, relpace it. After dragging and dropping video that the Original Movie Path was pointing to a temp directory. so we change the path from "C:\Users\Administrator\AppData\Local\Temp\5c5XXXX.mp4" to "F:\01_Video_Editing\test01.mp4" .
-
make sure the project directory is empty.
Had same issue, resolved by installing ffmpeg into my global Python environment.
pip install ffmpeg
I have a portable version of automation on windows 11. I work as a video editor, all files from Adobe Primer Pro Sometimes it also gives an error on FFMPEG Path and Environment set
The error is still there, and no one knows how to solve it.
Does anyone know how to fix the "IndexError: list index out of range"? I'm stuck on stage 4. I'm assuming it has something to do with the name of the folder the key frames are supposed to be in? I just put them where it generated the folder and kept the name the same
Is there an existing issue for this?
* [x] I have searched the existing issues and checked the recent builds/commits
What happened?
Hello, everyone! I keep getting an error when trying to use the "ebsynth" extension ebsynth name loader is not defined and I can't find a solution.
Here is an example of what I get in the first step, this is a screenshot: Image
If anyone or the author knows what the problem is, please tell me how to solve it. Unfortunately I am not good at writing code by myself.
Uninstalling and reinstalling the addon does not solve the problem. Thanks in advance!
Steps to reproduce the problem
1. Installed ControllNet 2. Installed EBSynth 3. Installed FFMPEG (put it into environment, cmd>ffmpeg -version works all installed. Installed to C drive) 4. Opened Ebsynth Utility tab and put in a path with file without spaces (I tried to drag and drop file, nothing changes, same error). 5. I press Generate and get an error: [Image](https://mega.nz/file/NxFgmDzQ#n9EVZ4s94CzrebWkgBEStFbktJehqktFgsgbpdjRJFE)
What should have happened?
Folders are created: video_frame video_mask
but they are empty, and here should be unloaded frame by frame and frame mask from a piece of video.
Commit where the problem happens
What platforms do you use to access the UI ?
Windows
What browsers do you use to access the UI ?
Google Chrome
Command Line Arguments
@echo off if not exist python (echo Unpacking Git and Python... & mkdir tmp & start /wait git_python.part01.exe & del git_python.part01.exe & del git_python.part*.rar) set pypath=home = %~dp0python if exist venv (powershell -command "$text = (gc venv\pyvenv.cfg) -replace 'home = .*', $env:pypath; $Utf8NoBomEncoding = New-Object System.Text.UTF8Encoding($False);[System.IO.File]::WriteAllLines('venv\pyvenv.cfg', $text, $Utf8NoBomEncoding);") for /d %%i in (tmp\tmp*,tmp\pip*) do rd /s /q "%%i" & del /q tmp\tmp* & rd /s /q pip\cache set APPDATA=tmp set USERPROFILE=tmp set TEMP=tmp set PYTHON=python\python.exe set GIT=git\cmd\git.exe set PATH=git\cmd set VENV_DIR=venv set COMMANDLINE_ARGS=--xformers --medvram --autolaunch git pull origin master call webui.bat
List of extensions
a1111-sd-webui-tagcomplete ebsynth_utility openpose-editor sd-webui-ar sd-webui-controlnet stable-diffusion-webui-composable-lora LDSR Lora ScuNET SwinIR prompt-bracket-checker
Console logs
Не удается найти указанный файл. Не удается найти указанный файл. Не удается найти указанный файл. Не удается найти указанный файл. Не удается найти указанный файл. Не удается найти указанный файл. Не удается найти указанный файл. Не удается найти указанный файл. Не удается найти указанный файл. Не удается найти указанный файл. Не удается найти указанный файл. Не удается найти G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\tmp\tmp* Не удается найти указанный файл. From https://github.com/AUTOMATIC1111/stable-diffusion-webui * branch master -> FETCH_HEAD Already up to date. venv "venv\Scripts\Python.exe" Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)] Commit hash: 22bcc7be428c94e9408f589966c2040187245d81 Installing requirements for Web UI current transparent-background 1.2.3 Launching Web UI with arguments: --xformers --medvram --autolaunch Loading weights [9aba26abdf] from G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\models\Stable-diffusion\deliberate_v2.safetensors Creating model from config: G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\configs\v1-inference.yaml LatentDiffusion: Running in eps-prediction mode DiffusionWrapper has 859.52 M params. Loading VAE weights specified in settings: G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\models\VAE\vae-ft-mse-840000-ema-pruned.ckpt Applying xformers cross attention optimization. Textual inversion embeddings loaded(0): Model loaded in 1.3s (load weights from disk: 0.1s, create model: 0.3s, apply weights to model: 0.4s, apply half(): 0.2s, load VAE: 0.2s). Running on local URL: http://127.0.0.1:7860 To create a public link, set `share=True` in `launch()`. Startup time: 9.2s (import torch: 1.6s, import gradio: 1.7s, import ldm: 0.5s, other imports: 1.6s, load scripts: 1.0s, load SD checkpoint: 1.4s, create ui: 1.2s, gradio launch: 0.1s). Loading model: control_canny-fp16 [e3b0c442] Error running process: G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\extensions\sd-webui-controlnet\scripts\controlnet.py Traceback (most recent call last): File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\modules\scripts.py", line 417, in process script.process(p, *script_args) File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\extensions\sd-webui-controlnet\scripts\controlnet.py", line 679, in process model_net = self.load_control_model(p, unet, unit.model, unit.low_vram) File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\extensions\sd-webui-controlnet\scripts\controlnet.py", line 468, in load_control_model model_net = self.build_control_model(p, unet, model, lowvram) File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\extensions\sd-webui-controlnet\scripts\controlnet.py", line 493, in build_control_model state_dict = load_state_dict(model_path) File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\extensions\sd-webui-controlnet\scripts\utils.py", line 9, in load_state_dict state_dict = safetensors.torch.load_file(ckpt_path, device=location) File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\safetensors\torch.py", line 99, in load_file with safe_open(filename, framework="pt", device=device) as f: safetensors_rust.SafetensorError: Error while deserializing header: HeaderTooLarge 100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:07<00:00, 2.62it/s] Total progress: 100%|██████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00, 6.87it/s] Traceback (most recent call last):█████████████████████████████████████████████████████| 20/20 [00:02<00:00, 8.41it/s] File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\routes.py", line 394, in run_predict output = await app.get_blocks().process_api( File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\blocks.py", line 1075, in process_api result = await self.call_function( File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\blocks.py", line 884, in call_function prediction = await anyio.to_thread.run_sync( File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\anyio\to_thread.py", line 31, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 937, in run_sync_in_worker_thread return await future File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 867, in run result = context.run(func, *args) File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\extensions\sd-webui-controlnet\scripts\controlnet.py", line 356, in run_annotator img = HWC3(image['image']) TypeError: 'NoneType' object is not subscriptable stage1 Skip frame extraction Settings -> Mode=base, Device=cuda:0, Torchscript=disabled Traceback (most recent call last): File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\python\lib\runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\python\lib\runpy.py", line 86, in _run_code exec(code, run_globals) File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\Scripts\transparent-background.exe\__main__.py", line 7, in <module> File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\transparent_background\Remover.py", line 181, in console loader = eval(_format + 'Loader')(args.source) File "<string>", line 1, in <module> NameError: name 'Loader' is not defined mask created completed. Closing server running on port: 7860 Restarting UI... Running on local URL: http://127.0.0.1:7860 To create a public link, set `share=True` in `launch()`. Startup time: 1.3s (load scripts: 0.2s, create ui: 1.0s). Closing server running on port: 7860 Restarting UI... Running on local URL: http://127.0.0.1:7860 To create a public link, set `share=True` in `launch()`. Startup time: 1.5s (load scripts: 0.2s, create ui: 1.0s, gradio launch: 0.2s). stage1 Skip frame extraction Settings -> Mode=base, Device=cuda:0, Torchscript=disabled Traceback (most recent call last): File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\python\lib\runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\python\lib\runpy.py", line 86, in _run_code exec(code, run_globals) File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\Scripts\transparent-background.exe\__main__.py", line 7, in <module> File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\transparent_background\Remover.py", line 181, in console loader = eval(_format + 'Loader')(args.source) File "<string>", line 1, in <module> NameError: name 'Loader' is not defined mask created completed. stage1 Skip frame extraction Settings -> Mode=base, Device=cuda:0, Torchscript=disabled Traceback (most recent call last): File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\python\lib\runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\python\lib\runpy.py", line 86, in _run_code exec(code, run_globals) File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\Scripts\transparent-background.exe\__main__.py", line 7, in <module> File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\transparent_background\Remover.py", line 181, in console loader = eval(_format + 'Loader')(args.source) File "<string>", line 1, in <module> NameError: name 'Loader' is not defined mask created completed. Closing server running on port: 7860 Restarting UI... Running on local URL: http://127.0.0.1:7860 To create a public link, set `share=True` in `launch()`. Startup time: 1.3s (load scripts: 0.2s, create ui: 1.0s). Traceback (most recent call last): File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\routes.py", line 394, in run_predict output = await app.get_blocks().process_api( File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\blocks.py", line 1073, in process_api inputs = self.preprocess_data(fn_index, inputs, state) File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\blocks.py", line 962, in preprocess_data processed_input.append(block.preprocess(inputs[i])) IndexError: list index out of range Traceback (most recent call last): File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\routes.py", line 394, in run_predict output = await app.get_blocks().process_api( File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\blocks.py", line 1073, in process_api inputs = self.preprocess_data(fn_index, inputs, state) File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\blocks.py", line 962, in preprocess_data processed_input.append(block.preprocess(inputs[i])) IndexError: list index out of range Traceback (most recent call last): File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\routes.py", line 394, in run_predict output = await app.get_blocks().process_api( File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\blocks.py", line 1075, in process_api result = await self.call_function( File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\blocks.py", line 848, in call_function assert block_fn.fn, f"function with index {fn_index} not defined." AssertionError: function with index 384 not defined. Traceback (most recent call last): File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\routes.py", line 394, in run_predict output = await app.get_blocks().process_api( File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\blocks.py", line 1073, in process_api inputs = self.preprocess_data(fn_index, inputs, state) File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\blocks.py", line 962, in preprocess_data processed_input.append(block.preprocess(inputs[i])) IndexError: list index out of range ERROR: Exception in ASGI application Traceback (most recent call last): File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\responses.py", line 335, in __call__ stat_result = await anyio.to_thread.run_sync(os.stat, self.path) File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\anyio\to_thread.py", line 31, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 937, in run_sync_in_worker_thread return await future File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 867, in run result = context.run(func, *args) FileNotFoundError: [WinError 2] Не удается найти указанный файл: 'G:\\Stable-Defusion-Portable\\stable-diffusion-portable-main\\stable-diffusion-portable-main\\extensions\\a1111-sd-webui-tagcomplete\\tags\\keymap.json' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 407, in run_asgi result = await app( # type: ignore[func-returns-value] File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 78, in __call__ return await self.app(scope, receive, send) File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\fastapi\applications.py", line 273, in __call__ await super().__call__(scope, receive, send) File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\applications.py", line 120, in __call__ await self.middleware_stack(scope, receive, send) File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\middleware\errors.py", line 184, in __call__ raise exc File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\middleware\errors.py", line 162, in __call__ await self.app(scope, receive, _send) File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\middleware\gzip.py", line 24, in __call__ await responder(scope, receive, send) File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\middleware\gzip.py", line 44, in __call__ await self.app(scope, receive, self.send_with_gzip) File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\middleware\exceptions.py", line 79, in __call__ raise exc File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\middleware\exceptions.py", line 68, in __call__ await self.app(scope, receive, sender) File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 21, in __call__ raise e File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 18, in __call__ await self.app(scope, receive, send) File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\routing.py", line 716, in __call__ await route.handle(scope, receive, send) File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\routing.py", line 276, in handle await self.app(scope, receive, send) File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\routing.py", line 69, in app await response(scope, receive, send) File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\responses.py", line 338, in __call__ raise RuntimeError(f"File at path {self.path} does not exist.") RuntimeError: File at path G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\extensions\a1111-sd-webui-tagcomplete\tags\keymap.json does not exist. ERROR: Exception in ASGI application Traceback (most recent call last): File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\responses.py", line 335, in __call__ stat_result = await anyio.to_thread.run_sync(os.stat, self.path) File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\anyio\to_thread.py", line 31, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 937, in run_sync_in_worker_thread return await future File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 867, in run result = context.run(func, *args) FileNotFoundError: [WinError 2] Не удается найти указанный файл: 'G:\\Stable-Defusion-Portable\\stable-diffusion-portable-main\\stable-diffusion-portable-main\\extensions\\a1111-sd-webui-tagcomplete\\tags\\colors.json' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 407, in run_asgi result = await app( # type: ignore[func-returns-value] File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 78, in __call__ return await self.app(scope, receive, send) File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\fastapi\applications.py", line 273, in __call__ await super().__call__(scope, receive, send) File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\applications.py", line 120, in __call__ await self.middleware_stack(scope, receive, send) File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\middleware\errors.py", line 184, in __call__ raise exc File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\middleware\errors.py", line 162, in __call__ await self.app(scope, receive, _send) File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\middleware\gzip.py", line 24, in __call__ await responder(scope, receive, send) File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\middleware\gzip.py", line 44, in __call__ await self.app(scope, receive, self.send_with_gzip) File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\middleware\exceptions.py", line 79, in __call__ raise exc File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\middleware\exceptions.py", line 68, in __call__ await self.app(scope, receive, sender) File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 21, in __call__ raise e File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 18, in __call__ await self.app(scope, receive, send) File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\routing.py", line 716, in __call__ await route.handle(scope, receive, send) File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\routing.py", line 276, in handle await self.app(scope, receive, send) File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\routing.py", line 69, in app await response(scope, receive, send) File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\starlette\responses.py", line 338, in __call__ raise RuntimeError(f"File at path {self.path} does not exist.") RuntimeError: File at path G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\extensions\a1111-sd-webui-tagcomplete\tags\colors.json does not exist. Traceback (most recent call last): File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\routes.py", line 394, in run_predict output = await app.get_blocks().process_api( File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\blocks.py", line 1073, in process_api inputs = self.preprocess_data(fn_index, inputs, state) File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\blocks.py", line 962, in preprocess_data processed_input.append(block.preprocess(inputs[i])) File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\components.py", line 1594, in preprocess im = processing_utils.decode_base64_to_image(x) File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\processing_utils.py", line 55, in decode_base64_to_image content = encoding.split(";")[1] IndexError: list index out of range Traceback (most recent call last): File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\routes.py", line 394, in run_predict output = await app.get_blocks().process_api( File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\blocks.py", line 1073, in process_api inputs = self.preprocess_data(fn_index, inputs, state) File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\blocks.py", line 962, in preprocess_data processed_input.append(block.preprocess(inputs[i])) File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\components.py", line 1594, in preprocess im = processing_utils.decode_base64_to_image(x) File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\gradio\processing_utils.py", line 55, in decode_base64_to_image content = encoding.split(";")[1] IndexError: list index out of range Closing server running on port: 7860 Restarting UI... Running on local URL: http://127.0.0.1:7860 To create a public link, set `share=True` in `launch()`. Startup time: 1.5s (load scripts: 0.2s, create ui: 1.0s, gradio launch: 0.2s). stage1 Skip frame extraction Settings -> Mode=base, Device=cuda:0, Torchscript=disabled Traceback (most recent call last): File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\python\lib\runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\python\lib\runpy.py", line 86, in _run_code exec(code, run_globals) File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\Scripts\transparent-background.exe\__main__.py", line 7, in <module> File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\transparent_background\Remover.py", line 181, in console loader = eval(_format + 'Loader')(args.source) File "<string>", line 1, in <module> NameError: name 'Loader' is not defined mask created completed. Closing server running on port: 7860 Restarting UI... Running on local URL: http://127.0.0.1:7860 To create a public link, set `share=True` in `launch()`. Startup time: 1.4s (load scripts: 0.2s, create ui: 1.1s). stage1 Skip frame extraction Settings -> Mode=base, Device=cuda:0, Torchscript=disabled Traceback (most recent call last): File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\python\lib\runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\python\lib\runpy.py", line 86, in _run_code exec(code, run_globals) File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\Scripts\transparent-background.exe\__main__.py", line 7, in <module> File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\transparent_background\Remover.py", line 181, in console loader = eval(_format + 'Loader')(args.source) File "<string>", line 1, in <module> NameError: name 'Loader' is not defined mask created completed. stage1 Skip frame extraction Settings -> Mode=base, Device=cuda:0, Torchscript=disabled Traceback (most recent call last): File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\python\lib\runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\python\lib\runpy.py", line 86, in _run_code exec(code, run_globals) File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\Scripts\transparent-background.exe\__main__.py", line 7, in <module> File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\transparent_background\Remover.py", line 181, in console loader = eval(_format + 'Loader')(args.source) File "<string>", line 1, in <module> NameError: name 'Loader' is not defined mask created completed. Closing server running on port: 7860 Restarting UI... Running on local URL: http://127.0.0.1:7860 To create a public link, set `share=True` in `launch()`. Startup time: 1.4s (load scripts: 0.2s, create ui: 0.9s, gradio launch: 0.2s). current transparent-background 1.2.3 Closing server running on port: 7860 Restarting UI... Running on local URL: http://127.0.0.1:7860 To create a public link, set `share=True` in `launch()`. Startup time: 1.3s (load scripts: 0.2s, create ui: 1.0s). Closing server running on port: 7860 Restarting UI... Running on local URL: http://127.0.0.1:7860 To create a public link, set `share=True` in `launch()`. Startup time: 1.5s (load scripts: 0.2s, create ui: 1.0s, gradio launch: 0.2s). stage1 Skip frame extraction Settings -> Mode=base, Device=cuda:0, Torchscript=disabled Traceback (most recent call last): File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\python\lib\runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\python\lib\runpy.py", line 86, in _run_code exec(code, run_globals) File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\Scripts\transparent-background.exe\__main__.py", line 7, in <module> File "G:\Stable-Defusion-Portable\stable-diffusion-portable-main\stable-diffusion-portable-main\venv\lib\site-packages\transparent_background\Remover.py", line 181, in console loader = eval(_format + 'Loader')(args.source) File "<string>", line 1, in <module> NameError: name 'Loader' is not defined mask created completed.
Additional information
No response
I was having same problem. I solve it doing this: Installed ffmpeg with choco.
- Run PowerShell as administrator.
- choco install ffmpeg -y 3.restart Stable Diffusion.
now it works
Does anyone know how to fix the "IndexError: list index out of range"? I'm stuck on stage 4. I'm assuming it has something to do with the name of the folder the key frames are supposed to be in? I just put them where it generated the folder and kept the name the same
for the "IndexError: list index out of range"? you need the sequece file name only as 7digitnumbers. for instance, 0000001.png 0000002.png 0000003.png..... do not add any letters to the file name. I think most errors with the ebsynth is from the file name. you do not have to make sequence files in SD, and you can use any other programs like premiere pro. But make sure the file name should be only 7digit numbers like above.
- install ffmpeg
- set the envrionment path to "ffmpeg\bin"
- in the project setting of the ebsynth extension, in Original Movie Path put the actual video path and the file name like this, ...\A\face.mp4
- if you have any error to create sequence files in ebsynth extension in SD, use any other edit programs like premiere pro.
- follow the rule below. for the "IndexError: list index out of range"? you need the sequece file name only as 7digitnumbers. for instance, 0000001.png 0000002.png 0000003.png..... do not add any letters to the file name. I think most errors with the ebsynth is from the file name. you do not have to make sequence files in SD, and you can use any other programs like premiere pro. But make sure the file name should be only 7digit numbers like above.
video:81546kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown frame extracted Access denied with the following error:
Too many users have viewed or downloaded this file recently. Please
try accessing the file again later. If the file you are trying to
access is particularly large or is shared with many people, it may
take up to 24 hours to be able to view or download the file. If you
still can't access a file after 24 hours, contact your domain
administrator.
You may still be able to access the file from the browser:
https://drive.google.com/uc?id=13oBl5MTVcWER3YU4fSxW3ATlVfueFQPY
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ C:\Users\RTX3080\AppData\Local\Programs\Python\Python310\lib\runpy.py:196 in _run_module_as_main │
│ │
│ 193 │ main_globals = sys.modules["main"].dict │
│ 194 │ if alter_argv: │
│ 195 │ │ sys.argv[0] = mod_spec.origin │
│ ❱ 196 │ return _run_code(code, main_globals, None, │
│ 197 │ │ │ │ │ "main", mod_spec) │
│ 198 │
│ 199 def run_module(mod_name, init_globals=None, │
│ │
│ C:\Users\RTX3080\AppData\Local\Programs\Python\Python310\lib\runpy.py:86 in _run_code │
│ │
│ 83 │ │ │ │ │ loader = loader, │
│ 84 │ │ │ │ │ package = pkg_name, │
│ 85 │ │ │ │ │ spec = mod_spec) │
│ ❱ 86 │ exec(code, run_globals) │
│ 87 │ return run_globals │
│ 88 │
│ 89 def _run_module_code(code, init_globals=None, │
│ │
│ in
How to fix it?
video:81546kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown frame extracted Access denied with the following error:
Too many users have viewed or downloaded this file recently. Please try accessing the file again later. If the file you are trying to access is particularly large or is shared with many people, it may take up to 24 hours to be able to view or download the file. If you still can't access a file after 24 hours, contact your domain administrator.
You may still be able to access the file from the browser:
https://drive.google.com/uc?id=13oBl5MTVcWER3YU4fSxW3ATlVfueFQPY
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮ │ C:\Users\RTX3080\AppData\Local\Programs\Python\Python310\lib\runpy.py:196 in _run_module_as_main │ │ │ │ 193 │ main_globals = sys.modules["main"].dict │ │ 194 │ if alter_argv: │ │ 195 │ │ sys.argv[0] = mod_spec.origin │ │ ❱ 196 │ return _run_code(code, main_globals, None, │ │ 197 │ │ │ │ │ "main", mod_spec) │ │ 198 │ │ 199 def run_module(mod_name, init_globals=None, │ │ │ │ C:\Users\RTX3080\AppData\Local\Programs\Python\Python310\lib\runpy.py:86 in _run_code │ │ │ │ 83 │ │ │ │ │ loader = loader, │ │ 84 │ │ │ │ │ package = pkg_name, │ │ 85 │ │ │ │ │ spec = mod_spec) │ │ ❱ 86 │ exec(code, run_globals) │ │ 87 │ return run_globals │ │ 88 │ │ 89 def _run_module_code(code, init_globals=None, │ │ │ │ in :7 │ │ │ │ 4 from transparent_background import console │ │ 5 if name == 'main': │ │ 6 │ sys.argv[0] = re.sub(r'(-script.pyw|.exe)?$', '', sys.argv[0]) │ │ ❱ 7 │ sys.exit(console()) │ │ 8 │ │ │ │ C:\stable-diffusion-webui-master\venv\lib\site-packages\transparent_background\Remover.py:162 in │ │ console │ │ │ │ 159 │ │ 160 def console(): │ │ 161 │ args = parse_args() │ │ ❱ 162 │ remover = Remover(fast=args.fast, jit=args.jit, device=args.device, ckpt=args.ckpt) │ │ 163 │ │ │ 164 │ if args.source.isnumeric() is True: │ │ 165 │ │ save_dir = None │ │ │ │ C:\stable-diffusion-webui-master\venv\lib\site-packages\transparent_background\Remover.py:79 in │ │ init │ │ │ │ 76 │ │ │ │ 77 │ │ self.model = InSPyReNet_SwinB(depth=64, pretrained=False, **self.meta) │ │ 78 │ │ self.model.eval() │ │ ❱ 79 │ │ self.model.load_state_dict(torch.load(os.path.join(ckpt_dir, ckpt_name), map_loc │ │ 80 │ │ self.model = self.model.to(self.device) │ │ 81 │ │ │ │ 82 │ │ if jit: │ │ │ │ C:\stable-diffusion-webui-master\venv\lib\site-packages\torch\serialization.py:791 in load │ │ │ │ 788 │ if 'encoding' not in pickle_load_args.keys(): │ │ 789 │ │ pickle_load_args['encoding'] = 'utf-8' │ │ 790 │ │ │ ❱ 791 │ with _open_file_like(f, 'rb') as opened_file: │ │ 792 │ │ if _is_zipfile(opened_file): │ │ 793 │ │ │ # The zipfile reader is going to advance the current file position. │ │ 794 │ │ │ # If we want to actually tail call to torch.jit.load, we need to │ │ │ │ C:\stable-diffusion-webui-master\venv\lib\site-packages\torch\serialization.py:271 in │ │ _open_file_like │ │ │ │ 268 │ │ 269 def _open_file_like(name_or_buffer, mode): │ │ 270 │ if _is_path(name_or_buffer): │ │ ❱ 271 │ │ return _open_file(name_or_buffer, mode) │ │ 272 │ else: │ │ 273 │ │ if 'w' in mode: │ │ 274 │ │ │ return _open_buffer_writer(name_or_buffer) │ │ │ │ C:\stable-diffusion-webui-master\venv\lib\site-packages\torch\serialization.py:252 in init │ │ │ │ 249 │ │ 250 class _open_file(_opener): │ │ 251 │ def init(self, name, mode): │ │ ❱ 252 │ │ super().init(open(name, mode)) │ │ 253 │ │ │ 254 │ def exit(self, *args): │ │ 255 │ │ self.file_like.close() │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\RTX3080.transparent-background\ckpt_base.pth' mask created How to fix it?
video:81546kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown frame extracted Access denied with the following error:
Too many users have viewed or downloaded this file recently. Please try accessing the file again later. If the file you are trying to access is particularly large or is shared with many people, it may take up to 24 hours to be able to view or download the file. If you still can't access a file after 24 hours, contact your domain administrator.
You may still be able to access the file from the browser:
https://drive.google.com/uc?id=13oBl5MTVcWER3YU4fSxW3ATlVfueFQPY
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮ │ C:\Users\RTX3080\AppData\Local\Programs\Python\Python310\lib\runpy.py:196 in _run_module_as_main │ │ │ │ 193 │ main_globals = sys.modules["main"].dict │ │ 194 │ if alter_argv: │ │ 195 │ │ sys.argv[0] = mod_spec.origin │ │ ❱ 196 │ return _run_code(code, main_globals, None, │ │ 197 │ │ │ │ │ "main", mod_spec) │ │ 198 │ │ 199 def run_module(mod_name, init_globals=None, │ │ │ │ C:\Users\RTX3080\AppData\Local\Programs\Python\Python310\lib\runpy.py:86 in _run_code │ │ │ │ 83 │ │ │ │ │ loader = loader, │ │ 84 │ │ │ │ │ package = pkg_name, │ │ 85 │ │ │ │ │ spec = mod_spec) │ │ ❱ 86 │ exec(code, run_globals) │ │ 87 │ return run_globals │ │ 88 │ │ 89 def _run_module_code(code, init_globals=None, │ │ │ │ in :7 │ │ │ │ 4 from transparent_background import console │ │ 5 if name == 'main': │ │ 6 │ sys.argv[0] = re.sub(r'(-script.pyw|.exe)?$', '', sys.argv[0]) │ │ ❱ 7 │ sys.exit(console()) │ │ 8 │ │ │ │ C:\stable-diffusion-webui-master\venv\lib\site-packages\transparent_background\Remover.py:162 in │ │ console │ │ │ │ 159 │ │ 160 def console(): │ │ 161 │ args = parse_args() │ │ ❱ 162 │ remover = Remover(fast=args.fast, jit=args.jit, device=args.device, ckpt=args.ckpt) │ │ 163 │ │ │ 164 │ if args.source.isnumeric() is True: │ │ 165 │ │ save_dir = None │ │ │ │ C:\stable-diffusion-webui-master\venv\lib\site-packages\transparent_background\Remover.py:79 in │ │ init │ │ │ │ 76 │ │ │ │ 77 │ │ self.model = InSPyReNet_SwinB(depth=64, pretrained=False, **self.meta) │ │ 78 │ │ self.model.eval() │ │ ❱ 79 │ │ self.model.load_state_dict(torch.load(os.path.join(ckpt_dir, ckpt_name), map_loc │ │ 80 │ │ self.model = self.model.to(self.device) │ │ 81 │ │ │ │ 82 │ │ if jit: │ │ │ │ C:\stable-diffusion-webui-master\venv\lib\site-packages\torch\serialization.py:791 in load │ │ │ │ 788 │ if 'encoding' not in pickle_load_args.keys(): │ │ 789 │ │ pickle_load_args['encoding'] = 'utf-8' │ │ 790 │ │ │ ❱ 791 │ with _open_file_like(f, 'rb') as opened_file: │ │ 792 │ │ if _is_zipfile(opened_file): │ │ 793 │ │ │ # The zipfile reader is going to advance the current file position. │ │ 794 │ │ │ # If we want to actually tail call to torch.jit.load, we need to │ │ │ │ C:\stable-diffusion-webui-master\venv\lib\site-packages\torch\serialization.py:271 in │ │ _open_file_like │ │ │ │ 268 │ │ 269 def _open_file_like(name_or_buffer, mode): │ │ 270 │ if _is_path(name_or_buffer): │ │ ❱ 271 │ │ return _open_file(name_or_buffer, mode) │ │ 272 │ else: │ │ 273 │ │ if 'w' in mode: │ │ 274 │ │ │ return _open_buffer_writer(name_or_buffer) │ │ │ │ C:\stable-diffusion-webui-master\venv\lib\site-packages\torch\serialization.py:252 in init │ │ │ │ 249 │ │ 250 class _open_file(_opener): │ │ 251 │ def init(self, name, mode): │ │ ❱ 252 │ │ super().init(open(name, mode)) │ │ 253 │ │ │ 254 │ def exit(self, *args): │ │ 255 │ │ self.file_like.close() │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\RTX3080.transparent-background\ckpt_base.pth' mask created How to fix it?
I have the same issue don't know hot to fix it
Hi everyone I've found the answer https://github.com/s9roll7/ebsynth_utility/issues/26 basically we have to download the file it says (latest.pth) and rename it to ckpt_base.pth and there we go <3
大家好我已经找到答案s9roll7/ebsynth_utility#26基本上我们必须下载它说的文件 (latest.pth) 并将其重命名为 ckpt_base.pth 然后我们就可以了 <3
请问您是放在哪个路径的,我把ckpt_base.pth文件,放在 stable-diffusion-webui\venv\Lib\site-packages\transparent_background 里面,也不行。
this resloved! https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/9446#issuecomment-1518523409
大家好我已经找到答案s9roll7/ebsynth_utility#26基本上我们必须下载它说的文件 (latest.pth) 并将其重命名为 ckpt_base.pth 然后我们就可以了 <3
请问您是放在哪个路径的,我把ckpt_base.pth文件,放在 stable-diffusion-webui\venv\Lib\site-packages\transparent_background 里面,也不行。 大哥 你能点进去看看别人回答?说的很清楚了 放到用户名下面.transparent-backgound 文件夹下,如果你能用Pip 直接安装就不用这个了
this resloved! https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/9446#issuecomment-1518523409
[Problem Already Solved] BY LIAM1125 I have the same problem. But I solved with the following step:
Project directory and Original Movie Path must keep a role: "without spaces and without &" . For example "F:\01_Video_Editing\dir01" replace "F:\01-Video&Editing\dir 01"
Do not use put video into the Original Movie Path, relpace it. After dragging and dropping video that the Original Movie Path was pointing to a temp directory. so we change the path from "C:\Users\Administrator\AppData\Local\Temp\5c5XXXX.mp4" to "F:\01_Video_Editing\test01.mp4" .
make sure the project directory is empty.
THIS SOLVED MY PROBLEM TY TY TYVM