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

How to enable NiftyNet's balanced window sampler? #37

Open
pranavkantgaur opened this issue Jul 23, 2019 · 0 comments
Open

How to enable NiftyNet's balanced window sampler? #37

pranavkantgaur opened this issue Jul 23, 2019 · 0 comments

Comments

@pranavkantgaur
Copy link

Hi,

I have a highly imbalanced data-distributon(3-4% of total voxels represent the object of interest) for my problem. I would like to know how to enable Niftynet's balanced window sampler here? Do I need to modify the get_subimage_batch() method?

Further, would you please suggest other features of your code which can be used to address the class-imbalance problem. I am using ROI patches for training with improved results and planning to use the tversky loss function in future.

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

1 participant