File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ def train_test_single_svm(args):
85
85
best_crossval_clf = clf
86
86
best_cost = cost
87
87
88
- logger .info (f"Best SVM { cls_name } : cost { best_cost } , mAP { best_crossval_ap } " )
88
+ logger .info (f"Best SVM { cls_name } : cost { best_cost } , mAP { best_crossval_ap * 100 } " )
89
89
# fmt: on
90
90
91
91
# -------------------------------------------------------------------------
@@ -244,9 +244,9 @@ def main(_A: argparse.Namespace):
244
244
245
245
# Test set mAP for each class, for features from every layer.
246
246
test_map = torch .tensor (pool_output ).mean ()
247
- logger .info (f"Iteration: { ITERATION } , mAP: { test_map } " )
247
+ logger .info (f"Iteration: { ITERATION } , mAP: { test_map * 100 } " )
248
248
tensorboard_writer .add_scalars (
249
- "metrics/voc07_clf" , {f"{ _A . layer } _mAP " : test_map }, ITERATION
249
+ "metrics/voc07_clf" , {f"voc07_mAP " : test_map * 100 }, ITERATION
250
250
)
251
251
252
252
You can’t perform that action at this time.
0 commit comments