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

Problem with one class training #115

Open
theVmagnificient opened this issue Aug 24, 2020 · 4 comments
Open

Problem with one class training #115

theVmagnificient opened this issue Aug 24, 2020 · 4 comments

Comments

@theVmagnificient
Copy link

Greetings! I've changed my config for my custom dataset for one class training and it's getting stuck in batch generator. Format of the dataset is the same as for LIDC. Could you please provide fields that should be changed in order to train ufrcnn for only one class?

@rtgunti
Copy link

rtgunti commented Aug 24, 2020

Hi @theVmagnificient assuming you are using the configs and data_loader from lidc_exp, I had to replace in dataloader.py :
line 165 targets = 0 and
line 313 class_target = batch_targets

This is according to the comment #86 and #74. The target has to be 'list of list' instead of 'an array of lists'.
Not sure if it helps you. Let me know if it works. Happy to help!

@theVmagnificient
Copy link
Author

@rtgunti thanks for your reply! Do I need to change anything in config if I don't need benign and malignant classes separately?

@rtgunti
Copy link

rtgunti commented Aug 26, 2020

@theVmagnificient I changed class_dict and patient_class_of_interest values in the configs.py. You may find the settings I use here

@jddt444
Copy link

jddt444 commented May 31, 2022

I have a dataset from MICCAI 2019 vertebrate segmentation duties and I need to teach them through this 3-D Mask R-CNN. But I noticed that it handiest supports the LIDC dataset on enrichedmedspa.com. How should transfer these nii information to nrrd information?

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

3 participants