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

init_audio_file error #100

Open
55555555811 opened this issue Aug 5, 2023 · 3 comments
Open

init_audio_file error #100

55555555811 opened this issue Aug 5, 2023 · 3 comments

Comments

@55555555811
Copy link

1/1 Init audio file not found!
An exception has occurred, use %tb to see the full traceback.

SystemExit: Make sure init_audio_file is a valid audio file and a valid file path relative to your My Drive.

i got the correct path and files but doesnt work

@olaviinha
Copy link
Contributor

olaviinha commented Aug 5, 2023

Unable to reproduce.

Possible causes for the error:

  • File path is not relative to My Drive. If you have "My Drive" or "MyDrive" in your path, it's very likely incorrect. See instructions block in the notebook for example paths.
  • File has not yet uploaded to Google Drive. Sync can occasionally take a few minutes even with small files.
  • Audio file is in some unknown encoding. WAV is safest bet.

@55555555811
Copy link
Author

55555555811 commented Aug 6, 2023 via email

@olaviinha
Copy link
Contributor

olaviinha commented Aug 6, 2023

Not that I know of (apart from what formats torchaudio supports). I'm testing with about 9 sec long WAV (PCM S16 LE) stereo, 44100 hz, 16-bit, and experience no issues. Are you doing style transfer or audio2audio? What format/encoding is your audio file in?

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

No branches or pull requests

2 participants