Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions slide2vec/configs/panda-vit-s.yaml
Original file line number Diff line number Diff line change
@@ -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
Loading