error_plot

Callback that plots prediction error vs tempo and logs it to W&B.

Classes

ErrorVsTempoPlot()

Scatter-plots \(|pred - target|\) vs target tempo at the end of each validation epoch.

class ErrorVsTempoPlot[source]

Bases: Callback

Scatter-plots \(|pred - target|\) vs target tempo at the end of each validation epoch.

Points are coloured green (pass MIREX acc1) or red (fail). The dashed curve shows the 8% tolerance boundary so you can immediately see which tempo regions are hardest for the model.

on_validation_batch_end(trainer, pl_module, outputs, batch, batch_idx)[source]
on_validation_epoch_end(trainer, pl_module)[source]
on_validation_epoch_start(trainer, pl_module)[source]