There could be value in ensuring that training can be done at other sample rates than 16kHz, but I’m unsure that resampling is the proper solution, to be honest.
I have added a variable(can be changed to a flag) which can be set to desired target SR. But won’t having a single sample rate(same as training and inference) improve convergence?
I’ve tested training models on different SR and inferencing on 16khz, and as expected, the model produces unacceptable results(WER, CER, LOSS and output put together). But the same model infers much better when using the same SR test files(Test results after training).
It does retain the original audio characteristics after resampling.
Do you think this would not be useful for training?
Maybe resample it to a bracket near 16khz (E.g., 14-18 khz), if you think other SRs might be worth preserving(If only for having different SRs in the dataset for helping generalize the model).
lissyx
((slow to reply) [NOT PROVIDING SUPPORT])
3
I don’t get your point: this is exactly the current situation, training at 16kHz, inference at 16kHz.
I meant, I can train a model on data with 44khz but my inference will require 16khz data which would make it hard for the model to predict accurately, if that makes sense.
lissyx
((slow to reply) [NOT PROVIDING SUPPORT])
7
I still don’t get what you are trying to achieve. Can you describe precisely your problem ?