Spijkervet / CLMR

Official PyTorch implementation of Contrastive Learning of Musical Representations
https://arxiv.org/abs/2103.09410
Apache License 2.0
309 stars 48 forks source link

RuntimeError: Sizes of tensors must match except in dimension 0. Got 59049 and 1 in dimension 1 (The offending index is 1) #6

Closed 980202006 closed 3 years ago

980202006 commented 3 years ago

aa.shape torch.Size([1, 1]) zz.shape torch.Size([1, 59049]) This is caused by RandomApply( p=0.6 <torchaudio_augmentations.augmentations.pitch_shift.PitchShift object at 0x7ffaf7365350> )

Spijkervet commented 3 years ago

This has been fixed in the latest commits, thanks!