- Migrate to modern PyPI publishing by configuring
pyproject.tomlandpython-publish.yml. - Update the formatter and linter tools to
ruff. - Update the documentation information for the functions in
py_sod_metrics/fmeasurev2.pyandpy_sod_metrics/multiscale_iou.py. - Optimize the code in
py_sod_metrics/multiscale_iou.py.
- [FEATURE] Add
binary,dinamic, andadaptivemodes forpy_sod_metrics/multiscale_iou.py. - [UPDATE] Update
examples/test_metrics.pyto supportbinary,dinamic, andadaptivemodes ofMSIoU. - [NOTE] The current implementation of the dynamic mode for
MSIoUrelies on the for loop, so it currently runs less efficiently.
- [FEATURE] Add
normalizeparameter topy_sod_metrics/sod_metrics.py. - [UPDATE] Update a unified function
validate_and_normalize_inputto validate and normalize the input data.