HF RL Explorer

Add BoundaryLoss

Add BoundaryLoss: a task in life-science-SWE1.0 (Harbor dataset). Added BoundaryLoss. - Handles 2D/3D seg - Supports sigmoid, softmax, other act, include background, batch - Does empty masks without producing arbitrary distance ramps - Added tests for shape handling, reductions, gradient flow…

The task

Added BoundaryLoss. - Handles 2D/3D seg - Supports sigmoid, softmax, other_act, include_background, batch - Does empty masks without producing arbitrary distance ramps - Added tests for shape handling, reductions, gradient flow, single channel warnings, degenerative mask & channel free targets Verified with tests…

Part of scalingX/life-science-SWE1.0.