Exceptions

exception audio_samples_qoe.VisqolError

Bases: Exception

Raised when the ViSQOL computation itself fails.

This covers errors inside the metric pipeline — e.g. signals that are too short to extract a single analysis patch, resampling failures, or alignment failures. Invalid arguments raise ValueError or TypeError instead, and unreadable files raise OSError.

exception audio_samples_qoe.ScoreqError

Bases: Exception

Raised when the SCOREQ computation itself fails.

This covers errors inside the metric pipeline — e.g. model-weight download failures or calling predict/predict_ref on a model loaded for the other mode. Invalid arguments raise ValueError or TypeError instead, and unreadable files raise OSError.