def log_meta(self, outputs, step=None):
    video = outputs['video']
    meta = outputs['meta']
    video = video.detach().cpu().numpy()
    y_true = outputs['y_true'].detach().cpu().numpy()
    y_prob = outputs['y_prob'].detach().cpu().numpy()
    info = utils.generate_batch_info_classification(video, meta, y_true=y_true, y_prob=y_prob)
    step = (step or self.global_step)
    self.logger.experiment.add_text('batch info', info.to_markdown(), step)
    return info
def log_meta(self, outputs, step=None):
    video = outputs['video']
    meta = outputs['meta']
    video = video.detach().cpu().numpy()
    y_true = outputs['y_true'].detach().cpu().numpy()
    y_prob = outputs['y_prob'].detach().cpu().numpy()
    info = utils.generate_batch_info_classification(video, meta, y_true=y_true, y_prob=y_prob)
    step = (step or self.global_step)
    self.logger.experiment.add_text('batch info', info.to_markdown(), step)
    return info