Alex Rudaev commited on
Commit
819bc96
Β·
verified Β·
1 Parent(s): ba36c04

Upload trained artifacts for CheXVision-ResNet_best

Browse files
CheXVision-ResNet_best.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a1e6c63b65cb596fc9a8e485b7f1bb40dae3bfe856ef8c9574b0330217e18a5f
3
- size 257688938
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eebff599d39394890c23208e15bc089a56d888509ecd687034f735d0f9e05571
3
+ size 257689002
CheXVision-ResNet_history.json CHANGED
@@ -1,413 +1,388 @@
1
  {
2
  "train_combined_loss": [
3
- 1.7193066400243064,
4
- 1.6319774799675641,
5
- 1.5921577036649808,
6
- 1.5715855851885623,
7
- 1.5526096972227585,
8
- 1.5375647344548145,
9
- 1.5276719710598923,
10
- 1.51471095159497,
11
- 1.5020430373470461,
12
- 1.4911687616984963,
13
- 1.4827118652689686,
14
- 1.4645557582843094,
15
- 1.4599297595014327,
16
- 1.4396859422833597,
17
- 1.435539446407329,
18
- 1.4271332907735397,
19
- 1.4179421217166648,
20
- 1.403216678831095,
21
- 1.4028082510267657,
22
- 1.3912968738283542,
23
- 1.3905528351132577,
24
- 1.368464354100069,
25
- 1.3732676605098209,
26
- 1.3612577147693188,
27
- 1.3580954211825564,
28
- 1.349657351700654,
29
- 1.3462725321582267,
30
- 1.3339615156037132,
31
- 1.328426195428564,
32
- 1.3237001741328687,
33
- 1.321514273648581,
34
- 1.319026428947793,
35
- 1.309424513644452,
36
- 1.300233209015749,
37
- 1.2933348074378075,
38
- 1.2864114295081326,
39
- 1.2829309904188908,
40
- 1.2802288567232312,
41
- 1.2804806562393574,
42
- 1.2689745398784789,
43
- 1.2584112556830849,
44
- 1.2571758327300204,
45
- 1.2469394986728297,
46
- 1.2496043610484766,
47
- 1.2369848253739677,
48
- 1.2362593363482883,
49
- 1.2238024343561822,
50
- 1.2261232994695546,
51
- 1.2163730117939122,
52
- 1.2134837068443078,
53
- 1.203720935823294,
54
- 1.1993581782514364,
55
- 1.1956696627469743,
56
- 1.1901293286887846,
57
- 1.1828468518517377,
58
- 1.1760831997685126,
59
- 1.1743592221471781,
60
- 1.1676305691189193,
61
- 1.16071797906741,
62
- 1.1500692465875693,
63
- 1.1462531019587667,
64
- 1.1401782409304422,
65
- 1.1347792832196908,
66
- 1.1247655882373617,
67
- 1.1250666635027664,
68
- 1.1117426747907906,
69
- 1.1028407062229975,
70
- 1.1057177975278534,
71
- 1.098347607894564,
72
- 1.0851252087814964,
73
- 1.0856234678294652,
74
- 1.0743625631672855,
75
- 1.0731956925996757,
76
- 1.0702588654317766,
77
- 1.0624129944861205,
78
- 1.0540558592334945,
79
- 1.0523786074957693,
80
- 1.0476193412386299,
81
- 1.043437443798959,
82
- 1.0361742765922062
83
  ],
84
  "val_multilabel_loss": [
85
- 1.3587770308576412,
86
- 1.2979212917053877,
87
- 1.2737988195757368,
88
- 1.2421057458911369,
89
- 1.2411232156984842,
90
- 1.2454890123943785,
91
- 1.2187369696017523,
92
- 1.208064973910353,
93
- 1.1996844536555347,
94
- 1.1994789546327804,
95
- 1.187707005819278,
96
- 1.1633295326757787,
97
- 1.1674125660488854,
98
- 1.1689632831891972,
99
- 1.1764915106234266,
100
- 1.182024956416728,
101
- 1.171085882320333,
102
- 1.1566256758437228,
103
- 1.1557088037257763,
104
- 1.1606980737910342,
105
- 1.1157113055684673,
106
- 1.1234864555855295,
107
- 1.1408849361894735,
108
- 1.1247840421413309,
109
- 1.1282216651893373,
110
- 1.126798038273605,
111
- 1.1151826614096982,
112
- 1.1377070539478045,
113
- 1.1349695773044628,
114
- 1.1394831799526712,
115
- 1.1823002585946625,
116
- 1.1979565246781307,
117
- 1.1515015513816875,
118
- 1.1616137074445612,
119
- 1.2111144113674093,
120
- 1.1897162462570774,
121
- 1.2482671467448347,
122
- 1.1460777402146538,
123
- 1.2085615902471898,
124
- 1.1396334383692315,
125
- 1.2153222138868338,
126
- 1.1863896009414943,
127
- 1.2663917332442838,
128
- 1.2043939986780507,
129
- 1.2805147536877375,
130
- 1.2789906082091047,
131
- 1.2600323416626276,
132
- 1.3514712900479338,
133
- 1.329880796150485,
134
- 1.3387917110613032,
135
- 1.3195175874922702,
136
- 1.4069586119322635,
137
- 1.3508582265852993,
138
- 1.322483478364215,
139
- 1.40722329714405,
140
- 1.4136808580204623,
141
- 1.418752995333565,
142
- 1.3904325611778159,
143
- 1.538996912149796,
144
- 1.5857611665529991,
145
- 1.4956775041880892,
146
- 1.5053675744070936,
147
- 1.540437321831931,
148
- 1.5240953742568173,
149
- 1.5948855673977689,
150
- 1.618571667973675,
151
- 1.602688939380112,
152
- 1.6135349103541516,
153
- 1.6695203668257195,
154
- 1.6448774825948387,
155
- 1.7579388151417916,
156
- 1.6869916798018698,
157
- 1.6719623963112262,
158
- 1.6472535990734598,
159
- 1.8512346063976857,
160
- 1.779941865090114,
161
- 1.8332922462540775,
162
- 1.859218388517846,
163
- 1.8297978248169173,
164
- 1.9444677036867213
165
  ],
166
  "auc_roc_macro": [
167
- 0.5861148917690563,
168
- 0.6382188769738982,
169
- 0.6656913099349121,
170
- 0.6833393187588167,
171
- 0.691015400952043,
172
- 0.6896549647699163,
173
- 0.7048594813164274,
174
- 0.7115320219326879,
175
- 0.7227428563181881,
176
- 0.7173999396129064,
177
- 0.728869866919284,
178
- 0.7334977765166267,
179
- 0.7373187805279444,
180
- 0.7411044472479785,
181
- 0.7353552637421784,
182
- 0.7489385943900191,
183
- 0.7508086739513764,
184
- 0.7543862557007509,
185
- 0.7617968607450436,
186
- 0.7595833627258213,
187
- 0.7682776519450237,
188
- 0.7684956206684662,
189
- 0.7680464111518411,
190
- 0.7686820019336239,
191
- 0.7755240023125906,
192
- 0.7746318906988712,
193
- 0.778230769313696,
194
- 0.7775286541221039,
195
- 0.7780248975111342,
196
- 0.7785490184634024,
197
- 0.7789283074871374,
198
- 0.7794676814579019,
199
- 0.7808842283095861,
200
- 0.7822094763488358,
201
- 0.7854865314406501,
202
- 0.7814432103799396,
203
- 0.7789131089108106,
204
- 0.783267133597504,
205
- 0.7850271113827677,
206
- 0.7887643755934152,
207
- 0.7877825950780236,
208
- 0.789577471144223,
209
- 0.7874829195929393,
210
- 0.7891315315468567,
211
- 0.7897503062057237,
212
- 0.7892659592790113,
213
- 0.7892256241254351,
214
- 0.7877708596418972,
215
- 0.7921449724646248,
216
- 0.7918404951779995,
217
- 0.7925665694176522,
218
- 0.7905315164071969,
219
- 0.7924461372690477,
220
- 0.7962187209618695,
221
- 0.7951120553052311,
222
- 0.7949196487770661,
223
- 0.7949877817779832,
224
- 0.7962038385857333,
225
- 0.7954472904014142,
226
- 0.7951010309966685,
227
- 0.7952121970969696,
228
- 0.7938179343640532,
229
- 0.795896438923343,
230
- 0.7964101759145408,
231
- 0.7975779480543309,
232
- 0.794828598633565,
233
- 0.7924029001696348,
234
- 0.7954328904682788,
235
- 0.795619605114598,
236
- 0.795366641930549,
237
- 0.7918652655652789,
238
- 0.7923138588614913,
239
- 0.795054493956137,
240
- 0.7964765288681199,
241
- 0.7947400510084304,
242
- 0.7946282218425195,
243
- 0.7947766479794367,
244
- 0.7952097440377667,
245
- 0.795785552486931,
246
- 0.7924229672669126
247
  ],
248
  "binary_auc_roc": [
249
- 0.6201408551879701,
250
- 0.6457985226953593,
251
- 0.6641528202976529,
252
- 0.6801798061205759,
253
- 0.6862877913251162,
254
- 0.6836190131025841,
255
- 0.6899832382225456,
256
- 0.6984366339365421,
257
- 0.6982638274858186,
258
- 0.6961336685912958,
259
- 0.7040745284412298,
260
- 0.7064610113010039,
261
- 0.711699865228899,
262
- 0.7087442249361726,
263
- 0.7140870204873142,
264
- 0.72244056500313,
265
- 0.72134099710891,
266
- 0.7222470542775873,
267
- 0.7309260117190117,
268
- 0.7256573761346448,
269
- 0.7333856739642091,
270
- 0.7311119859764539,
271
- 0.7350918014657842,
272
- 0.7332327593066136,
273
- 0.7381255240506908,
274
- 0.7338860226029045,
275
- 0.7413918405321454,
276
- 0.7409066768960914,
277
- 0.739243022575336,
278
- 0.7400959602513785,
279
- 0.7422739434992389,
280
- 0.741888182795605,
281
- 0.7449046191321171,
282
- 0.7448972227470668,
283
- 0.7477245189492023,
284
- 0.7396731055560524,
285
- 0.7400593425420569,
286
- 0.7439251584451364,
287
- 0.7453496629825946,
288
- 0.7447742018123833,
289
- 0.7479454019027537,
290
- 0.7459644594733013,
291
- 0.7472925588556134,
292
- 0.7485339748464633,
293
- 0.7496620356330936,
294
- 0.7503695110698109,
295
- 0.7504027667859278,
296
- 0.7492418144991111,
297
- 0.7497101121359214,
298
- 0.7487516639064702,
299
- 0.7518381417680812,
300
- 0.7512169855068956,
301
- 0.7519432320723394,
302
- 0.7521833624369878,
303
- 0.755443767413724,
304
- 0.7532853117430612,
305
- 0.7544367383824644,
306
- 0.7547453973752694,
307
- 0.7541489797807487,
308
- 0.7547803621045989,
309
- 0.7531380004074736,
310
- 0.7523417963667612,
311
- 0.7527101027223404,
312
- 0.7526647158140765,
313
- 0.7547582289826675,
314
- 0.7539878842730217,
315
- 0.7503244883774774,
316
- 0.753684548436124,
317
- 0.7525556751678028,
318
- 0.7545218528437644,
319
- 0.7542498395768908,
320
- 0.753217735679646,
321
- 0.7525300119530065,
322
- 0.7549070812318074,
323
- 0.7539543203741943,
324
- 0.7530687713640659,
325
- 0.7530422116177486,
326
- 0.753277943374621,
327
- 0.7527464402655615,
328
- 0.7504382638308479
329
  ],
330
  "binary_f1": [
331
- 0.29342674634246857,
332
- 0.3886562618956985,
333
- 0.5546908164709212,
334
- 0.5068807339449541,
335
- 0.4517304189435337,
336
- 0.4761573268360599,
337
- 0.5009301538981904,
338
- 0.5443298969072164,
339
- 0.5097177623795842,
340
- 0.5396571062329755,
341
- 0.5200881505339888,
342
- 0.5153688524590164,
343
- 0.535511837279093,
344
- 0.508598228243877,
345
- 0.5334668669671173,
346
- 0.5582309582309583,
347
- 0.5356721200877045,
348
- 0.5398274987316083,
349
- 0.5958029197080292,
350
- 0.591600730371272,
351
- 0.5885490196078431,
352
- 0.5927406951707167,
353
- 0.592707045735476,
354
- 0.5736657078938958,
355
- 0.5940777297964219,
356
- 0.5775280898876405,
357
- 0.5820003231539829,
358
- 0.5931691818903893,
359
- 0.5983379501385041,
360
- 0.5910224438902744,
361
- 0.595234387167108,
362
- 0.5876913265306123,
363
- 0.5747502865564107,
364
- 0.6026377036462374,
365
- 0.5670701376222849,
366
- 0.6068195534097767,
367
- 0.5910513141426783,
368
- 0.6182739603517663,
369
- 0.5945006321112516,
370
- 0.59044908285895,
371
- 0.5982852689010133,
372
- 0.6232765011119348,
373
- 0.5953282828282829,
374
- 0.629516760992599,
375
- 0.61021094466524,
376
- 0.6241364104071733,
377
- 0.6013071895424836,
378
- 0.6220180767521114,
379
- 0.6018779342723005,
380
- 0.6162422781377128,
381
- 0.6258443465491924,
382
- 0.5986159169550173,
383
- 0.6055900621118012,
384
- 0.6160808568411525,
385
- 0.609396805706311,
386
- 0.6157583118263246,
387
- 0.6115473441108545,
388
- 0.6080347448425625,
389
- 0.619126257318721,
390
- 0.6191698113207548,
391
- 0.6112567463377024,
392
- 0.6089763295419612,
393
- 0.6293419317015976,
394
- 0.6164383561643836,
395
- 0.625821876867902,
396
- 0.620253164556962,
397
- 0.6139605462822458,
398
- 0.6196420514363062,
399
- 0.6068035550107264,
400
- 0.6216377764494919,
401
- 0.6178468971765061,
402
- 0.6016949152542372,
403
- 0.6070050918068199,
404
- 0.6155012892461702,
405
- 0.6128786725529,
406
- 0.6181653863533665,
407
- 0.6215776232055646,
408
- 0.6236463432725114,
409
- 0.6278659611992945,
410
- 0.619210722263589
411
  ],
412
  "learning_rate": [
413
  0.0009997532801828658,
@@ -484,11 +459,6 @@
484
  0.0001812880051256552,
485
  0.00016934406733817422,
486
  0.0001577264470356557,
487
- 0.00014644660940672634,
488
- 0.0001355156862892944,
489
- 0.00012494446518477025,
490
- 0.00011474337861210548,
491
- 0.00010492249381215483,
492
- 9.549150281252637e-05
493
  ]
494
  }
 
1
  {
2
  "train_combined_loss": [
3
+ 1.7124134723719688,
4
+ 1.6563327389704188,
5
+ 1.6192178167574733,
6
+ 1.6065538301949283,
7
+ 1.5934712331857854,
8
+ 1.5737339528240253,
9
+ 1.5592873922382071,
10
+ 1.5484244657245259,
11
+ 1.5384113620743087,
12
+ 1.5241506459640335,
13
+ 1.5128174654407918,
14
+ 1.5028224598814723,
15
+ 1.480468608922832,
16
+ 1.4675930849072676,
17
+ 1.4522311548043412,
18
+ 1.4432593131292852,
19
+ 1.431549858463548,
20
+ 1.4213039513256558,
21
+ 1.418550699499799,
22
+ 1.4040459446372822,
23
+ 1.3963383797793507,
24
+ 1.3931131281644318,
25
+ 1.3775085430579685,
26
+ 1.3759366764072714,
27
+ 1.362007566436176,
28
+ 1.3652394998069908,
29
+ 1.3587400428182568,
30
+ 1.3484214210224064,
31
+ 1.3434770855767135,
32
+ 1.332557792918944,
33
+ 1.3278926902824124,
34
+ 1.3267917664060596,
35
+ 1.314020259485277,
36
+ 1.3158454730093168,
37
+ 1.3049792313289554,
38
+ 1.2918729222382204,
39
+ 1.294607077682521,
40
+ 1.2838949585518642,
41
+ 1.283808339243854,
42
+ 1.2675277957111992,
43
+ 1.270660751010499,
44
+ 1.2610519348052363,
45
+ 1.261400941574746,
46
+ 1.256242699845456,
47
+ 1.2451352818117174,
48
+ 1.2347431874488015,
49
+ 1.2273550647410953,
50
+ 1.2298510473997786,
51
+ 1.2254975177794833,
52
+ 1.2154513573822663,
53
+ 1.2096253557181718,
54
+ 1.203949769062789,
55
+ 1.1943704110360138,
56
+ 1.1908197847099515,
57
+ 1.1870963918902244,
58
+ 1.1816325377192487,
59
+ 1.1757468714755144,
60
+ 1.1663964001278981,
61
+ 1.1685066475028734,
62
+ 1.156439424239881,
63
+ 1.146091536159844,
64
+ 1.1453223183141117,
65
+ 1.135295318801354,
66
+ 1.1266746980001392,
67
+ 1.1235529569597675,
68
+ 1.1187340588560835,
69
+ 1.1156733670246421,
70
+ 1.1034497409719584,
71
+ 1.0999683681067116,
72
+ 1.0941586495363078,
73
+ 1.0909428912223247,
74
+ 1.0838057912471075,
75
+ 1.0761769304058302,
76
+ 1.0813932184000388,
77
+ 1.0619072876698643
 
 
 
 
 
78
  ],
79
  "val_multilabel_loss": [
80
+ 1.432891663383035,
81
+ 1.3367359573099793,
82
+ 1.3152825094404674,
83
+ 1.3294410660487264,
84
+ 1.294724655251543,
85
+ 1.2650490028350627,
86
+ 1.2481751419415994,
87
+ 1.2237949782058972,
88
+ 1.2293956086081284,
89
+ 1.2448742656814618,
90
+ 1.2137248326583403,
91
+ 1.1800265104329886,
92
+ 1.1766311911975635,
93
+ 1.1870563145445174,
94
+ 1.15466878293943,
95
+ 1.1560479532770749,
96
+ 1.1556474978850335,
97
+ 1.184428189982887,
98
+ 1.1124069169789803,
99
+ 1.1181893210117222,
100
+ 1.1042738551018285,
101
+ 1.1043454048012484,
102
+ 1.1286612733238552,
103
+ 1.1188012444171584,
104
+ 1.1209337386597438,
105
+ 1.10587375471238,
106
+ 1.098651764773521,
107
+ 1.1141460502848906,
108
+ 1.0955017307559316,
109
+ 1.098749214277214,
110
+ 1.163088559353051,
111
+ 1.1914743123268212,
112
+ 1.1610766411328517,
113
+ 1.1856480078036045,
114
+ 1.1483205527651543,
115
+ 1.1936752973985272,
116
+ 1.1101547958804112,
117
+ 1.1413028303648578,
118
+ 1.1837641134732912,
119
+ 1.1760416502545195,
120
+ 1.1337165409693866,
121
+ 1.1857522395478577,
122
+ 1.2191999538772915,
123
+ 1.2520315508548618,
124
+ 1.210345393344134,
125
+ 1.2470658045439493,
126
+ 1.2097872178010245,
127
+ 1.2624848476644992,
128
+ 1.3514556236961643,
129
+ 1.33722941210123,
130
+ 1.366594186517037,
131
+ 1.4329219485948734,
132
+ 1.4139539930416423,
133
+ 1.4647649932308358,
134
+ 1.4063804077000177,
135
+ 1.4294493571132505,
136
+ 1.3463562143450023,
137
+ 1.539626619937707,
138
+ 1.4517621866711716,
139
+ 1.5037226854753094,
140
+ 1.4743039648489458,
141
+ 1.4794259386904098,
142
+ 1.5455999228299833,
143
+ 1.695197325502457,
144
+ 1.703609473231126,
145
+ 1.6427013588135315,
146
+ 1.6391914406744372,
147
+ 1.7572424602107841,
148
+ 1.730594052445321,
149
+ 1.7487654256887462,
150
+ 1.8311076000207613,
151
+ 1.9127432956498545,
152
+ 1.8228180259048772,
153
+ 1.8946095726319723,
154
+ 1.842022866761985
 
 
 
 
 
155
  ],
156
  "auc_roc_macro": [
157
+ 0.5600889783341848,
158
+ 0.6006936068308715,
159
+ 0.6135082712869522,
160
+ 0.619662650828645,
161
+ 0.6503016827609143,
162
+ 0.669356745858073,
163
+ 0.6801516399253448,
164
+ 0.6956458946755157,
165
+ 0.6911901512890865,
166
+ 0.6878028916584179,
167
+ 0.711056476048291,
168
+ 0.7249608742542427,
169
+ 0.7285883097397269,
170
+ 0.7313872465588427,
171
+ 0.7410520255477292,
172
+ 0.7475906933947389,
173
+ 0.7534237658041478,
174
+ 0.7438914668774912,
175
+ 0.7640327407828283,
176
+ 0.7626778933313453,
177
+ 0.7681162343266192,
178
+ 0.7674014927002437,
179
+ 0.769074441384282,
180
+ 0.764215790181779,
181
+ 0.7714702353734016,
182
+ 0.7735906794011821,
183
+ 0.7778793373631595,
184
+ 0.7778735125103365,
185
+ 0.7802085311640891,
186
+ 0.7803372778518832,
187
+ 0.7842598628917763,
188
+ 0.7823228231152382,
189
+ 0.7838151999323013,
190
+ 0.7838244382870435,
191
+ 0.7850657680692592,
192
+ 0.7835648581099827,
193
+ 0.7861069970089803,
194
+ 0.7871647223831422,
195
+ 0.790835876576403,
196
+ 0.7940458179780945,
197
+ 0.7915442563521022,
198
+ 0.7958718966986681,
199
+ 0.7914044080104288,
200
+ 0.7919859158077863,
201
+ 0.7950329793603457,
202
+ 0.7943837575081225,
203
+ 0.7944332949980312,
204
+ 0.7933693057425811,
205
+ 0.7951732943980258,
206
+ 0.7963023289821489,
207
+ 0.7952354460544692,
208
+ 0.7973244129856287,
209
+ 0.7939589758854859,
210
+ 0.7983526417614518,
211
+ 0.7977997949640275,
212
+ 0.7962216526625349,
213
+ 0.799182696741477,
214
+ 0.7958033013422208,
215
+ 0.7996982808695525,
216
+ 0.8008184337727041,
217
+ 0.7993454764932675,
218
+ 0.7987675627632589,
219
+ 0.7970890503264659,
220
+ 0.7970806759058202,
221
+ 0.795822651719548,
222
+ 0.7959650228406401,
223
+ 0.79570970273623,
224
+ 0.7964225370744886,
225
+ 0.7963621380965237,
226
+ 0.7969704582418411,
227
+ 0.7922591015985978,
228
+ 0.7940750137887933,
229
+ 0.7950192853888799,
230
+ 0.7953308259817139,
231
+ 0.7979492069497339
 
 
 
 
 
232
  ],
233
  "binary_auc_roc": [
234
+ 0.5746178702490273,
235
+ 0.6266008971142668,
236
+ 0.6405693344979279,
237
+ 0.6285069511450837,
238
+ 0.6645732655645158,
239
+ 0.6639082072753981,
240
+ 0.6745341790315174,
241
+ 0.683820480545378,
242
+ 0.6845977733743137,
243
+ 0.6847907798008759,
244
+ 0.7005820058503164,
245
+ 0.7125628048347254,
246
+ 0.7135322916085323,
247
+ 0.718656025285775,
248
+ 0.7183330217886297,
249
+ 0.7249310735359807,
250
+ 0.7287012687489955,
251
+ 0.7258562380327049,
252
+ 0.7321114505230029,
253
+ 0.7305286521388216,
254
+ 0.7338493208437527,
255
+ 0.7371632095290542,
256
+ 0.7389203272609013,
257
+ 0.7377104019397357,
258
+ 0.7387708026131203,
259
+ 0.7399987986477615,
260
+ 0.7399050270539593,
261
+ 0.7408331893279577,
262
+ 0.741698118113097,
263
+ 0.7423372050047079,
264
+ 0.7426266165864159,
265
+ 0.7454694620071233,
266
+ 0.7440101048067762,
267
+ 0.7451856817640333,
268
+ 0.7447040482208444,
269
+ 0.7421381469903773,
270
+ 0.7459554101082584,
271
+ 0.747642066065856,
272
+ 0.746851773529862,
273
+ 0.749660242570051,
274
+ 0.7486064818332455,
275
+ 0.7518899444800442,
276
+ 0.7499557337561376,
277
+ 0.7507170571173508,
278
+ 0.7533862555890336,
279
+ 0.7533552692183298,
280
+ 0.7516668762309098,
281
+ 0.7501508974616726,
282
+ 0.7535492282096333,
283
+ 0.754096000371164,
284
+ 0.7529061349427867,
285
+ 0.7552340070543583,
286
+ 0.7526605133225704,
287
+ 0.7547960233896108,
288
+ 0.7533051755195792,
289
+ 0.7546422962503241,
290
+ 0.7534207720526022,
291
+ 0.7545340120525215,
292
+ 0.7559255410399631,
293
+ 0.7548512161113886,
294
+ 0.7570695152610959,
295
+ 0.7554793204918642,
296
+ 0.7527130724830046,
297
+ 0.7546512055323167,
298
+ 0.7543438633201833,
299
+ 0.7555772385439521,
300
+ 0.7555056841219112,
301
+ 0.7562786904095109,
302
+ 0.7549175314273522,
303
+ 0.7555050397398804,
304
+ 0.7539582146829898,
305
+ 0.7558435084057675,
306
+ 0.7558688074046331,
307
+ 0.7562037739942654,
308
+ 0.7562586865499428
 
 
 
 
 
309
  ],
310
  "binary_f1": [
311
+ 0.0,
312
+ 0.3076923076923077,
313
+ 0.4815471394037067,
314
+ 0.5027052094605039,
315
+ 0.4215361999264976,
316
+ 0.44010743061772606,
317
+ 0.4845203857215361,
318
+ 0.5391762155466089,
319
+ 0.5097206338833524,
320
+ 0.546183500385505,
321
+ 0.5507064364207221,
322
+ 0.5256604408547871,
323
+ 0.5531776913099871,
324
+ 0.5504140282513394,
325
+ 0.588181955568989,
326
+ 0.6085943190094684,
327
+ 0.5395756146850792,
328
+ 0.5147649834003145,
329
+ 0.6209262435677531,
330
+ 0.5954036891442395,
331
+ 0.5705930138099107,
332
+ 0.5855181023720349,
333
+ 0.5922572588198564,
334
+ 0.5806146572104018,
335
+ 0.5733525733525734,
336
+ 0.6051437216338881,
337
+ 0.6163150907213454,
338
+ 0.5778063272844066,
339
+ 0.6007314843035659,
340
+ 0.595968992248062,
341
+ 0.5999690258634041,
342
+ 0.6026936026936027,
343
+ 0.5788623141564319,
344
+ 0.6115702479338843,
345
+ 0.6026469682979378,
346
+ 0.6046583371895727,
347
+ 0.6219459303166113,
348
+ 0.6203911031497238,
349
+ 0.619626445300919,
350
+ 0.6015343666823235,
351
+ 0.599250936329588,
352
+ 0.6206586826347306,
353
+ 0.6065015479876161,
354
+ 0.6278079577154603,
355
+ 0.6099643023436288,
356
+ 0.6168337891218475,
357
+ 0.6127114769090077,
358
+ 0.6244976931090936,
359
+ 0.6102374344742523,
360
+ 0.6280250971018823,
361
+ 0.629918938835667,
362
+ 0.616816725164047,
363
+ 0.6197183098591549,
364
+ 0.6256611757594076,
365
+ 0.617359413202934,
366
+ 0.6237533998186764,
367
+ 0.6274450797472164,
368
+ 0.6245656443571537,
369
+ 0.6238088035093027,
370
+ 0.6288444311734847,
371
+ 0.6219124109713593,
372
+ 0.6217297630040012,
373
+ 0.6473523703909065,
374
+ 0.6262778111846061,
375
+ 0.6288288288288288,
376
+ 0.6338600451467269,
377
+ 0.6291460303166742,
378
+ 0.6284259397933204,
379
+ 0.6229258639062262,
380
+ 0.6284251731406203,
381
+ 0.6075869667873446,
382
+ 0.6178736517719569,
383
+ 0.626969696969697,
384
+ 0.6349442379182156,
385
+ 0.6363636363636364
 
 
 
 
 
386
  ],
387
  "learning_rate": [
388
  0.0009997532801828658,
 
459
  0.0001812880051256552,
460
  0.00016934406733817422,
461
  0.0001577264470356557,
462
+ 0.00014644660940672634
 
 
 
 
 
463
  ]
464
  }
README.md CHANGED
@@ -1,105 +1,157 @@
1
- ---
2
- license: mit
3
- language:
4
- - en
5
- library_name: pytorch
6
- pipeline_tag: image-classification
7
- tags:
8
- - chexvision
9
- - medical-imaging
10
- - chest-xray
11
- - radiology
12
- - pytorch
13
- - multi-label-classification
14
- datasets:
15
- - HlexNC/chest-xray-14
16
- ---
17
-
18
- # CheXVision-ResNet
19
-
20
- > **CheXVision** β€” Deep Learning & Big Data university project.
21
- > 14-class chest X-ray pathology detection + binary normal/abnormal classification
22
- > on the NIH Chest X-ray14 dataset (112,120 images).
23
-
24
- ## Architecture
25
-
26
- <p align="center">
27
- <img src="https://huggingface.co/HlexNC/chexvision-scratch/resolve/main/arch_scratch.png" width="88%" alt="SE-ResNet Architecture"/>
28
- </p>
29
-
30
- ## Training Pipeline
31
-
32
- <p align="center">
33
- <img src="https://huggingface.co/HlexNC/chexvision-scratch/resolve/main/pipeline_training.png" width="42%" alt="Training Pipeline"/>
34
- </p>
35
-
36
- ## Training Metrics
37
-
38
- - Best validation macro AUC-ROC: `0.7976`
39
- - Best validation binary AUC-ROC: `0.7554`
40
- - Best validation binary F1: `0.6295`
41
- - Best checkpoint epoch: `65`
42
-
43
-
44
- ## Per-Class AUC-ROC at Best Epoch
45
-
46
- | Pathology | AUC-ROC | Visual |
47
- |----------------------|----------|---------------|
48
- | Atelectasis | `0.7842` | `β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘` |
49
- | Cardiomegaly | `0.8929` | `β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘` |
50
- | Effusion | `0.8602` | `β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘` |
51
- | Infiltration | `0.6903` | `β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘` |
52
- | Mass | `0.8168` | `β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘` |
53
- | Nodule | `0.6634` | `β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘` |
54
- | Pneumonia | `0.6807` | `β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘` |
55
- | Pneumothorax | `0.8208` | `β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘` |
56
- | Consolidation | `0.8184` | `β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘` |
57
- | Edema | `0.9103` | `β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘` |
58
- | Emphysema | `0.8355` | `β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘` |
59
- | Fibrosis | `0.7604` | `β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘` |
60
- | Pleural_Thickening | `0.7702` | `β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘` |
61
- | Hernia | `0.8619` | `β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘` |
62
-
63
- ## Training Configuration
64
-
65
- - Repository: `HlexNC/chexvision-scratch`
66
- - Dataset: [HlexNC/chest-xray-14](https://huggingface.co/datasets/HlexNC/chest-xray-14) Β· revision `c4e9a86b`
67
- - Architecture: Custom residual CNN with Squeeze-Excitation channel attention (depth [3, 4, 6, 3]) trained from scratch with shared features and dual classification heads.
68
- - Platform: Kaggle GPU kernel (NVIDIA T4 / P100)
69
- - Batch size: `32` Γ— grad_accum `4` = **effective batch `128`**
70
- - AMP (fp16): `enabled`
71
- - Optimizer: AdamW Β· Scheduler: CosineAnnealingLR
72
- - Epochs configured: `100` Β· Early stop patience: `15`
73
-
74
- ## Intended Use
75
-
76
- This model is intended for research and educational work on automated chest X-ray pathology detection.
77
- It outputs two predictions per image:
78
- 1. **Multi-label scores** β€” independent sigmoid probability for each of 14 NIH pathologies
79
- 2. **Binary score** β€” sigmoid probability of any abnormality (Normal vs. Abnormal)
80
-
81
- ## Limitations
82
-
83
- - Not validated for clinical use. Predictions must not substitute professional medical judgment.
84
- - Trained on NIH Chest X-ray14, which contains noisy radiologist annotations (patient-level labels, not lesion-level).
85
- - Performance degrades on images from equipment, patient populations, or preprocessing pipelines
86
- that differ from the NIH training distribution.
87
- - Reported AUC metrics are on the validation split, not the held-out test set.
88
-
89
- ## CheXNet Benchmark Context
90
-
91
- CheXNet (Rajpurkar et al., 2017) β€” the seminal paper establishing DenseNet-121 for chest X-ray
92
- classification β€” reported **0.841 macro AUC-ROC** on a comparable split of this dataset.
93
- CheXVision-DenseNet matches this benchmark. See the
94
- [CheXVision demo](https://huggingface.co/spaces/HlexNC/chexvision-demo) for live inference.
95
-
96
- ## Citation
97
-
98
- ```bibtex
99
- @misc{chexvision2026,
100
- title={CheXVision: Dual-Task Chest X-ray Classification with Custom CNN and DenseNet-121},
101
- author={BIG D(ATA) Team},
102
- year={2026},
103
- howpublished={\url{https://huggingface.co/HlexNC/chexvision-scratch}}
104
- }
105
- ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ language:
4
+ - en
5
+ library_name: pytorch
6
+ pipeline_tag: image-classification
7
+ tags:
8
+ - chexvision
9
+ - medical-imaging
10
+ - chest-xray
11
+ - radiology
12
+ - pytorch
13
+ - multi-label-classification
14
+ datasets:
15
+ - HlexNC/chest-xray-14-320
16
+ ---
17
+
18
+ # CheXVision-ResNet
19
+
20
+ > **CheXVision** β€” Deep Learning & Big Data university project.
21
+ > 14-class chest X-ray pathology detection + binary normal/abnormal classification
22
+ > on the NIH Chest X-ray14 dataset (112,120 images).
23
+
24
+ ## Architecture
25
+
26
+ ```mermaid
27
+ graph LR
28
+ IN["Input
29
+ 3 Γ— 224 Γ— 224"] --> STEM["Stem
30
+ 7Γ—7 Conv Β· BN Β· ReLU
31
+ 3β†’64ch Β· MaxPool Γ·2"]
32
+ STEM --> S1["Stage 1
33
+ 3Γ— SE-ResBlock
34
+ 64ch"]
35
+ S1 --> S2["Stage 2 ↓½
36
+ 4Γ— SE-ResBlock
37
+ 128ch"]
38
+ S2 --> S3["Stage 3 ↓½
39
+ 6Γ— SE-ResBlock
40
+ 256ch"]
41
+ S3 --> S4["Stage 4 ↓½
42
+ 3Γ— SE-ResBlock
43
+ 512ch"]
44
+ S4 --> GAP["Global Avg Pool
45
+ Dropout(0.5)
46
+ 512-dim"]
47
+ GAP --> MLH["Multilabel Head
48
+ Linear 512β†’14
49
+ sigmoid Β· 14 pathologies"]
50
+ GAP --> BH["Binary Head
51
+ Linear 512β†’1
52
+ sigmoid Β· Normal/Abnormal"]
53
+ style MLH fill:#2e7d32,color:#fff
54
+ style BH fill:#1565c0,color:#fff
55
+ style IN fill:#37474f,color:#fff
56
+ ```
57
+
58
+ ## Training Pipeline
59
+
60
+ ```mermaid
61
+ flowchart TD
62
+ DS[("πŸ—„οΈ HlexNC/chest-xray-14
63
+ 112,120 images Β· 36 shards Β· ~4.7 GB")]
64
+ DS -->|snapshot_download| PREP["πŸ“‚ data/images Β· data/labels.csv
65
+ train 78,468 Β· val 11,210 Β· test 22,442"]
66
+ PREP --> AUG["Augmentation Pipeline
67
+ HFlip Β· RotateΒ±15Β° Β· RandomAffine
68
+ ColorJitter Β· GaussianBlur Β· RandomErasing"]
69
+ AUG --> FWD["⚑ Model Forward Pass
70
+ torch.cuda.amp.autocast Β· fp16"]
71
+ FWD --> ML["multilabel_logits BΓ—14
72
+ WeightedBCE + pos_weight Β· 14 classes"]
73
+ FWD --> BIN["binary_logits BΓ—1
74
+ BCE Β· Normal vs. Abnormal"]
75
+ ML --> LOSS["Combined Loss
76
+ 1.0 Γ— multilabel + 0.5 Γ— binary"]
77
+ BIN --> LOSS
78
+ LOSS --> BACK["Backward Β· Grad Clip 1.0
79
+ Gradient Accumulation Γ—4 Β· eff. batch 128"]
80
+ BACK --> OPT["AdamW Β· CosineAnnealingLR
81
+ early stop patience = 15"]
82
+ OPT -->|"↑ best val AUC-ROC"| BEST["πŸ’Ύ Best Checkpoint
83
+ model_state Β· best_val_metrics Β· config"]
84
+ BEST -->|upload_model_artifacts| HUB["πŸ€— HF Hub
85
+ checkpoint Β· history.json Β· model card"]
86
+ ```
87
+
88
+ ## Training Metrics
89
+
90
+ - Best validation macro AUC-ROC: `0.8008`
91
+ - Best validation binary AUC-ROC: `0.7571`
92
+ - Best validation binary F1: `0.6474`
93
+ - Best checkpoint epoch: `60`
94
+
95
+
96
+ ## Per-Class AUC-ROC at Best Epoch
97
+
98
+ | Pathology | AUC-ROC | Visual |
99
+ |----------------------|----------|---------------|
100
+ | Atelectasis | `0.7841` | `β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘` |
101
+ | Cardiomegaly | `0.8985` | `β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘` |
102
+ | Effusion | `0.8623` | `β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘` |
103
+ | Infiltration | `0.6872` | `β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘` |
104
+ | Mass | `0.8322` | `β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘` |
105
+ | Nodule | `0.6899` | `β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘` |
106
+ | Pneumonia | `0.6741` | `β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘` |
107
+ | Pneumothorax | `0.8183` | `β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘` |
108
+ | Consolidation | `0.8110` | `β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘` |
109
+ | Edema | `0.9151` | `β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘` |
110
+ | Emphysema | `0.8267` | `β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘` |
111
+ | Fibrosis | `0.7579` | `β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘` |
112
+ | Pleural_Thickening | `0.7752` | `β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘` |
113
+ | Hernia | `0.8791` | `β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘` |
114
+
115
+ ## Training Configuration
116
+
117
+ - Repository: `HlexNC/chexvision-scratch`
118
+ - Dataset: [HlexNC/chest-xray-14-320](https://huggingface.co/datasets/HlexNC/chest-xray-14-320) Β· revision `44443e6ee968b3c6094b63f14a27698c40b50680`
119
+ - Architecture: Custom residual CNN with Squeeze-Excitation channel attention (depth [3, 4, 6, 3]) trained from scratch with shared features and dual classification heads.
120
+ - Platform: Kaggle GPU kernel (NVIDIA T4 / P100)
121
+ - Batch size: `24` Γ— grad_accum `4` = **effective batch `96`**
122
+ - AMP (fp16): `enabled`
123
+ - Optimizer: AdamW Β· Scheduler: CosineAnnealingLR
124
+ - Epochs configured: `100` Β· Early stop patience: `15`
125
+
126
+ ## Intended Use
127
+
128
+ This model is intended for research and educational work on automated chest X-ray pathology detection.
129
+ It outputs two predictions per image:
130
+ 1. **Multi-label scores** β€” independent sigmoid probability for each of 14 NIH pathologies
131
+ 2. **Binary score** β€” sigmoid probability of any abnormality (Normal vs. Abnormal)
132
+
133
+ ## Limitations
134
+
135
+ - Not validated for clinical use. Predictions must not substitute professional medical judgment.
136
+ - Trained on NIH Chest X-ray14, which contains noisy radiologist annotations (patient-level labels, not lesion-level).
137
+ - Performance degrades on images from equipment, patient populations, or preprocessing pipelines
138
+ that differ from the NIH training distribution.
139
+ - Reported AUC metrics are on the validation split, not the held-out test set.
140
+
141
+ ## CheXNet Benchmark Context
142
+
143
+ CheXNet (Rajpurkar et al., 2017) β€” the seminal paper establishing DenseNet-121 for chest X-ray
144
+ classification β€” reported **0.841 macro AUC-ROC** on a comparable split of this dataset.
145
+ CheXVision-DenseNet matches this benchmark. See the
146
+ [CheXVision demo](https://huggingface.co/spaces/HlexNC/chexvision-demo) for live inference.
147
+
148
+ ## Citation
149
+
150
+ ```bibtex
151
+ @misc{chexvision2026,
152
+ title={CheXVision: Dual-Task Chest X-ray Classification with Custom CNN and DenseNet-121},
153
+ author={BIG D(ATA) Team},
154
+ year={2026},
155
+ howpublished={\url{https://huggingface.co/HlexNC/chexvision-scratch}}
156
+ }
157
+ ```
training_config.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
  "seed": 42,
3
  "data": {
4
- "dataset_name": "HlexNC/chest-xray-14",
5
- "image_size": 224,
6
  "num_workers": 4,
7
  "pin_memory": true,
8
  "train_split": 0.7,
@@ -38,12 +38,12 @@
38
  "Hernia"
39
  ],
40
  "data_dir": "/kaggle/working/data",
41
- "hf_dataset_repo": "HlexNC/chest-xray-14",
42
- "hf_dataset_revision": "c4e9a86b38de3b1604afa6e9f514d156eb9d20bf"
43
  },
44
  "training": {
45
  "epochs": 100,
46
- "batch_size": 32,
47
  "learning_rate": 0.001,
48
  "weight_decay": 0.0001,
49
  "optimizer": "adamw",
@@ -67,7 +67,7 @@
67
  "log_every_n_steps": 100
68
  },
69
  "huggingface": {
70
- "dataset_repo": "HlexNC/chest-xray-14",
71
  "scratch_model_repo": "HlexNC/chexvision-scratch",
72
  "transfer_model_repo": "HlexNC/chexvision-densenet",
73
  "space_repo": "HlexNC/chexvision-demo"
 
1
  {
2
  "seed": 42,
3
  "data": {
4
+ "dataset_name": "HlexNC/chest-xray-14-320",
5
+ "image_size": 320,
6
  "num_workers": 4,
7
  "pin_memory": true,
8
  "train_split": 0.7,
 
38
  "Hernia"
39
  ],
40
  "data_dir": "/kaggle/working/data",
41
+ "hf_dataset_repo": "HlexNC/chest-xray-14-320",
42
+ "hf_dataset_revision": "44443e6ee968b3c6094b63f14a27698c40b50680"
43
  },
44
  "training": {
45
  "epochs": 100,
46
+ "batch_size": 24,
47
  "learning_rate": 0.001,
48
  "weight_decay": 0.0001,
49
  "optimizer": "adamw",
 
67
  "log_every_n_steps": 100
68
  },
69
  "huggingface": {
70
+ "dataset_repo": "HlexNC/chest-xray-14-320",
71
  "scratch_model_repo": "HlexNC/chexvision-scratch",
72
  "transfer_model_repo": "HlexNC/chexvision-densenet",
73
  "space_repo": "HlexNC/chexvision-demo"