-
Notifications
You must be signed in to change notification settings - Fork 0
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
Skip QC if label file is empty #61
Conversation
…), if so, skip QC
By doing that we accept the creation of empty masks for all the tasks. The user needs to be aware of that maybe. |
Good point! Do you think it would be better to allow the empty mask only for the |
also, don’t we want to check MS lesion mask even if it is empty? otherwise we will miss false negatives. |
This is an excellent point! I initially thought that |
The QC is now skipped only for functions which do not support empty labels ( |
Another point is, do we want to keep empty masks for every tasks ? |
Good point! I would say that it is the responsibility of the user to correct/create a label when using the |
I understand but this falling is also currently the only warning/error that we have regarding empty masks |
I added the following warning: manual-correction/manual_correction.py Line 595 in 8adb172
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The solution seems to be good to me, I think can merge this PR 🎉
Check if the label file is empty (i.e., no lesion was drawn in MS patient); if so, skip QC.
Resolves: #60