Closed zabir-nabil closed 2 years ago
I'm converting all of the files to .wav and let's see if the bottleneck goes away or not.
Okay, I solved it finally. It was not an issue from the librosa, but a bottleneck in my dataloader. The number of worker threads was set to 0 as I was working inside a docker container, increasing it drastically sped up my training.
I have modified your code to work on a single gpu only. I'm trying to train ResNet34. The data is on SSD. I'm getting an unrealistically low training speed. My gpu utilization is flat 0.
My config:
One issue I suspect is, I'm using librosa as soundfile can't read some of the file formats, and librosa usually tries soundfile first if that fails it tries audioread, could that be an issue?