You are working on the BrainLesion/panoptica repository. The source code is checked out at /testbed at…
You are working on the BrainLesion/panoptica repository. The source code is checked out at /testbed at…: a task in SWE-Lego-RL-2699 (Harbor dataset). Describe the solution you'd like Incorporate the solution from GaNDLF ref…
The task
**Describe the solution you'd like** Incorporate the solution from GaNDLF [[ref](https://github.com/mlcommons/GaNDLF/blob/641e6c75e698ce2b52a2acf12bbdcb819804c3e2/GANDLF/metrics/segmentation.py#L142)] (that works for both 2D and 3D).
Part of Lego-X/Lego-RL-2699.