microsoft / Pengi

An Audio Language model for Audio Tasks
https://arxiv.org/abs/2305.11834
MIT License
284 stars 15 forks source link

Sample rate has been changed #6

Closed Yonnie1331 closed 11 months ago

Yonnie1331 commented 11 months ago

Hello, for the lines 171-184, in wrapper.py, func load_audio_into_tensor, should 'sample_rate' perhaps be 'resample_rate'? Since in line 164, the audio has already been resampled

soham97 commented 11 months ago

Good spot @Yonnie1331, its fixed in the latest commit [1]