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

Add a callback with micro-average Accuracy, Precision, Recall, F1Score and IoU #124

Merged
merged 8 commits into from
May 7, 2024

Conversation

CharlesGaydon
Copy link
Collaborator

@CharlesGaydon CharlesGaydon commented Apr 25, 2024

Log more metrics.
Keep the model.py clean.
It is hard to unit-test that metrics are actually logged, I'll do some manual checks on known datasets, in mono and multi gpu.

@CharlesGaydon
Copy link
Collaborator Author

Tested on a small patch, with 1 and 2 gpus.
Had to add a small related fix in model.py that apparently was not dealt with in the previous bugfix MR.

image

@CharlesGaydon
Copy link
Collaborator Author

Small diff since we are dealing with a single patch + we now use lightning's version instead of a manual computation from a confusion matrix.

@CharlesGaydon
Copy link
Collaborator Author

The diff disapear on larger datasets :
image

@leavauchier leavauchier merged commit 53dc98d into main May 7, 2024
2 checks passed
@leavauchier leavauchier deleted the more-metrics branch May 7, 2024 08:06
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