Not found torch_python.dll or one of its dependencies & 'utf-8' codec can't decode byte 0x84 in position 0: invalid start byte
#460
Closed
opened
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. It CANNOT be undone. Continue?
I tried to train models in Russian and English. in both cases, I get errors:
Unloaded TTS Spawning process: train.bat ./training/voice sample en/train.yaml [Training] [2023-12-06T15:56:24.834538] [Training] [2023-12-06T15:56:24.838539] (venv) D:\Users\sansa\Programming\Projects\ai-voice-cloning>call .\venv\Scripts\activate.bat [Training] [2023-12-06T15:56:25.450928] Traceback (most recent call last): [Training] [2023-12-06T15:56:25.454927] File "D:\Users\sansa\Programming\Projects\ai-voice-cloning\src\train.py", line 7, in <module> [Training] [2023-12-06T15:56:25.457927] from torch.distributed.run import main as torchrun [Training] [2023-12-06T15:56:25.464929] raise err [Training] [2023-12-06T15:56:25.467926] OSError: [WinError 126] Не найден указанный модуль. Error loading "D:\Users\sansa\Programming\Projects\ai-voice-cloning\venv\lib\site-packages\torch\lib\torch_python.dll" or one of its depende ncies. Traceback (most recent call last): File "C:\Users\sansa\AppData\Local\Programs\Python\Python39\lib\site-packages\gradio\routes.py", line 394, in run_predict output = await app.get_blocks().process_api( File "C:\Users\sansa\AppData\Local\Programs\Python\Python39\lib\site-packages\gradio\blocks.py", line 1075, in process_api result = await self.call_function( File "C:\Users\sansa\AppData\Local\Programs\Python\Python39\lib\site-packages\gradio\blocks.py", line 898, in call_function prediction = await anyio.to_thread.run_sync( File "C:\Users\sansa\AppData\Local\Programs\Python\Python39\lib\site-packages\anyio\to_thread.py", line 33, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "C:\Users\sansa\AppData\Local\Programs\Python\Python39\lib\site-packages\anyio\_backends\_asyncio.py", line 877, in run_sync_in_worker_thread return await future File "C:\Users\sansa\AppData\Local\Programs\Python\Python39\lib\site-packages\anyio\_backends\_asyncio.py", line 807, in run result = context.run(func, *args) File "C:\Users\sansa\AppData\Local\Programs\Python\Python39\lib\site-packages\gradio\utils.py", line 549, in async_iteration return next(iterator) File "D:\Users\sansa\Programming\Projects\ai-voice-cloning\src\utils.py", line 2007, in run_training for line in iter(training_state.process.stdout.readline, ""): File "C:\Users\sansa\AppData\Local\Programs\Python\Python39\lib\codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0x84 in position 0: invalid start byte
@mrq can you help me with this problem?
I decided to completely reinstall the project and the python interpreter