cyto_dl.image.transforms.save module#

class cyto_dl.image.transforms.save.Save(save_path: str = './')[source]#

Bases: Transform

Parameters:
  • keys (Sequence[str]) – keys to save

  • save_path (str) – path to save images

class cyto_dl.image.transforms.save.Saved(keys: Sequence[str], save_path: str = './', allow_missing_keys: bool = False)[source]#

Bases: Transform

Save a batch of images to disk for debugging.

Parameters:
  • keys (Sequence[str]) – keys to save

  • save_path (str) – path to save images

  • allow_missing_keys (bool) – allow missing keys in batch