Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About the extraction of patches using 'cnn_sample' #4

Open
joe19981 opened this issue Aug 25, 2023 · 1 comment
Open

About the extraction of patches using 'cnn_sample' #4

joe19981 opened this issue Aug 25, 2023 · 1 comment

Comments

@joe19981
Copy link

When I run 'cnn_sample', the majority of the 500 patches extracted from each Whole Slide Image (WSI) are blank. Is there an issue with this?

@Zhengyushan
Copy link
Owner

The positions of the patches for extraction are calculated based on the foreground mask of the slide. The magnification (or level) of the mask needs to fit the hyper-parameter 'MASK_LEVEL' in the config file. You may try to tune 'MASK_LEVEL', to the exact LEVEL of your foreground mask.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants