You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This line should only convert the metric to a tensor if it is a numeric value.
For complex metrics, we should either rely on self.comp_func and some distance metric or allow some way to extract the desired value in self.monitor. Otherwise it will also crash here when checking the absolute distance.
Apolgoies for the delayed response. We are tracking this issue, but it is unfortunately not in our immediate roadmap. We welcome community PRs on this subject :)
🚀 Feature Request
EarlyStopper and ThresholdStopper cannot deal with complex Metrics such as MAP.
See:
composer/composer/callbacks/early_stopper.py
Line 122 in 8d4dfaf
composer/composer/callbacks/threshold_stopper.py
Line 100 in 8d4dfaf
This line should only convert the metric to a tensor if it is a numeric value.
For complex metrics, we should either rely on
self.comp_func
and some distance metric or allow some way to extract the desired value inself.monitor
. Otherwise it will also crash here when checking the absolute distance.composer/composer/callbacks/early_stopper.py
Line 128 in 8d4dfaf
Motivation
Metrics for object detection come as a dictionary. See MAP.
The text was updated successfully, but these errors were encountered: