Fix generalized dice computation#7970
Conversation
Signed-off-by: Suraj Pai <bspai@bwh.harvard.edu> Similar functionality to torchmetrics Update Lint and update sum_over_labels Update docstring Update docstring
KumoLiu
left a comment
There was a problem hiding this comment.
Thanks for the contribution, overall looks good to me.
Once you finished the PR, please let me know, I will add more people help review it, thanks.
|
Hi @KumoLiu, sorry for the gap, was away on vacation. I think I can work on this in the next few days and get it in. |
|
@KumoLiu I've incorporated the comments we discussed.
The tests seem to be failing because of the version string - I assume we can set this appropriately during the release. Let me know if you see any other changes |
Co-authored-by: YunLiu <55491388+KumoLiu@users.noreply.github.com> Signed-off-by: Suraj Pai <b.pai@maastrichtuniversity.nl>
Co-authored-by: YunLiu <55491388+KumoLiu@users.noreply.github.com> Signed-off-by: Suraj Pai <b.pai@maastrichtuniversity.nl>
Signed-off-by: Suraj Pai <bspai@bwh.harvard.edu>
KumoLiu
left a comment
There was a problem hiding this comment.
Thanks for the update, LGTM.
Could you please help fix the ci issue and dco issue then I can help trigger more tests and merge this one?
https://github.com/Project-MONAI/MONAI/actions/runs/10733660015/job/29767399315?pr=7970#step:7:428
Co-authored-by: YunLiu <55491388+KumoLiu@users.noreply.github.com> Signed-off-by: Suraj Pai <b.pai@maastrichtuniversity.nl>
|
Hi @surajpaib, you can fix the dco issue by following the method here: https://github.com/Project-MONAI/MONAI/pull/7970/checks?check_run_id=29787940944 |
_________ DCO Remediation Commit for Suraj Pai <bspai@bwh.harvard.edu> I, Suraj Pai <bspai@bwh.harvard.edu>, hereby add my Signed-off-by to this commit: 2081cd2 I, Suraj Pai <bspai@bwh.harvard.edu>, hereby add my Signed-off-by to this commit: 3805fea I, Suraj Pai <bspai@bwh.harvard.edu>, hereby add my Signed-off-by to this commit: fb6e660 I, Suraj Pai <bspai@bwh.harvard.edu>, hereby add my Signed-off-by to this commit: 8274060 Signed-off-by: Suraj Pai <bspai@bwh.harvard.edu>
Signed-off-by: Suraj Pai <bspai@bwh.harvard.edu>
Signed-off-by: Suraj Pai <bspai@bwh.harvard.edu>

Fixes #7966
Description
A few sentences describing the changes proposed in this pull request.
Types of changes
./runtests.sh -f -u --net --coverage../runtests.sh --quick --unittests --disttests.make htmlcommand in thedocs/folder.