vessl.Audio
Use the vessl.Audio
class to log audio data. This takes the audio data and saves it as a local WAV file in the vessl-media/audio
directory with randomly generated names.
Parameter
Description
data_or_path
Supported types
- numpy.ndarray
: the audio data
- str
: the audio path
sample_rate
The sample rate of the audio file. Required if the numpy.ndarray
of audio data is provided as data_or_path
caption
Label of the given audio
numpy.ndarray
numpy.ndarray
str
str
Last updated