Error when running training #139

Closed
opened 2023-03-15 06:50:49 +00:00 by ThrowawayAccount01 · 2 comments

On a fresh install, getting this error when trying to run training:

C:\Users\LXC PC\Desktop\mrqtts\ai-voice-cloning>call .\venv\Scripts\activate.bat
!WARNING! Automatically deduced sample batch size returned 1.
!WARNING! Automatically deduced sample batch size returned 1.
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Spawning process:  train.bat ./training/21/train.yaml
[Training] [2023-03-15T14:49:36.469457]
[Training] [2023-03-15T14:49:36.473968] (venv) C:\Users\LXC PC\Desktop\mrqtts\ai-voice-cloning>call .\venv\Scripts\activate.bat
[Training] [2023-03-15T14:49:37.804090] NOTE: Redirects are currently not supported in Windows or MacOs.
[Training] [2023-03-15T14:49:38.386132] Using BitsAndBytes optimizations
[Training] [2023-03-15T14:49:38.390142] Traceback (most recent call last):
[Training] [2023-03-15T14:49:38.390142]   File "C:\Users\LXC PC\Desktop\mrqtts\ai-voice-cloning\src\train.py", line 65, in <module>
[Training] [2023-03-15T14:49:38.393657]     from codes import train as tr
[Training] [2023-03-15T14:49:38.397665]   File "C:\Users\LXC PC\Desktop\mrqtts\ai-voice-cloning\./modules/dlas\codes\train.py", line 13, in <module>
[Training] [2023-03-15T14:49:38.401666]     from data.data_sampler import DistIterSampler
[Training] [2023-03-15T14:49:38.403674]   File "C:\Users\LXC PC\Desktop\mrqtts\ai-voice-cloning\./modules/dlas/codes\data\__init__.py", line 6, in <module>
[Training] [2023-03-15T14:49:38.405699]     from utils.util import opt_get
[Training] [2023-03-15T14:49:38.409705]   File "C:\Users\LXC PC\Desktop\mrqtts\ai-voice-cloning\./modules/dlas/codes\utils\util.py", line 25, in <module>
[Training] [2023-03-15T14:49:38.409705]     from torch._six import inf
[Training] [2023-03-15T14:49:38.413706] ModuleNotFoundError: No module named 'torch._six'
On a fresh install, getting this error when trying to run training: ``` C:\Users\LXC PC\Desktop\mrqtts\ai-voice-cloning>call .\venv\Scripts\activate.bat !WARNING! Automatically deduced sample batch size returned 1. !WARNING! Automatically deduced sample batch size returned 1. Running on local URL: http://127.0.0.1:7860 To create a public link, set `share=True` in `launch()`. Spawning process: train.bat ./training/21/train.yaml [Training] [2023-03-15T14:49:36.469457] [Training] [2023-03-15T14:49:36.473968] (venv) C:\Users\LXC PC\Desktop\mrqtts\ai-voice-cloning>call .\venv\Scripts\activate.bat [Training] [2023-03-15T14:49:37.804090] NOTE: Redirects are currently not supported in Windows or MacOs. [Training] [2023-03-15T14:49:38.386132] Using BitsAndBytes optimizations [Training] [2023-03-15T14:49:38.390142] Traceback (most recent call last): [Training] [2023-03-15T14:49:38.390142] File "C:\Users\LXC PC\Desktop\mrqtts\ai-voice-cloning\src\train.py", line 65, in <module> [Training] [2023-03-15T14:49:38.393657] from codes import train as tr [Training] [2023-03-15T14:49:38.397665] File "C:\Users\LXC PC\Desktop\mrqtts\ai-voice-cloning\./modules/dlas\codes\train.py", line 13, in <module> [Training] [2023-03-15T14:49:38.401666] from data.data_sampler import DistIterSampler [Training] [2023-03-15T14:49:38.403674] File "C:\Users\LXC PC\Desktop\mrqtts\ai-voice-cloning\./modules/dlas/codes\data\__init__.py", line 6, in <module> [Training] [2023-03-15T14:49:38.405699] from utils.util import opt_get [Training] [2023-03-15T14:49:38.409705] File "C:\Users\LXC PC\Desktop\mrqtts\ai-voice-cloning\./modules/dlas/codes\utils\util.py", line 25, in <module> [Training] [2023-03-15T14:49:38.409705] from torch._six import inf [Training] [2023-03-15T14:49:38.413706] ModuleNotFoundError: No module named 'torch._six' ```
Owner

image

Oh cringe. The upstream version of torch is now 2.0, whcih I suppose I have to either hand update DLAS to do what #135 suggests, or freeze to 1.13.1.

I suppose I'll just bite the bullet and hand-edit everything and use torch 2.0, and cross my fingers there's no other issues.

![image](/attachments/1061b011-328b-4ff5-b1c3-585a6992f29e) Oh cringe. The upstream version of torch is now 2.0, whcih I suppose I have to either hand update DLAS to do what #135 suggests, or freeze to 1.13.1. I *suppose* I'll just bite the bullet and hand-edit everything and use torch 2.0, and cross my fingers there's no other issues.
4.4 KiB
Owner

Fixed in mrq/DL-Art-School commit fd375670eb.

Fixed in mrq/DL-Art-School commit https://git.ecker.tech/mrq/DL-Art-School/commit/fd375670eb8a6fb8698e916d8cc9edfde03943b2.
mrq closed this issue 2023-03-15 16:27:19 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mrq/ai-voice-cloning#139
No description provided.