lazyslide.models.tile_prediction.FocusLiteNN

lazyslide.models.tile_prediction.FocusLiteNN#

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

Bases: TilePredictionModel

GitHub Paper Params: 299 Prosperity Public License 3.0.0 [Wang et al., 2020] High efficiency Focus Quality Assessment for digital pathology

predict(image)#

Predict the focus score for the input image using the FocusLiteNN model. The model expects a tensor of shape [B, C, H, W].