asvspoof2017 icon indicating copy to clipboard operation
asvspoof2017 copied to clipboard

size mismatch error

Open immonomono opened this issue 6 years ago • 1 comments

Hello,

I have problem when I run the train.py script with ASVspoof2017 data like below

I've edited extract_mfcc method in extract_feature.py because librosa.feature.delta(mfcc) shows librosa.util.exceptions.ParameterError: when mode='interp', width=9 cannot exceed data.shape[axis]=7 error

So, I changed from mfcc_delta = librosa.feature.delta(mfcc) mfcc_delta_delta = librosa.feature.delta(mfcc) to mfcc_delta = librosa.feature.delta(mfcc, mode='nearest') mfcc_delta_delta = librosa.feature.delta(mfcc, mode='nearest')

after that I got the another error like below

RuntimeError: size mismatch, m1: [256 x 429], m2: [990 x 512] at /opt/conda/conda-bld/pytorch_1544173631724/work/aten/src/THC/generic/THCTensorMathBlas.cu:266

Can you give me some help?

immonomono avatar Jan 21 '19 06:01 immonomono

may be u can try librosa 0.5.1??

azraelkuan avatar Jan 31 '19 03:01 azraelkuan