facechain icon indicating copy to clipboard operation
facechain copied to clipboard

FileNotFoundError ??

Open smacotela opened this issue 2 years ago • 2 comments

Traceback (most recent call last): File "E:\A1111\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 488, in run_predict output = await app.get_blocks().process_api( File "E:\A1111\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1431, in process_api result = await self.call_function( File "E:\A1111\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1103, in call_function prediction = await anyio.to_thread.run_sync( File "E:\A1111\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 "E:\A1111\stable-diffusion-webui\venv\lib\site-packages\anyio_backends_asyncio.py", line 877, in run_sync_in_worker_thread return await future File "E:\A1111\stable-diffusion-webui\venv\lib\site-packages\anyio_backends_asyncio.py", line 807, in run result = context.run(func, *args) File "E:\A1111\stable-diffusion-webui\venv\lib\site-packages\gradio\utils.py", line 707, in wrapper response = f(*args, **kwargs) File "E:\A1111\stable-diffusion-webui\extensions\facechain\app.py", line 691, in run train_lora_fn(base_model_path=base_model_path, File "E:\A1111\stable-diffusion-webui\extensions\facechain\app.py", line 111, in train_lora_fn subprocess.run(command, check=True) File "C:\Users\Admin\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 501, in run with Popen(*popenargs, **kwargs) as process: File "C:\Users\Admin\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 969, in init self._execute_child(args, executable, preexec_fn, close_fds, File "C:\Users\Admin\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 1438, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, FileNotFoundError: [WinError 2] The system cannot find the file specified

smacotela avatar Nov 07 '23 20:11 smacotela

It is seems the preprocess doesn't produce the right output. You may need to add all the output of console or just try to train the lora by direct python command to find the exactly window error.

ultimatech-cn avatar Nov 08 '23 02:11 ultimatech-cn

It is seems the preprocess doesn't produce the right output. You may need to add all the output of console or just try to train the lora by direct python command to find the exactly window error.

On windows 11, how do you directly train the Lora?

lunar-studio avatar Nov 24 '23 18:11 lunar-studio

please try out the newest train-free, 10s inference version facechain-fact.

sunbaigui avatar Jun 04 '24 09:06 sunbaigui