From 91f5f60d2e4d4eeb48582b1599169b57a43ab0e9 Mon Sep 17 00:00:00 2001 From: clemsgrs Date: Thu, 4 Dec 2025 16:29:00 +0000 Subject: [PATCH] added PandViT config --- slide2vec/configs/panda-vit-s.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 slide2vec/configs/panda-vit-s.yaml diff --git a/slide2vec/configs/panda-vit-s.yaml b/slide2vec/configs/panda-vit-s.yaml new file mode 100644 index 0000000..821ab9a --- /dev/null +++ b/slide2vec/configs/panda-vit-s.yaml @@ -0,0 +1,23 @@ +csv: "" + +visualize: true + +output_dir: "output" # output directory + +tiling: + params: + spacing: 0.5 # spacing at which to tile the slide, in microns per pixel + tolerance: 0.05 # tolerance for matching the spacing (float between 0 and 1, deciding how much the spacing can deviate from the one specified in the slide metadata) + tile_size: 224 # size of the tiles to extract, in pixels + min_tissue_percentage: 0.1 # threshold used to filter out tiles that have less tissue than this value (percentage) + filter_params: + ref_tile_size: 224 + +model: + level: "tile" + name: "panda-vit-s" + pretrained_weights: "/path/to/model/weights.pt" + batch_size: 1 + +speed: + fp16: false