HD-Yolo#

class hd_yolo.yoloStandalone(img_path, device, mpp, model_path=None)#

A lightweight HD-Yolo used to extract patch-level nuclei information.

Parameters#

img_pathstr

The path of the image

devicetorch.device

The PyTorch device destination

mppint

The MPP of the model. The resolution of the images used to train HD-Yolo

model_pathstr, optional

Path of the HD-Yolo model pretrained weight, by default None

args_init()#

Initializes the HD-Yolo arguments

run_inference()#

Wrapper for the original run_patch_inference Notes —– For further reference, please consult the original HD-Yolo page https://github.com/impromptuRong/hd_wsi