File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
APIJSON-Java-Server/APIJSONBoot-MultiDataSource/src/main/resources/static/cv/js Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7154,9 +7154,9 @@ https://github.com/Tencent/APIJSON/issues
7154
7154
detection['diff' + type + 'CorrectStr'] = (correct >= 0 ? '+' : '') + correct;
7155
7155
detection['diff' + type + 'WrongStr'] = (wrong >= 0 ? '+' : '') + wrong;
7156
7156
detection['diff' + type + 'MissStr'] = (miss >= 0 ? '+' : '') + miss;
7157
- detection['diff' + type + 'RecallStr'] = (recall >= 0 ? '+' : '') + recall;
7158
- detection['diff' + type + 'PrecisionStr'] = (precision >= 0 ? '+' : '') + precision;
7159
- detection['diff' + type + 'F1Str'] = (f1 >= 0 ? '+' : '') + f1 ;
7157
+ detection['diff' + type + 'RecallStr'] = (recall >= 0 ? '+' : '') + (100 * recall).toFixed(0) ;
7158
+ detection['diff' + type + 'PrecisionStr'] = (precision >= 0 ? '+' : '') + (100 * precision).toFixed(0) ;
7159
+ detection['diff' + type + 'F1Str'] = (f1 >= 0 ? '+' : '') + (100 * f1).toFixed(0) ;
7160
7160
});
7161
7161
} else {
7162
7162
var imgTotal = detection[stage + 'ImgTotal'] = curTr.imgTotal || curTr.imgCorrect || 0;
You can’t perform that action at this time.
0 commit comments