Add WandB integration and new metrics #177
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adding Weights and biases integration and metrics: F1-score, Precision, Recall, TPs, FPs, FNs, box IoU. New metrics are calculated with a fixed threshold.
I was training D-FINE on 4 datasets, results are great, but I missed comfortable things like WandB and F1-score, hence this PR. People should pay less attention to mAPs when working on a real world tasks, as mAP is calculated with different conf thresholds, but on prod we always fix conf threshold, so it's good to know real world metrics like F1-score.