LAION-AI / CLAP

Contrastive Language-Audio Pretraining
https://arxiv.org/abs/2211.06687
Creative Commons Zero v1.0 Universal
1.42k stars 137 forks source link

RuntimeError: Internal psf_fseek() failed. #61

Closed LoieSun closed 1 year ago

LoieSun commented 1 year ago

Hi, I try to reprocess Clotho and AudioCaps dataset, and calculate the retrieval metrics for audio and text. But when I processed the datas as you released and run the eval code. There is an error, _RuntimeError: Internal psffseek() failed. when I used either Clotho or AudioCaps.

I'm not sure what make this error.

Thank you!

RetroCirce commented 1 year ago

Hi,

I guess this is related to the sound file I/O after your machine. What system (linux, mac, window) does you use? You can refer this (https://github.com/bastibe/python-soundfile/issues/274) to see if this is related to the flac format reading and libsndfile.