class_docstr: Logs a validation batch and their predictions to wandb.
  Example adapted from:
      https://wandb.ai/wandb/wandb-lightning/reports/Image-Classification-using-PyTorch-Lightning--VmlldzoyODk1NzY
class_docstr_tok: ["Logs","a","validation","batch","and","their","predictions","to","wandb",".","Example","adapted","from",":","https",":","\/\/wandb.ai\/wandb\/wandb-lightning\/reports\/Image-Classification-using-PyTorch-Lightning","--","VmlldzoyODk1NzY"]
docstr: Start executing this callback only after all validation sanity checks end.
docstr_tok: ["Start","executing","this","callback","only","after","all","validation","sanity","checks","end","."]
code: def on_sanity_check_end(self, trainer, pl_module):
      """Start executing this callback only after all validation sanity checks end."""
      self.ready = True
  
imports: import subprocess
  from pathlib import Path
  from typing import List
  import matplotlib.pyplot
  import seaborn
  import torch
  import wandb
  from pytorch_lightning import Callback, Trainer
  from pytorch_lightning.loggers import LoggerCollection, WandbLogger
  from pytorch_lightning.utilities import rank_zero_only
  from sklearn import metrics
  from sklearn.metrics import f1_score, precision_score, recall_score
label_desc: Use image node_id 3 for calling the LogImagePredictions obj's underlying member method code with example usage: obj.on_sanity_check_end(trainer, pl_module) without return types