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:
Trains Hovernet on the training data.
Performs inference using the trained Hovernet model on the input images.
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.