Can´t train with a Custom dataset #598
-
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
I think the problem is my dataloader or my dataset implementation. If I do this:
I get this: But if I do it with my dataset:
I get this: The input tensors don't have the same shape. In my Dataloader, the X corresponds to the tensor of my Mix and the Y is the tensor of the Acoustic Guitar. What do the input tensor of the LibriMix Dataloader corresponds to? Do you have any examples to build Dataloaders properly? |
Beta Was this translation helpful? Give feedback.
-
Or do you recommend to build my own model-architecture with these: https://asteroid.readthedocs.io/en/latest/package_reference/blocks.html ? |
Beta Was this translation helpful? Give feedback.
-
For your first message the first error that you have comes from a bug on our side I will correct it asap. The second error comes from your configuration |
Beta Was this translation helpful? Give feedback.
-
Thanks for the support, I later figured out that my dataset should be mono. Are there models for stereo? |
Beta Was this translation helpful? Give feedback.
-
hi, @edgarcin95 can i run your recipes on google colab??? |
Beta Was this translation helpful? Give feedback.
For your first message the first error that you have comes from a bug on our side I will correct it asap. The second error comes from your configuration
stft_nfilters=24
it should be a multiple of 32 so minimum value ofstft_nfilters=64
.For your dataset, if I understand correctly you have songs and you want to extract the acoustic guitar out of it. The models that you are using are designed for mono not stereo. So make sure this is ok for you. Then your input
signalX
should be the mix with shapebatch, 1, time
and your sourcessignalY
should bebatch, n_src,time
wheren_src
is the number of sources. To be clear if you have a song with someone singing with a guitar and you just want the g…