Closed sevagh closed 3 years ago
Huh, in fact the code right after says:
# get current spectrogram shape
nb_frames, nb_samples, nb_channels, nb_bins = x.data.shape
So I think the documentation block of the code might need adjusting. README might be correct?
yes, nb_samples, nb_channels, nb_bins, nb_frames
is correct. Feel free to open a PR to correct the readme – we changed this in the recent model.
Hello, I believe the true input shape of OpenUnmix (the spectrogram model, not the on-the-fly waveform one) is this, taken from the code:
This corresponds to the
(I, F, T)
that I've seen in the oracle code (I = channels, F = frequency bins, T = time frames).The README describes the shape in a different order: