AI-Song-Cover-RVC icon indicating copy to clipboard operation
AI-Song-Cover-RVC copied to clipboard

Can't Train Feature Index

Open iaminparis opened this issue 9 months ago • 9 comments

Good afternoon, I ran into this error: (as a newbie, i just don't know)

Trying doing kmeans 397811 shape to 10k centers.

NameError Traceback (most recent call last) in train_index(exp_dir1, version19) 32 big_npy = ( ---> 33 MiniBatchKMeans( 34 n_clusters=10000,

NameError: name 'MiniBatchKMeans' is not defined

During handling of the above exception, another exception occurred:

NameError Traceback (most recent call last) 1 frames in train_index(exp_dir1, version19) 42 ) 43 except: ---> 44 info = traceback.format_exc() 45 logger.info(info) 46 infos.append(info)

NameError: name 'traceback' is not defined

iaminparis avatar Sep 21 '23 13:09 iaminparis

which one of my code that you run? i don't remember we can edit the kmeans on my colabs

ardha27 avatar Sep 21 '23 13:09 ardha27

TrainingV2_NoUI on Colab, is there a simpler method?

iaminparis avatar Sep 21 '23 13:09 iaminparis

Also, it crashes while training model (using too much RAM)

iaminparis avatar Sep 21 '23 13:09 iaminparis

missclicked

iaminparis avatar Sep 21 '23 13:09 iaminparis

can you provide screenshot. and how long is your dataset? do you split it up?

ardha27 avatar Sep 21 '23 13:09 ardha27

my dataset might be a bit long, ~3 hours, split up every 5 seconds, let me try with less samples

iaminparis avatar Sep 21 '23 13:09 iaminparis

thats might be the problem, i usually train with 5-15 minute dataset in colab. the longest dataset that i've been train is 40 minute

ardha27 avatar Sep 21 '23 13:09 ardha27

Okay! Thank you, I'll tell you in a few minutes

iaminparis avatar Sep 21 '23 13:09 iaminparis

I've gotten the same error. I was able to get one model to work with around an hour, maybe a little more, but longer than that and it gives me this error. I have 569 5-10 second split audio files and the other that gave me this error has upwards of 920+. Is there anyway to make it so that it can handle more data? I don't mind if it takes longer to train and get epochs.

Sinvanor avatar Mar 30 '24 18:03 Sinvanor