def validation_step(self, batch: Batch, *args, **kwargs) -> STEP_OUTPUT:
        """Compute predictions for the input batch during validation.

        Args:
            batch (Batch): Input batch containing video clips.
            *args: Additional positional arguments (unused).
            **kwargs: Additional keyword arguments (unused).

        Returns:
            STEP_OUTPUT: Dictionary containing anomaly scores and maps.
        """
        del args, kwargs  # These variables are not used.

        predictions = self.model(batch.image)
        return batch.update(pred_score=predictions.pred_score, anomaly_map=predictions.anomaly_map)
Compute predictions for the input batch during validation.

        Args:
            batch (Batch): Input batch containing video clips.
            *args: Additional positional arguments (unused).
            **kwargs: Additional keyword arguments (unused).

        Returns:
            STEP_OUTPUT: Dictionary containing anomaly scores and maps.
        
src/anomalib/models/video/fuvas/lightning_model.py