KeyError: "tag" when running examples/libritts/cosyvoice/run.sh
I have prepared train data and execute run.sh, but it says KeyError about "tag".
I see this key has a fixed value called "TRAIN" or "CV" in executor.py, but why it reports KeyError?....... Any solutions?
your training data is all filtered, check your training data
This issue is stale because it has been open for 30 days with no activity.
is this solved?
In my situation, the original WAV file had a low sample rate. However, during data processing, the sample rate was constrained, leading to the loss of valid data after processing.
To address this, you can:
-
Increase the sample rate of the raw WAV file.
-
Adjust the sample rate filter threshold parameter in ./cosyvoice/dataset/processor.py def resample(data, resample_rate=22050, min_sample_rate=16000, mode='train'): # min_sample_rate = xx