mahmoodlab / CLAM

Data-efficient and weakly supervised computational pathology on whole slide images - Nature Biomedical Engineering
http://clam.mahmoodlab.org
GNU General Public License v3.0
975 stars 329 forks source link

How to set the parameters when converting from 40X WSI to 20X WSI #208

Closed YinZhe0412 closed 4 months ago

YinZhe0412 commented 9 months ago

Hello, I recently encountered an issue while running CLAM. Most WSIs are 20x, so I want to handle 40x WSIs by changing the parameter format.

  1. I read the 151st and 163rd issues but don't know what they mean. Does "level" refer to "seg_level" and "vis_level"? Do patch_size and step_size need to be modified?
  2. Running createpatches fp.py input parameter file seg_ Level and vislevel are all -1, but the display in the resulting process list_autogen.csv is 2.

Looking forward to your reply!

LiuJin629 commented 8 months ago

I have the same question!

ljhOfGithub commented 7 months ago

Use 'wsi.get_best_level_for_downsample(64)' to get the true level.