tumourkit.train_pipe.run_preproc_pipe

tumourkit.train_pipe.run_preproc_pipe(args: Namespace, logger: Logger) None

Runs the preprocessing pipeline to convert the gson format to other formats.

This function performs the following steps:
  1. Converts the geojson files to pngcsv format.

  2. Converts the pngcsv files to npy format.

Parameters:
  • args (Namespace) – The arguments for the preprocessing pipeline.

  • logger (Logger) – The logger object used for logging messages.