-
Notifications
You must be signed in to change notification settings - Fork 747
creating wandb.Audio from pathlib.Path raises error #4387
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
Comments
Hi @sammlapp, As the error message suggests, Thanks, |
@sammlapp Thanks for reporting this issue. You are right we are currently don't handle |
Describe the bug
Trying to create a wandb.Audio object by passing a pathlib.Path instead of a string raises "ValueError: Argument "sample_rate" is required when instantiating wandb.Audio with raw data."
Because the class accepts either a path or raw audio data, I would expect it to also handle a pathlib.Path object as if it were a string.
Additional Files
No response
Environment
WandB version: '0.13.4'
OS: Mac OS 12.6
Python version: Python 3.9.13
Versions of relevant libraries:
Additional Context
No response
The text was updated successfully, but these errors were encountered: