각 class 별로 AP 확인하기 #125
jaehwan-AI
started this conversation in
ideas
Replies: 1 comment 3 replies
-
배터리보다 trash AP가 더 적은게 신기하네요. 너무 다양해서 그럴까요.. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
학습의 결과로 mAP는 확인할 수 있었지만 과연 내 모델이 어떤 class를 잘 맞추고 있는지 궁금하지 않으셨나요?
간단한 코드 수정으로 wandb랑 연동까지는 아니더라도 학습 log에 각 class 별로 AP가 찍히게는 할 수 있었습니다.
mmdetection/mmdet/datasets/coco.py 에 가시면 CocoDataset 클래스에 evaluate 라는 함수가 있습니다.

함수의 classwise를 True로 바꿔주시면 학습 시 class 별로 AP를 다음과 같이 log에 찍어줍니다.

혹시 다른 방안이 있다면 댓글로 알려주시면 감사하겠습니다!
[+추가사항]

이렇게도 사용이 가능하다고 합니다
Beta Was this translation helpful? Give feedback.
All reactions