Convert stereo/multi-channel audio to mono
It is annoying when training on large data sets for one non-mono file to cause an exception (einops.EinopsError: Shape mismatch, 2 != 1) and the whole training pipeline to crash. Weeding out such files can take some time. This will avoid such crashes and handle them gracefully...
Loading
Please register or sign in to comment