Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix "Couldn't load file" spam #24

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lyramakesmusic
Copy link

several times now I've had my environment crash, and when starting a training run in the new environment it will spam "Couldn't load file: [path]" and lag the console until it dies. Something in the broken environment is forcing torchaudio to load the sox backend, which in my case doesn't exist, causing this error. Adding this line is significantly easier than installing sox, and you won't get any more error spam.

note: everything should work fine by default- this only does anything when the environment crashes and you restart and get endless file load errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant