Skip to content

feat(evaluation): add evaluator#154

Merged
ktro2828 merged 2 commits into
feat/evaluation/mainfrom
feat/evaluation/evaluator
Jan 29, 2026
Merged

feat(evaluation): add evaluator#154
ktro2828 merged 2 commits into
feat/evaluation/mainfrom
feat/evaluation/evaluator

Conversation

@ktro2828

@ktro2828 ktro2828 commented May 18, 2025

Copy link
Copy Markdown
Collaborator

This pull request introduces a new evaluation framework for perception tasks, refactoring and extending the evaluation module to support a wider range of tasks, including segmentation, and providing a new, unified configuration and evaluator interface. The changes include the addition of new configuration and evaluator classes, updates to dataset handling for more generic annotation types, and extensions to the EvaluationTask enum to support segmentation tasks. Documentation and tests are updated accordingly.

Evaluation Framework Enhancements:

  • Added PerceptionEvaluationConfig and PerceptionEvaluator classes to provide a unified configuration and evaluation interface for perception tasks. (t4_devkit/evaluation/config.py, t4_devkit/evaluation/evaluator.py, t4_devkit/evaluation/__init__.py) [1] [2] [3]
  • Updated dataset handling to generalize ground truth annotations (now using EvaluationObjectLike instead of only boxes), and added preliminary support for segmentation tasks. (t4_devkit/evaluation/dataset.py) [1] [2] [3] [4]

Task Enumeration Extensions:

  • Extended EvaluationTask to include segmentation tasks (SEGMENTATION3D, SEGMENTATION2D) and added helper methods (is_3d, is_2d, is_segmentation) for task type checks. (t4_devkit/evaluation/task.py)
  • Updated tests to cover the new segmentation tasks and task indicator methods. (tests/evaluation/test_task.py)

Documentation Updates:

  • Added a new tutorial for evaluation, including example usage of the new perception evaluation API. (docs/tutorials/evaluation.md, mkdocs.yaml) [1] [2]

@github-actions github-actions Bot added documentation Improvements or additions to documentation new-feature New feature or request labels May 18, 2025
@ktro2828 ktro2828 force-pushed the feat/evaluation/main branch from ee40ad0 to 8178653 Compare May 27, 2025 01:43
@ktro2828 ktro2828 force-pushed the feat/evaluation/evaluator branch from 0884a78 to 24756d6 Compare May 27, 2025 01:44
@ktro2828 ktro2828 force-pushed the feat/evaluation/main branch from 8178653 to 6f84538 Compare January 29, 2026 15:53
@ktro2828 ktro2828 force-pushed the feat/evaluation/evaluator branch from 24756d6 to bb1149b Compare January 29, 2026 15:56
@ktro2828 ktro2828 changed the title feat: add evaluator feat(evaluation): add evaluator Jan 29, 2026
@ktro2828 ktro2828 force-pushed the feat/evaluation/main branch from 6f84538 to dfa7efe Compare January 29, 2026 16:18
@ktro2828 ktro2828 force-pushed the feat/evaluation/evaluator branch from bb1149b to 28f72a2 Compare January 29, 2026 16:20
@github-actions github-actions Bot added the ci Continuous Integration (CI) processes and testing label Jan 29, 2026
@github-actions

github-actions Bot commented Jan 29, 2026

Copy link
Copy Markdown
Contributor

☂️ Python Coverage

current status: ❌

Overall Coverage

Lines Covered Coverage Threshold Status
4714 3907 83% 50% 🟢

New Files

File Coverage Status
t4_devkit/evaluation/config.py 100% 🟢
t4_devkit/evaluation/evaluator.py 39% 🔴
TOTAL 70% 🔴

Modified Files

File Coverage Status
t4_devkit/evaluation/init.py 100% 🟢
t4_devkit/evaluation/dataset.py 95% 🟢
t4_devkit/evaluation/task.py 100% 🟢
TOTAL 98% 🟢

updated for commit: 40bd767 by action🐍

@ktro2828 ktro2828 force-pushed the feat/evaluation/evaluator branch 2 times, most recently from d7dfcab to 46c684f Compare January 29, 2026 16:23
Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>
@ktro2828 ktro2828 force-pushed the feat/evaluation/evaluator branch from 46c684f to 052fee2 Compare January 29, 2026 16:24
Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>
@ktro2828 ktro2828 marked this pull request as ready for review January 29, 2026 16:32
@ktro2828 ktro2828 merged commit dee647b into feat/evaluation/main Jan 29, 2026
5 checks passed
@ktro2828 ktro2828 deleted the feat/evaluation/evaluator branch January 29, 2026 16:33
ktro2828 added a commit that referenced this pull request Feb 11, 2026
* feat: add evaluator

Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>

* fix: update the usage of Tier4

Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>

---------

Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Continuous Integration (CI) processes and testing documentation Improvements or additions to documentation new-feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant