Is Training Console Output Broken? #390

Closed
opened 2023-09-18 07:02:13 +00:00 by FergasunFergie · 2 comments

I am currently running training. It's not updating the current epochs or letting me know the status in the console. It does appear to be running. I normally get an update in the console window that let's me know how long it will take, etc.

Not sure if any of this will be helpful:

[Training] [2023-09-17T23:43:50.431528] 23-09-17 23:43:49.810 - INFO: Random seed: 1857
[Training] [2023-09-17T23:43:54.112989] 23-09-17 23:43:54.112 - INFO: Number of training data elements: 38, iters: 1
[Training] [2023-09-17T23:43:54.116990] 23-09-17 23:43:54.112 - INFO: Total epochs needed: 250 for iters 250
[Training] [2023-09-17T23:43:56.688310] D:\APPLICATIONS\ai-voice-cloning-2\ai-voice-cloning\venv\lib\site-packages\transformers\configuration_utils.py:363: UserWarning: Passing gradient_checkpointing to a config initialization is deprecated and will be removed in v5 Transformers. Using model.gradient_checkpointing_enable() instead, or if you are using the Trainer API, pass gradient_checkpointing=True in your TrainingArguments.
[Training] [2023-09-17T23:43:56.694311] warnings.warn(
[Training] [2023-09-17T23:44:08.142860] 23-09-17 23:44:08.142 - INFO: Loading model for [./models/tortoise/autoregressive.pth]
[Training] [2023-09-17T23:44:25.610030] 23-09-17 23:44:25.596 - INFO: Start training from epoch: 0, iter: 0
[Training] [2023-09-17T23:44:28.912526] NOTE: Redirects are currently not supported in Windows or MacOs.
[Training] [2023-09-17T23:44:31.350946] NOTE: Redirects are currently not supported in Windows or MacOs.
[Training] [2023-09-17T23:44:33.627466] D:\APPLICATIONS\ai-voice-cloning-2\ai-voice-cloning\venv\lib\site-packages\torch\optim\lr_scheduler.py:139: UserWarning: Detected call of lr_scheduler.step() before optimizer.step(). In PyTorch 1.1.0 and later, you should call them in the opposite order: optimizer.step() before lr_scheduler.step(). Failure to do this will result in PyTorch skipping the first value of the learning rate schedule. See more details at https://pytorch.org/docs/stable/optim.html#how-to-adjust-learning-rate
[Training] [2023-09-17T23:44:33.627466] warnings.warn("Detected call of lr_scheduler.step() before optimizer.step(). "
D:\APPLICATIONS\ai-voice-cloning-2\ai-voice-cloning\venv\lib\site-packages\altair\utils\deprecation.py:65: AltairDeprecationWarning: 'selection' is deprecated.
Use 'selection_point()' or 'selection_interval()' instead; these functions also include more helpful docstrings.
warnings.warn(message, AltairDeprecationWarning, stacklevel=1)
D:\APPLICATIONS\ai-voice-cloning-2\ai-voice-cloning\venv\lib\site-packages\altair\vegalite\v5\api.py:432: AltairDeprecationWarning: The types 'single' and 'multi' are now
combined and should be specified using "selection_point()".
warnings.warn(
D:\APPLICATIONS\ai-voice-cloning-2\ai-voice-cloning\venv\lib\site-packages\altair\utils\deprecation.py:65: AltairDeprecationWarning: 'add_selection' is deprecated. Use 'add_params' instead.
warnings.warn(message, AltairDeprecationWarning, stacklevel=1)
D:\APPLICATIONS\ai-voice-cloning-2\ai-voice-cloning\venv\lib\site-packages\altair\utils\core.py:410: FutureWarning: the convert_dtype parameter is deprecated and will be removed in a future version. Do ser.astype(object).apply() instead if you want convert_dtype=False.
col = df[col_name].apply(to_list_if_array, convert_dtype=False)
D:\APPLICATIONS\ai-voice-cloning-2\ai-voice-cloning\venv\lib\site-packages\altair\utils\deprecation.py:65: AltairDeprecationWarning: 'selection' is deprecated.
Use 'selection_point()' or 'selection_interval()' instead; these functions also include more helpful docstrings.
warnings.warn(message, AltairDeprecationWarning, stacklevel=1)
D:\APPLICATIONS\ai-voice-cloning-2\ai-voice-cloning\venv\lib\site-packages\altair\vegalite\v5\api.py:432: AltairDeprecationWarning: The types 'single' and 'multi' are now
combined and should be specified using "selection_point()".
warnings.warn(
D:\APPLICATIONS\ai-voice-cloning-2\ai-voice-cloning\venv\lib\site-packages\altair\utils\deprecation.py:65: AltairDeprecationWarning: 'add_selection' is deprecated. Use 'add_params' instead.
warnings.warn(message, AltairDeprecationWarning, stacklevel=1)
D:\APPLICATIONS\ai-voice-cloning-2\ai-voice-cloning\venv\lib\site-packages\altair\utils\core.py:410: FutureWarning: the convert_dtype parameter is deprecated and will be removed in a future version. Do ser.astype(object).apply() instead if you want convert_dtype=False.
col = df[col_name].apply(to_list_if_array, convert_dtype=False)
D:\APPLICATIONS\ai-voice-cloning-2\ai-voice-cloning\venv\lib\site-packages\altair\utils\deprecation.py:65: AltairDeprecationWarning: 'selection' is deprecated.
Use 'selection_point()' or 'selection_interval()' instead; these functions also include more helpful docstrings.
warnings.warn(message, AltairDeprecationWarning, stacklevel=1)
D:\APPLICATIONS\ai-voice-cloning-2\ai-voice-cloning\venv\lib\site-packages\altair\vegalite\v5\api.py:432: AltairDeprecationWarning: The types 'single' and 'multi' are now
combined and should be specified using "selection_point()".
warnings.warn(

I am currently running training. It's not updating the current epochs or letting me know the status in the console. It does appear to be running. I normally get an update in the console window that let's me know how long it will take, etc. Not sure if any of this will be helpful: [Training] [2023-09-17T23:43:50.431528] 23-09-17 23:43:49.810 - INFO: Random seed: 1857 [Training] [2023-09-17T23:43:54.112989] 23-09-17 23:43:54.112 - INFO: Number of training data elements: 38, iters: 1 [Training] [2023-09-17T23:43:54.116990] 23-09-17 23:43:54.112 - INFO: Total epochs needed: 250 for iters 250 [Training] [2023-09-17T23:43:56.688310] D:\APPLICATIONS\ai-voice-cloning-2\ai-voice-cloning\venv\lib\site-packages\transformers\configuration_utils.py:363: UserWarning: Passing `gradient_checkpointing` to a config initialization is deprecated and will be removed in v5 Transformers. Using `model.gradient_checkpointing_enable()` instead, or if you are using the `Trainer` API, pass `gradient_checkpointing=True` in your `TrainingArguments`. [Training] [2023-09-17T23:43:56.694311] warnings.warn( [Training] [2023-09-17T23:44:08.142860] 23-09-17 23:44:08.142 - INFO: Loading model for [./models/tortoise/autoregressive.pth] [Training] [2023-09-17T23:44:25.610030] 23-09-17 23:44:25.596 - INFO: Start training from epoch: 0, iter: 0 [Training] [2023-09-17T23:44:28.912526] NOTE: Redirects are currently not supported in Windows or MacOs. [Training] [2023-09-17T23:44:31.350946] NOTE: Redirects are currently not supported in Windows or MacOs. [Training] [2023-09-17T23:44:33.627466] D:\APPLICATIONS\ai-voice-cloning-2\ai-voice-cloning\venv\lib\site-packages\torch\optim\lr_scheduler.py:139: UserWarning: Detected call of `lr_scheduler.step()` before `optimizer.step()`. In PyTorch 1.1.0 and later, you should call them in the opposite order: `optimizer.step()` before `lr_scheduler.step()`. Failure to do this will result in PyTorch skipping the first value of the learning rate schedule. See more details at https://pytorch.org/docs/stable/optim.html#how-to-adjust-learning-rate [Training] [2023-09-17T23:44:33.627466] warnings.warn("Detected call of `lr_scheduler.step()` before `optimizer.step()`. " D:\APPLICATIONS\ai-voice-cloning-2\ai-voice-cloning\venv\lib\site-packages\altair\utils\deprecation.py:65: AltairDeprecationWarning: 'selection' is deprecated. Use 'selection_point()' or 'selection_interval()' instead; these functions also include more helpful docstrings. warnings.warn(message, AltairDeprecationWarning, stacklevel=1) D:\APPLICATIONS\ai-voice-cloning-2\ai-voice-cloning\venv\lib\site-packages\altair\vegalite\v5\api.py:432: AltairDeprecationWarning: The types 'single' and 'multi' are now combined and should be specified using "selection_point()". warnings.warn( D:\APPLICATIONS\ai-voice-cloning-2\ai-voice-cloning\venv\lib\site-packages\altair\utils\deprecation.py:65: AltairDeprecationWarning: 'add_selection' is deprecated. Use 'add_params' instead. warnings.warn(message, AltairDeprecationWarning, stacklevel=1) D:\APPLICATIONS\ai-voice-cloning-2\ai-voice-cloning\venv\lib\site-packages\altair\utils\core.py:410: FutureWarning: the convert_dtype parameter is deprecated and will be removed in a future version. Do ``ser.astype(object).apply()`` instead if you want ``convert_dtype=False``. col = df[col_name].apply(to_list_if_array, convert_dtype=False) D:\APPLICATIONS\ai-voice-cloning-2\ai-voice-cloning\venv\lib\site-packages\altair\utils\deprecation.py:65: AltairDeprecationWarning: 'selection' is deprecated. Use 'selection_point()' or 'selection_interval()' instead; these functions also include more helpful docstrings. warnings.warn(message, AltairDeprecationWarning, stacklevel=1) D:\APPLICATIONS\ai-voice-cloning-2\ai-voice-cloning\venv\lib\site-packages\altair\vegalite\v5\api.py:432: AltairDeprecationWarning: The types 'single' and 'multi' are now combined and should be specified using "selection_point()". warnings.warn( D:\APPLICATIONS\ai-voice-cloning-2\ai-voice-cloning\venv\lib\site-packages\altair\utils\deprecation.py:65: AltairDeprecationWarning: 'add_selection' is deprecated. Use 'add_params' instead. warnings.warn(message, AltairDeprecationWarning, stacklevel=1) D:\APPLICATIONS\ai-voice-cloning-2\ai-voice-cloning\venv\lib\site-packages\altair\utils\core.py:410: FutureWarning: the convert_dtype parameter is deprecated and will be removed in a future version. Do ``ser.astype(object).apply()`` instead if you want ``convert_dtype=False``. col = df[col_name].apply(to_list_if_array, convert_dtype=False) D:\APPLICATIONS\ai-voice-cloning-2\ai-voice-cloning\venv\lib\site-packages\altair\utils\deprecation.py:65: AltairDeprecationWarning: 'selection' is deprecated. Use 'selection_point()' or 'selection_interval()' instead; these functions also include more helpful docstrings. warnings.warn(message, AltairDeprecationWarning, stacklevel=1) D:\APPLICATIONS\ai-voice-cloning-2\ai-voice-cloning\venv\lib\site-packages\altair\vegalite\v5\api.py:432: AltairDeprecationWarning: The types 'single' and 'multi' are now combined and should be specified using "selection_point()". warnings.warn(
Owner

Strange, I'll verify if I broke anything on my end when I get the chance, but all those errors might be fixed by running

.\venv\Scripts\activate
pip3 install altair==4.2.2 -U
deactivate
Strange, I'll verify if I broke anything on my end when I get the chance, but all those errors might be fixed by running ``` .\venv\Scripts\activate pip3 install altair==4.2.2 -U deactivate ```
Author

I am training again and it's working again. After a restart. I rebooted and restarted my computer.

Edit: Added in "after a restart"...

I am training again and it's working again. After a restart. I rebooted and restarted my computer. Edit: Added in "after a restart"...
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#390
No description provided.