-
Notifications
You must be signed in to change notification settings - Fork 302
RuntimeError: Offset past EOF #54
Comments
Could you try to add some debug statements around this line: https://github.com/facebookresearch/denoiser/blob/master/denoiser/audio.py#L72 try:
out, sr = torchaudio.load(str(file), offset=offset, num_frames=num_frames)
except Exception:
print(file, examples, offset); raise and then report the offending file? If you have ffmpeg installed, you can run ``ffprobe PATH_TO_FILE` so that i have more info to debug the issue. |
Hi @abhshkdz, The code you gave me output the following lines:
And when I tried ffprove to one of the path I got before the error was happened, I got these message:
Then that after the error, here:
Sorry for the long comment! |
Sorry can you do the same with passing |
Fixed audio.py:
conf/config.yml:
I got this messages:
|
that is very weird. Can you check
Maybe also try with a more recent version of torchaudio? |
Thanks for your response! ffprobe:
torchaudio version:
python script result:
torchaudio version:
python script result:
I'm trying on condo environment. Let me know if you need other information. |
The file size here |
It worked! |
Hi,
I'm trying to reproduce your model.
I got an error when I started training on GPUs with launch_valentini.sh.
The error was 'Offset past EOF' but I'm not familiar with the error.
I didn't change conf/conf.yaml except for output directory of logs.
Can you give me any advices I should check next step?
Thank you.
Script output:
The text was updated successfully, but these errors were encountered: