Skip to content

Conversation

@MasatoSaeki
Copy link
Collaborator

@MasatoSaeki MasatoSaeki commented Oct 16, 2025

Summary

This PR introduces the analysis_2d to analyze the 2d detection and 2d classification data.

Change point

None. This is a new feature.

Note

Affects only analysis_2d

Test performed

  • Log
root@2b584a454afd:/workspace# python tools/analysis_2d/run.py --config_path autoware_ml/configs/classification2d/dataset/t4dataset/tlr_classifier_car.py --data_root_path data/t4dataset/ --out_dir data/t4dataset/analyses/
10/16 05:40:59 - mmengine - INFO - Building AnalysisRunner2D...
Built AnalysisRunner!
Running AnalysesRunner...
10/16 05:40:59 - mmengine - INFO - Creating analyses for dataset: db_tlr_v4 split: test
Creating scenario data for the scene: d7a6578f-fc71-49a2-af57-065c1e339b5f, version: 0
Creating scenario data for the scene: ce98f66a-068d-49bf-bd0c-af3ea380986a, version: 0
/opt/conda/lib/python3.10/site-packages/t4_devkit/schema/tables/visibility.py:57: UserWarning: level: Not available is not supported, Visibility.UNAVAILABLE will be assigned.
  warnings.warn(
Creating scenario data for the scene: 1b265b1f-7417-467f-9fec-06adf6d4c0bd, version: 0
10/16 05:40:59 - mmengine - INFO - Creating analyses for dataset: db_tlr_v6 split: train
Creating scenario data for the scene: eb3c134d-f204-4ae5-89ed-76dbd68cf019, version: 0
Creating scenario data for the scene: 9e434ebc-6619-4aee-bdb6-5dcfc9e52287, version: 0
Creating scenario data for the scene: ec64c19f-03e4-4fe8-ab7f-850996afebed, version: 0
Creating scenario data for the scene: 1909b8b7-ddc9-4884-98a3-d8317f5b3e01, version: 0
Creating scenario data for the scene: 2e04254a-016d-4a0f-933d-528535c217fc, version: 0
Creating scenario data for the scene: 21a07b65-a6d2-4fed-b2e8-e3b8a1043a0d, version: 0
Creating scenario data for the scene: ade3e225-9a48-4426-aa1a-84ea8e5ecf41, version: 0
Creating scenario data for the scene: fccaa083-22b9-4660-a1e7-afbfd6e2da8c, version: 0
Creating scenario data for the scene: 24e5fb43-9f83-4b76-b510-dd8900c4651d, version: 0
Creating scenario data for the scene: 2922f804-c77d-4cce-b5ca-d969e65f73aa, version: 0
10/16 05:40:59 - mmengine - INFO - Creating analyses for dataset: db_tlr_v3 split: test
10/16 05:40:59 - mmengine - INFO - Creating analyses for dataset: db_tlr_v5 split: test
Creating scenario data for the scene: 2821adc7-c0cb-499b-a9bc-3b6585b7d7a0, version: 0
10/16 05:40:59 - mmengine - INFO - Creating analyses for dataset: db_tlr_v6 split: test
Creating scenario data for the scene: 8828d243-a204-453b-8ea0-df56088a70f2, version: 0
Creating scenario data for the scene: 4b0d27fc-97eb-4086-9922-590f631148aa, version: 0
Creating scenario data for the scene: b71fb6dc-fbe9-429f-b5b8-a6479144b509, version: 0
10/16 05:40:59 - mmengine - INFO - Creating analyses for dataset: db_tlr_v1 split: val
10/16 05:40:59 - mmengine - INFO - Creating analyses for dataset: db_tlr_v2 split: test
10/16 05:40:59 - mmengine - INFO - Creating analyses for dataset: db_tlr_v4 split: train
Creating scenario data for the scene: 31449408-1a54-473f-be77-b62b94fc69fe, version: 0
Creating scenario data for the scene: 14af0fd6-340f-41ae-bffc-72cb279d5b1d, version: 0
Creating scenario data for the scene: b1de6448-f13d-4ef6-8152-7f368a70afd8, version: 0
Creating scenario data for the scene: e188cca4-2177-4ccb-9e0d-7243600afdd0, version: 0
Creating scenario data for the scene: 8c7e4725-7cd3-41e0-af0f-d367de7887f5, version: 0
Creating scenario data for the scene: 92523c6a-a06e-45db-8bcc-75ff6f8175b8, version: 0
Creating scenario data for the scene: f72e0d08-a50e-4448-81a6-df10809de63b, version: 0
Creating scenario data for the scene: 195b9e13-a113-4fcc-a885-a42acfe5a8a5, version: 0
10/16 05:40:59 - mmengine - INFO - Creating analyses for dataset: db_tlr_v5 split: val
10/16 05:40:59 - mmengine - INFO - Creating analyses for dataset: db_tlr_v1 split: train
Creating scenario data for the scene: 8bb655ad-e12e-40a1-a7d7-43f279a1bd51, version: 0
Creating scenario data for the scene: 88320003-580f-466d-9c3d-d0e7177b574b, version: 0
Creating scenario data for the scene: c216afeb-7175-4e96-91b6-cb37e41aec81, version: 0
Creating scenario data for the scene: c05a5248-d758-411b-b699-5852b8af03a9, version: 0
Creating scenario data for the scene: 58f3fa68-acc2-40d6-a232-92c1df584816, version: 0
Creating scenario data for the scene: 287d7dd8-9938-466e-8983-09a0d37736fb, version: 0
Creating scenario data for the scene: 89069d42-b9f4-42c0-b5a0-cd102b310022, version: 0
Creating scenario data for the scene: 8282696f-bae8-4ee1-99d5-b0c6a9ce99fa, version: 0
Creating scenario data for the scene: 78c3d93e-a446-49a6-96ab-eb22ad63ec3f, version: 0
Creating scenario data for the scene: 9401bc38-97db-4190-8da9-6ba2eb097c5c, version: 0
/opt/conda/lib/python3.10/site-packages/t4_devkit/schema/tables/visibility.py:57: UserWarning: level:  is not supported, Visibility.UNAVAILABLE will be assigned.
  warnings.warn(
Creating scenario data for the scene: f9cd7804-c5c1-448a-a7da-ab8e6e8064bd, version: 0
Creating scenario data for the scene: 7c4afac7-a9e2-4ee7-bf2a-d9600863eb45, version: 0
Creating scenario data for the scene: 3889534f-a669-48c4-815d-a648089ba1af, version: 0
Creating scenario data for the scene: c2633565-2cef-4944-9161-b5738954650f, version: 0
Creating scenario data for the scene: e757e163-488b-42f3-bd8e-41d001bd6d7b, version: 0
10/16 05:41:02 - mmengine - INFO - Creating analyses for dataset: db_tlr_v1 split: test
Creating scenario data for the scene: 470daad9-94f7-47e7-9cb8-4aa1d37e1bb0, version: 0
Creating scenario data for the scene: 0450be6b-9770-4bd1-8c59-649f8e4d9168, version: 0
10/16 05:41:03 - mmengine - INFO - Creating analyses for dataset: db_tlr_v2 split: val
10/16 05:41:03 - mmengine - INFO - Creating analyses for dataset: db_tlr_v3 split: val
10/16 05:41:03 - mmengine - INFO - Creating analyses for dataset: db_tlr_v4 split: val
10/16 05:41:03 - mmengine - INFO - Creating analyses for dataset: db_tlr_v5 split: train
Creating scenario data for the scene: e2f9895c-dffa-421b-9cd9-caac40d01c8d, version: 0
Creating scenario data for the scene: 8d66ec30-8060-4e56-8da4-751e7d8ba6b5, version: 0
Creating scenario data for the scene: ba5aa800-adee-4d65-a601-7fb943ef6954, version: 0
Creating scenario data for the scene: bc62ff5b-71a1-4547-9482-b03ffc69c890, version: 0
Creating scenario data for the scene: 1c62f5ae-8515-43e4-b8fd-a68200668ef7, version: 0
10/16 05:41:03 - mmengine - INFO - Creating analyses for dataset: db_tlr_v3 split: train
Creating scenario data for the scene: 156a8efb-3645-4c0f-a107-37aea48d3e1e, version: 0
Creating scenario data for the scene: debcd4e0-effd-4b73-ad56-04d7d1a95674, version: 0
Creating scenario data for the scene: f5e45377-cc96-45d9-86b7-274b200246b3, version: 0
Creating scenario data for the scene: 6936f12c-9928-45c0-8986-af9219865dcf, version: 0
Creating scenario data for the scene: 17d49bf4-5c8c-4ea8-b2ec-699a95b0994a, version: 0
Creating scenario data for the scene: 1f384ffb-e6d9-4924-9f23-f97fc4759c83, version: 0
Creating scenario data for the scene: d18f6eb4-cfa2-4526-bd22-5c25be417e90, version: 0
Creating scenario data for the scene: 224d9317-c0be-46d8-b9c7-36063374efa0, version: 0
Creating scenario data for the scene: 4d9180e8-7f6d-4653-bd23-e4fad4ee8dce, version: 0
Creating scenario data for the scene: 786f3e17-519d-446b-b4f4-59089ed8f90e, version: 0
Creating scenario data for the scene: 13d7e9c0-e66a-49a1-a4ab-1846c2158c38, version: 0
Creating scenario data for the scene: a44f6d75-c5fa-426f-8d14-d7f4bc93a979, version: 0
Creating scenario data for the scene: 144bf497-ed61-4763-9202-d8c28970146a, version: 0
Creating scenario data for the scene: ce6f9a40-84c6-48c3-a09f-3db357f5edff, version: 0
10/16 05:41:04 - mmengine - INFO - Creating analyses for dataset: db_tlr_v6 split: val
10/16 05:41:04 - mmengine - INFO - Creating analyses for dataset: db_tlr_v2 split: train
Creating scenario data for the scene: bb24765e-868a-47d8-84a1-e1f5e37f0903, version: 0
Creating scenario data for the scene: 762c836f-e715-4ab3-8a4f-47545ddff10b, version: 0
Creating scenario data for the scene: ceafed66-3b12-4a8f-8ad5-ce3ef63f7bae, version: 0
Creating scenario data for the scene: b11583fa-511f-469e-a5b9-7d2275211fb6, version: 0
Creating scenario data for the scene: 5e01534d-14b8-44a7-a0c5-d7e126fbe57a, version: 0
Creating scenario data for the scene: f497a881-54f5-4b97-8709-3163e23a8c47, version: 0
Creating scenario data for the scene: 48b33ac3-9d8b-4123-a84c-5af6415668aa, version: 0
Creating scenario data for the scene: c646b8ff-74b5-4d28-97c6-d653f8505ba9, version: 0
Creating scenario data for the scene: 132c1ead-49e6-47a7-8829-50d7536d3db7, version: 0
Creating scenario data for the scene: c24c8255-dc9b-4451-8bd0-02630fa5def9, version: 0
Creating scenario data for the scene: f842471e-6fa7-480b-92ee-aa92605ab3ac, version: 0
Creating scenario data for the scene: 15de1dff-8077-4e25-bedf-d79e394a08cb, version: 0
Creating scenario data for the scene: 7f8f0073-8844-4222-9882-93c0c9f62224, version: 0
Creating scenario data for the scene: 6728aa8a-f795-4c11-885c-d0ea1cc6c6c9, version: 0
Creating scenario data for the scene: 6f4b97c6-96c3-4e4e-888a-2ddf753284d0, version: 0
Creating scenario data for the scene: 4ad07769-f613-406f-a171-ea1dc409f13a, version: 0
Creating scenario data for the scene: d9abb9d4-cfdc-42b5-9dec-e568ddbae91d, version: 0
Creating scenario data for the scene: 098ff14b-2d87-4d5e-a050-46b7626fe8c8, version: 0
Creating scenario data for the scene: 1ce886ed-e039-47a0-a769-c5bf1ead58e3, version: 0
Creating scenario data for the scene: d7db6966-30a0-4d7a-a4d6-7d4a87860b2e, version: 0
Creating scenario data for the scene: ad266d7c-9f0a-476e-a83b-d23ec772a3b4, version: 0
Creating scenario data for the scene: 58bd3d79-90c2-4852-8c4b-2b115a8cb535, version: 0
Creating scenario data for the scene: 56ada26c-e35c-434e-904a-7e997229e2f0, version: 0
Creating scenario data for the scene: a8d24347-17e2-43ea-bc9c-29390cc98f5c, version: 0
=========
Calling Analysis Callbacks
Running CategoryAnalysisCallback
No artists with labels found to put in legend.  Note that artists whose label start with an underscore are ignored when legend() is called with no argument.
Done running CategoryAnalysisCallback
Time taken for CategoryAnalysisCallback: 0.648641 seconds
Running CategoryAttributeAnalysisCallback
No artists with labels found to put in legend.  Note that artists whose label start with an underscore are ignored when legend() is called with no argument.
Done running CategoryAttributeAnalysisCallback
Time taken for CategoryAttributeAnalysisCallback: 0.587894 seconds
Running CategoryAttributeAnalysisCallback
No artists with labels found to put in legend.  Note that artists whose label start with an underscore are ignored when legend() is called with no argument.
Done running CategoryAttributeAnalysisCallback
Time taken for CategoryAttributeAnalysisCallback: 0.768781 seconds
Running CategoryAttributeAnalysisCallback
No artists with labels found to put in legend.  Note that artists whose label start with an underscore are ignored when legend() is called with no argument.
Done running CategoryAttributeAnalysisCallback
Time taken for CategoryAttributeAnalysisCallback: 0.468435 seconds
Running CategoryAttributeAnalysisCallback
No artists with labels found to put in legend.  Note that artists whose label start with an underscore are ignored when legend() is called with no argument.
Done running CategoryAttributeAnalysisCallback
Time taken for CategoryAttributeAnalysisCallback: 0.431935 seconds
Running CategoryAttributeAnalysisCallback
No artists with labels found to put in legend.  Note that artists whose label start with an underscore are ignored when legend() is called with no argument.
No artists with labels found to put in legend.  Note that artists whose label start with an underscore are ignored when legend() is called with no argument.
No artists with labels found to put in legend.  Note that artists whose label start with an underscore are ignored when legend() is called with no argument.
Done running CategoryAttributeAnalysisCallback
Time taken for CategoryAttributeAnalysisCallback: 0.197661 seconds
Running CategoryAttributeAnalysisCallback
No artists with labels found to put in legend.  Note that artists whose label start with an underscore are ignored when legend() is called with no argument.
Done running CategoryAttributeAnalysisCallback
Time taken for CategoryAttributeAnalysisCallback: 0.457363 seconds
Running CategoryAttributeAnalysisCallback
No artists with labels found to put in legend.  Note that artists whose label start with an underscore are ignored when legend() is called with no argument.
Done running CategoryAttributeAnalysisCallback
Time taken for CategoryAttributeAnalysisCallback: 0.413150 seconds
Running CategoryAttributeAnalysisCallback
No artists with labels found to put in legend.  Note that artists whose label start with an underscore are ignored when legend() is called with no argument.
Done running CategoryAttributeAnalysisCallback
Time taken for CategoryAttributeAnalysisCallback: 0.453783 seconds
Running CategoryAttributeAnalysisCallback
No artists with labels found to put in legend.  Note that artists whose label start with an underscore are ignored when legend() is called with no argument.
Done running CategoryAttributeAnalysisCallback
Time taken for CategoryAttributeAnalysisCallback: 0.497486 seconds
=========
Done running AnalysisRunner!!

Signed-off-by: MasatoSaeki <[email protected]>
@MasatoSaeki MasatoSaeki marked this pull request as ready for review October 22, 2025 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant