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