tumourkit.train_pipe.run_hov_pipe

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

Trains Hovernet and predicts cell contours in json format.

This function performs the following steps:
  1. Trains Hovernet on the training data.

  2. Performs inference using the trained Hovernet model on the input images.

  3. Saves the predicted cell contours in json format.

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

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