lazyslide.models.vision.CHIEF

lazyslide.models.vision.CHIEF#

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

Bases: ImageModel

GitHub Paper Params: 27.5M 768 features 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].