#Overtraining?

1 messages · Page 1 of 1 (latest)

radiant sentinel
#

is my model overtraining?

obsidian rover
#

g/total is just average iirc. check specially g/mel and g/kl (i may summon lyery about the g/kl thingy xd)

obsidian rover
#

Yea not overtraining ig.

glass oracle
#

How to know if its overtrained

radiant sentinel
#

How can you know

glass oracle
#

Idk

obsidian rover
radiant sentinel
#

I know but how can you tell by the graph

obsidian rover
#

or keep training to see if the issue continues

radiant sentinel
#

So g/total isn't the one that I should look at

obsidian rover
glass oracle
radiant sentinel
#

The g/mel g/kl are going down but g/total is going up

whole anvil
whole anvil
#

like not wanting to go down again

radiant sentinel
whole anvil
#

the one u believe is overtraining

radiant sentinel
#

Sure 1 sec

whole anvil
#

u can wait a bit more to see if it goes down again or stop training now

dense oyster
whole anvil
radiant sentinel
radiant sentinel
whole anvil
radiant sentinel
#

I see

whole anvil
#

mel is the clarity of your model, kl is how well the model learns the voice

#

g/total is the avg of fm, mel and kl
it shows u the real improvement of the model

radiant sentinel
#

What's fm?

whole anvil
radiant sentinel
#

Thank you for explaining it so well! I really appreciate it!

#

Also, do I pick the model before the lowest point or do I pick the one that is the lowest point

whole anvil
dense oyster
radiant sentinel
#

The model is at 803 epochs now

#

Wish that there was a way to detect overtraining faster

whole anvil
#

automatic overtraining detectors are unreliable yea sadge

radiant sentinel
#

I saw a lot of graphs of people where the lines weren't going crazy up and down like mine

whole anvil
#

but after you train more models is going to be easier to spot overtraining

radiant sentinel
radiant sentinel
whole anvil
dense oyster
whole anvil
#

very safe and works

radiant sentinel
#

I don't think my pc can handle that

#

Lol

whole anvil
#

sadge ow i see, anything below 8 gives you those crazy graphs

radiant sentinel
#

I use batch size 2

#

Didn't really know if using a lower batch size had a bad impact on the voice of the model

whole anvil
radiant sentinel
#

Oh

#

Hmm

whole anvil
#

like your model overfitting too fast

#

or robotic feeling in the voice

dense oyster
# radiant sentinel I use batch size 2

if your gpu vram is too low or weak, you can opt for some colab/kaggle notebook that uses T4 with 15 gb vram that surely enables to use batch size 8-16

whole anvil
radiant sentinel
#

I tried colab but i didnt understand it

#

It was so hard

whole anvil
radiant sentinel
#

I haven't

whole anvil
#

and disable extra

#

no need to run the theme loader cell

#

you first run these two

#

after that you put your ngrok token here

#

when you do that, you can now run the start running cell and it should work fine

#

this colab uses google drive as their file storage
you can upload your dataset's folder into google drive

#

your dataset location would be something like this /content/drive/MyDrive/mydataset

radiant sentinel
#

I'll try this when I'm home

#

Does that mean it won't use my pcs gpu

whole anvil
obsidian rover
#

it was always a requirement to check g/mel and g/kl

#

iirc the guides even said that you needed to check these graphs

whole anvil
obsidian rover
#

we check g/mel and g/kl, you can't predict graphs without seeing them 🙂

radiant sentinel
#

Does that mean that i can also set it up on my phone

whole anvil
#

i have no idea how to behaves there tho, on pc if you close the tab, it ends* your current session

radiant sentinel
#

Also since it doesnt use my gpu it means that i can do other stuff too since it doesnt hinder the pcs performance

radiant sentinel
#

Alr

#

Thank you all sm for your help!

#

What is a ngrok token

safe coveBOT
#

Ayo? @radiant sentinel level 11 !!! lfg

whole anvil
#

copy this

whole anvil
radiant sentinel
#

Do I need to run the cel everytime I want to train a model

#

And does continuing training a model work the same as local rvc

whole anvil
whole anvil
#

around 2~4 hours

#

the colab is still going to save your model progress, if your training stops because you hit your daily limit, you can continue training later

#

kaggle has 12 hours worth of daily limit and a 30 hour free weekly
is a bit complicated to use but we have a very good tutorial explaining how to use it

#

so in case you're not happy with google's daily limit
i'll leave the kaggle tutorial here

#

-kaggle

compact stagBOT
whole anvil
#
#

the tutorial also teaches you how to do the ngrok part as well

radiant sentinel
#

Thank you sm!

radiant sentinel
#

Do I uncheck custop pretrains when running every cell

whole anvil
#

U can ignore it

radiant sentinel
#

It gives me an error when i start running the tab with the ngrok_token

#

Nevermind i got it

#

When i open the url it says page not available

whole anvil
radiant sentinel
#

Wait it opened

#

It looks exactly like the local rvc

whole anvil
#

nice

radiant sentinel
#

So i cant use the file that on in my file explorer on my pc

#

Does it have to be on google drive?

whole anvil
radiant sentinel
#

I'm confused. I used a file that's on my pc and it's training

#

Oh wait

#

Its says error

#

Lol

whole anvil
radiant sentinel
#

But how do i get the google drive path file

whole anvil
#

your path is /content/drive/MyDrive/mydataset

#

with mydataset being the name of your folder of course

#

so if you named your folder "dataset" the path would be /content/drive/MyDrive/dataset

radiant sentinel
#

For me dataset is in a folder called training

whole anvil
#

/content/drive/MyDrive/training/nameofthedataset

#

if you put your dataset inside the datasets folder then it would be /content/drive/MyDrive/training/datasets/dataset

#

or if you didnt create a folder inside the datasets folder
just do /content/drive/MyDrive/training/datasets

radiant sentinel
#

/content/drive/MyDrive/trainingdatasets/nameoffile

#

but it didnt work

whole anvil
#

you forgot to put one "/"

#

/training/datasets/

radiant sentinel
#

I changed it and still nothing

#

Hmmm

whole anvil
#

what if you try training/datasets/nameoffile instead

radiant sentinel
#

It still says no such file directory

whole anvil
#

zip files doesn't work for example

radiant sentinel
#

No its just the file

#

I put the file in datasets

whole anvil
#

try if that works

#

don't put the name of your audio at the end

#

copy and paste what i sent

radiant sentinel
#

It worked!

whole anvil
radiant sentinel
#

Batch size 8 right?

whole anvil
radiant sentinel
#

I used to use a custom pre trained model but are the og models better and should i not change it

whole anvil
#

don't change them

radiant sentinel
#

Wait i did everything and pressed train and it gives me an error

whole anvil
#

see if its training there

#

should be saying epoch 1 or something like that

radiant sentinel
#

It says epoch 41 for some reason

#

It also says creating converter

whole anvil
radiant sentinel
#

Wait now it says epoch 1

#

That was weird

whole anvil
#

you can now open the tensorboard link that was generated when you ran the cell

#

scroll up in the start running cell until you find it

radiant sentinel
#

Yes I see it

whole anvil
#

nice, now you can let it train without problems

#

remember to not close the google colab tab

radiant sentinel
#

The rvc tab still says error but it is training right?

whole anvil
radiant sentinel
#

I refreshed the tensorboard but its just loading

whole anvil
#

is a bit laggy compared to local tensorboard because is running on the internet and not locally

#

so if you're having some internet issues is going to be a bit slower

radiant sentinel
#

I don't get it already saved 42 epochs to my drive folder

#

Even tho colab says that it just saved epoch 2

#

And the epochs saved are folders

whole anvil
radiant sentinel
#

folders not pth files

whole anvil
#

thats so weird, never happen to me

#

rvc saves two things
G and D, and .pth

#

it shouldnt create new folders

radiant sentinel
#

The weights folder right

#

Thats where the pth files gets saved

whole anvil
radiant sentinel
#

Their all folders

whole anvil
radiant sentinel
#

Oh yeah you're right

whole anvil
#

to download them, right click the .pth file and click download

radiant sentinel
#

I did

whole anvil
#

nice

radiant sentinel
#

But i downlpaded the 41st epoch

#

Even tho colab says its still at epoch 13

whole anvil
#

those epochs are from an older unfinished training of yours

#

the epoch 13 is actually this training

radiant sentinel
#

But i never trained this dataset

whole anvil
#

maybe you tried training on colab before?

radiant sentinel
#

I haven't

#

Thats why i find it really weird haha

whole anvil
#

lol

#

sure it is

radiant sentinel
#

so i deleted everyhting and also the models in the dataset folders and logs but they keep saving new epochs in the wieghts folder

whole anvil
radiant sentinel
#

Oh no so it's not gonna stop until it reached 1000 epochs!?

whole anvil
radiant sentinel
#

Omg lmao

#

Alr its fine

#

And how many hours can i use this colab per day

radiant sentinel
#

Does a higher batch size result into a faster training time

whole anvil
radiant sentinel
#

I was considering using kaggle too

#

But it looks really hard to understand

whole anvil
safe coveBOT
#

Ayo? @whole anvil level 46 !!! lfg

radiant sentinel
#

I got kaggle to work Yay!

radiant sentinel
#

@whole anvil I've used different languages in the dataset is that okay?

whole anvil
radiant sentinel
#

yeah i was just asking because i saw that some pre trains are more suited for specific languages but then again I don't think i can change the pre trains on kaggle and google collab

whole anvil
radiant sentinel
#

Alright! Thanks!

radiant sentinel
#

@whole anvil i just have one question. How do I know which target sample rate to choose

glass oracle
#

No

daring echo
#

rvc disconnected is not working for me