lazyslide_models.vision.CHIEF

lazyslide_models.vision.CHIEF#

class CHIEF(model_path=None, token=None)#

Bases: ImageModel

chief GitHub Paper Params: 27.5M AGPL-3.0 [Wang et al., 2024] Clinical Histopathology Imaging Evaluation Foundation (CHIEF)

encode_image(image)#

Encode the input image using the CHIEF model. The model expects a tensor of shape [B, C, H, W].