cellmap_segmentation_challenge.utils.visualize

cellmap_segmentation_challenge.utils.visualize#

Functions

save_result_figs(inputs, outputs, targets, ...)

Save the input, output, and target images to the specified path.

cellmap_segmentation_challenge.utils.visualize.save_result_figs(inputs: Tensor, outputs: Tensor, targets: Tensor, classes: Sequence[str], figures_save_path: str)[source]#

Save the input, output, and target images to the specified path.

Parameters:
  • inputs (torch.Tensor) – The input images.

  • outputs (torch.Tensor) – The output images.

  • targets (torch.Tensor) – The target images.

  • classes (Sequence[str]) – The classes present in the images.

  • figures_save_path (str) – The path to save the figures to.