mp.tasks.audio.AudioClassifierResult

Contains the classification results of a model.

classifications A list of Classifications objects, each for a head of the model.
timestamp_ms The optional timestamp (in milliseconds) of the start of the chunk of data corresponding to these results. This is only used for classification on time series (e.g. audio classification). In these use cases, the amount of data to process might exceed the maximum size that the model can process: to solve this, the input data is split into multiple chunks starting at different timestamps.

Methods

__eq__

timestamp_ms None