code: def on_validation_epoch_end(self) -> None:
      # sometimes this fails on job launch
      try:
          self.log("val/fid", self.eval_fid.compute(), sync_dist=True)
          self.eval_fid.reset()
      except IndexError:
          self.eval_fid.reset()
      except ValueError:
          self.eval_fid.reset()
      except Exception:
          raise
  
imports: import logging
  from typing import Optional, Union
  import torch
  from lightning.pytorch import LightningModule
  from torch import Tensor
  from torchmetrics import MeanSquaredError, PeakSignalNoiseRatio
  from torchmetrics.image import FrechetInceptionDistance, LearnedPerceptualImagePatchSimilarity
  import neuralcompression.functional
  import neuralcompression.metrics
  from neuralcompression import HyperpriorOutput
  from neuralcompression.metrics import MultiscaleStructuralSimilarity
label_desc: Use image node_id 9 for calling the ImageModule obj's underlying member method code with example usage: obj.on_validation_epoch_end() without return types