-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Availability of the Colab notebook #1168
Comments
I had the same experience trying to run the provided Colab notebook and decided on a simpler approach, as shown below. Each code block here represents a code block that you add in Colab, and I'm focusing only on training and not including inference, as the original Colab notebook has. Also, make sure that you select a GPU instance, otherwise this won't work. #@title Mount Google Drive
from google.colab import drive
drive.mount('/content/drive')
For this next step, I created a folder
This will create a few folders, and because I'm running on the free T4 Colab instance, I optimized my config file located in my Google Drive under {
"train": {
"epochs": 201,
"batch_size": 16
}
} If you made changes to the config file, save/upload them before proceeding. It's worth noting that using 16 as the
And that's it! For the training step, if you want to load the TensorBoard so that you have a visual representation of the training, you can use the following instead of the previous:
For my dataset with about 13 minutes of training audio, it took just over an hour to complete. And now that I understand how long it takes to run, I can increase the |
I'm experiencing an issue while trying to train a model using so-vits-svc-fork on Google Colab. I followed the provided notebook instructions and structured my files in Google Drive as follows: 📂 MyDrive/TTS/sovits/ After mounting Google Drive and installing dependencies, I executed the preprocessing steps successfully: Mount Google Drivefrom google.colab import drive Install dependencies!python -m pip install so-vits-svc-fork Generate config and preprocess data!cd /content/drive/MyDrive/TTS/sovits && svc pre-resample && svc pre-config Generate Hubert features!cd /content/drive/MyDrive/TTS/sovits && svc pre-hubert Start training!cd /content/drive/MyDrive/TTS/sovits && svc train The training command executes but doesn’t seem to progress. The output only shows: I checked TensorBoard logs at /content/drive/MyDrive/TTS/sovits/logs/44k/lightning_logs/version_0/, but no relevant data appears. Additionally, GPU availability is confirmed (nvidia-smi shows Tesla T4 with CUDA 12.4), but it's not being utilized (GPU-Util: 0%). I have tried:
At this point, I’m unsure what is preventing the training from progressing. Has anyone encountered a similar issue on Colab? Is there a way to enable detailed logs or debug mode to identify the problem? |
Many issues have been opened, but I think the notebook is just barely working, although it is rubbish.
Describe the bug
To Reproduce
Run notebook
Additional context
No response
Version
2024/05/10
Platform
Google Colab
Code of Conduct
No Duplicate
The text was updated successfully, but these errors were encountered: