mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-12-06 21:44:13 +03:00
Fix filtering for classification
This commit is contained in:
parent
01452e4c51
commit
d2a6ceb3b2
@ -745,17 +745,11 @@ function TrainGrid({
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (
|
if (trainFilter.min_score && trainFilter.min_score > data.score) {
|
||||||
trainFilter.min_score &&
|
|
||||||
trainFilter.min_score > data.score / 100.0
|
|
||||||
) {
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (
|
if (trainFilter.max_score && trainFilter.max_score < data.score) {
|
||||||
trainFilter.max_score &&
|
|
||||||
trainFilter.max_score < data.score / 100.0
|
|
||||||
) {
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user