Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ExtremeBatchCaseVisualizationCallback now has access to additional_batch_items #1517

Merged
merged 1 commit into from
Oct 10, 2023

Conversation

BloodAxe
Copy link
Collaborator

What

ExtremeBatchCaseVisualizationCallback will also store additional_batch_items for extreme batch.

Why

For pose estimation we cannot rely on targets to visualize groundtruth (DEKR & YoloNAS has completely different targets format). In contrast we can easily get groundtruth data directly from additional_batch_items.

How

Since we also don't want to rely on specific keys from this dictionary, I thought it make sense to store additional_batch_items as is in the context. This way we can refer to the additional_batch_items as a whole and also not break existing metrics that rely on upacking this dict into context.

Copy link
Contributor

@Louis-Dupont Louis-Dupont left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I just left some thought but I think we should just keep as you did

@BloodAxe BloodAxe merged commit 1eb6630 into master Oct 10, 2023
7 checks passed
@BloodAxe BloodAxe deleted the feature/SG-000-store-additional-batch-data branch October 10, 2023 18:02
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.

2 participants