csepartha commited on
Commit
5bb4908
·
verified ·
1 Parent(s): 69826e4

Upload 2 files

Browse files
Files changed (2) hide show
  1. app.py +19 -19
  2. best.pt +2 -2
app.py CHANGED
@@ -70,29 +70,29 @@ class_names = data_dict['names'] # e.g., ['Platelets', 'RBC', 'WBC'] if those a
70
 
71
  ##################################
72
  # Hardcoded metrics from your provided values:
73
- overall_precision = 0.870496260646755
74
- overall_recall = 0.8460399765524981
75
- overall_map50 = 0.9160845656283895
76
- overall_map = 0.6064155939296477
77
- overall_map75 = 0.6557004942673867
78
 
79
  # Per-Class Metrics (index as per data.yaml order)
80
  # Here we assume the class order matches the indices:
81
  # class_names[0], class_names[1], class_names[2], etc.
82
- class0_precision = 0.7648872215366018
83
- class0_recall = 0.9452054794520548
84
- class0_map50 = 0.9106238743284377
85
- class0_map = 0.44560784653430324
86
-
87
- class1_precision = 0.8560449257059868
88
- class1_recall = 0.6329144502054396
89
- class1_map50 = 0.8441600369816818
90
- class1_map = 0.5859616928719056
91
-
92
- class2_precision = 0.9905566346976764
93
- class2_recall = 0.96
94
- class2_map50 = 0.9934697855750487
95
- class2_map = 0.7876772423827341
96
 
97
  # Construct the metrics DataFrame
98
  metrics_data = [
 
70
 
71
  ##################################
72
  # Hardcoded metrics from your provided values:
73
+ overall_precision = 0.8998657967724281
74
+ overall_recall = 0.9152413015416975
75
+ overall_map50 = 0.9482967626275897
76
+ overall_map = 0.6529025986330599
77
+ overall_map75 = 0.7199225312247104
78
 
79
  # Per-Class Metrics (index as per data.yaml order)
80
  # Here we assume the class order matches the indices:
81
  # class_names[0], class_names[1], class_names[2], etc.
82
+ class0_precision = 0.8820047185253768
83
+ class0_recall = 0.958904109589041
84
+ class0_map50 = 0.961433378998409
85
+ class0_map = 0.5023530432704303
86
+
87
+ class1_precision = 0.8196728808767741
88
+ class1_recall = 0.7868197950360514
89
+ class1_map50 = 0.8884569088843599
90
+ class1_map = 0.6302822447945686
91
+
92
+ class2_precision = 0.9979197909151334
93
+ class2_recall = 1.0
94
+ class2_map50 = 0.995
95
+ class2_map = 0.8260725078341811
96
 
97
  # Construct the metrics DataFrame
98
  metrics_data = [
best.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4196097b0bfc16018a43ca683bd993f0a51cf352ac28edf76d17a4e49f4fe437
3
- size 5464787
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e5903d2178c13636e443cdcee1af62f54d33e8de317ec2ce198d07bc4dfd98c
3
+ size 5471059