# Mainline Colab

Last update: Oct 23, 2024


# Pros & Cons

✔️ PROS:
CONS
  • Has TensorBoard.
  • Inconvenient.
  • Takes some time to set up.
  • You can't leave training unsupervised.
  • Doesn't have Mangio-crepe.
  • For free users:
    • It's slower compared to local RVC.
    • Can't train long datasets without pausing the process.


#

# How to Setup

#

# 1. Running cells.

  1. Start by accessing the colab here.

  2. Then run the first two cells to install all the requirements.


#

# 2. Installing Pretrains.

  1. If you wish to install a custom pretrain go to the 'Download Custom Pretrains' cell and go into the dropdown menu and find the pretrain you want.

    image
  2. If the pretrain you want isn't there go to the top left and click '+ Code'.

    image
  3. Then in the new cell type in !wget LINK TO PRETRAIN

image
#

# 3. Ngrok.

  1. Scroll down to the fifth cell and you should see a section where you put your ngrok token. If you don't have a ngrok acount sign up here.

    2. Once you have an acount you can authenticate your ngrok tunnel agent here: https://dashboard.ngrok.com/get-started/your-authtoken
  2. put the Ngrok token in like so:
image


#

# 3. The Imjoy Elfinder WebGUI.

The interface should look like this with your D and G files being located here. Here you can manage your files. Whenever you want to download files from the Imjoy GUI just double click. Downloading files uses up the Ngrok bandwith data.

image
#

# Starting RVC

#

# 1. Click the RVC link.

It should take you to the GUI where you can then go to the top and click the 'Train' tab.

image

# 2. Setup.

  1. Run through the normal RVC setup with setting your model name, sample rate and such. If you are unable to see the 32k sample rate click on V1 then swap back to V2.
  1. In google drive create a folder named training and inside it make another folder nameddataset then drag and drop your dataset in it. Then continue with normal RVC setup and training

# 3. Syncing Graphs.

  1. For syncing graphs you need to train however many epochs you have set you save frequency then go into the file manager and find your model which should be in training/weights, in its name it should have a step count and epoch count like this: model_name_e(number)_s(number).
  1. Once you know how many steps the model trained for stop training the model by stopping the cell.
image
  1. Then start the same cell and open then navigate to assest/weights in google colab and delete all of your previous models.

  2. Then navigate to the 32k.json file which is located in the V2 folder of /configs and edit log_interval to the amount of steps your model took, save it.

image
  1. Now go to your /logs/ folder and do the same thing. Modify the log interval of the config.json with your step count.
image
  1. Now delete Eval folder, tf-events file, G & D_23333333 files and train log file in /logs/ folder.

# 4. Resuming Training.

  1. Do not process and feature extract again because those files are already in the /logs/ folder. Use the same model name, sample rate, batch size, pretrain, and save frequency to train the model again in the RVC GUI.

# ‎ ‎

# You have reached the end.

Report Issues