Alex Rudaev commited on
Commit
08c8aa7
Β·
verified Β·
1 Parent(s): 7155499

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:b77d11ebf5766aa5de2cf708e75643002adf08f8b47109ff9a7f0c22c9afddaa
3
- size 134352378
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a1e6c63b65cb596fc9a8e485b7f1bb40dae3bfe856ef8c9574b0330217e18a5f
3
+ size 257688938
CheXVision-ResNet_history.json CHANGED
@@ -1,218 +1,494 @@
1
  {
2
  "train_combined_loss": [
3
- 1.8028105597394286,
4
- 1.6594285478736712,
5
- 1.6095932511506532,
6
- 1.5697966825291911,
7
- 1.5412424254916366,
8
- 1.5032177379887566,
9
- 1.4764412227692445,
10
- 1.4494492699975698,
11
- 1.4329791697117458,
12
- 1.4239830405779632,
13
- 1.393419378156979,
14
- 1.3809595914419235,
15
- 1.3721821074804714,
16
- 1.3491639165199336,
17
- 1.3301550439747327,
18
- 1.3298129981103177,
19
- 1.3220968897048204,
20
- 1.305642487721997,
21
- 1.2903609446291557,
22
- 1.2790042816198504,
23
- 1.2661940262216889,
24
- 1.2492031894064752,
25
- 1.2363540076015913,
26
- 1.222058405654079,
27
- 1.1951119540214148,
28
- 1.193141121966065,
29
- 1.173493552462312,
30
- 1.161446431938331,
31
- 1.1409827179726784,
32
- 1.1354267131514268,
33
- 1.1191549057543742,
34
- 1.101134967940921,
35
- 1.086944131490193,
36
- 1.0719895903869492
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
  ],
38
  "val_multilabel_loss": [
39
- 1.380399280074817,
40
- 1.3632816949219846,
41
- 1.2692323502764773,
42
- 1.295367061869422,
43
- 1.2237563973932124,
44
- 1.2354203033358304,
45
- 1.2101998096748965,
46
- 1.2230405803047009,
47
- 1.2912428113284395,
48
- 1.1853153503208018,
49
- 1.2564876571631254,
50
- 1.1918568097388567,
51
- 1.1554152055351592,
52
- 1.1557411105552715,
53
- 1.1340461924894532,
54
- 1.2904444914033164,
55
- 1.2183967049775728,
56
- 1.3361681518492414,
57
- 1.3081900223867218,
58
- 1.2641262770143908,
59
- 1.2227575205155272,
60
- 1.3104938662319041,
61
- 1.2994564609296286,
62
- 1.2552621220586015,
63
- 1.3974817288455679,
64
- 1.4078792223512238,
65
- 1.5470995481556922,
66
- 1.6826615465332324,
67
- 1.6731281273289402,
68
- 1.7241769406888912,
69
- 1.815169675748295,
70
- 1.8399118531995744,
71
- 1.9671026995933767,
72
- 2.035841338670076
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
73
  ],
74
  "auc_roc_macro": [
75
- 0.6046625111095786,
76
- 0.6561213467973186,
77
- 0.6813161981653256,
78
- 0.7027556323869566,
79
- 0.7224978279539095,
80
- 0.7343555590095864,
81
- 0.7436384168583265,
82
- 0.7549345219092586,
83
- 0.7591469094158342,
84
- 0.7615124400040545,
85
- 0.7618176344322659,
86
- 0.7742936313873724,
87
- 0.7764602244834701,
88
- 0.7771191574770734,
89
- 0.7787623906099066,
90
- 0.7770042763504428,
91
- 0.7852792258679061,
92
- 0.7819910484715589,
93
- 0.7840773831561441,
94
- 0.7879082979121297,
95
- 0.7901033962620295,
96
- 0.7908528614970541,
97
- 0.7928655079046033,
98
- 0.796671387734275,
99
- 0.789645163059305,
100
- 0.7905195777350826,
101
- 0.7904629781399033,
102
- 0.7892680000852913,
103
- 0.7903950977495257,
104
- 0.790345513432304,
105
- 0.7862247732788701,
106
- 0.7847271461840294,
107
- 0.7849398658926571,
108
- 0.7852439459285295
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
109
  ],
110
  "binary_auc_roc": [
111
- 0.6317048790814317,
112
- 0.6687970777106798,
113
- 0.6778475914344482,
114
- 0.6997437208613247,
115
- 0.7095025785367216,
116
- 0.7220160293112016,
117
- 0.7286104949324677,
118
- 0.7288342355802431,
119
- 0.7339123301997315,
120
- 0.7357826910693581,
121
- 0.7370244432595285,
122
- 0.741706691195769,
123
- 0.7417575133263807,
124
- 0.743724783650134,
125
- 0.7434502208717468,
126
- 0.7431772270235222,
127
- 0.7472573139601838,
128
- 0.7423898482149721,
129
- 0.7486844240423756,
130
- 0.7486236560151999,
131
- 0.7491379849423048,
132
- 0.7514892509232594,
133
- 0.752473586500387,
134
- 0.7538169269185607,
135
- 0.7542700675693395,
136
- 0.7524202989080919,
137
- 0.7558643527636368,
138
- 0.7554111560796379,
139
- 0.7557845894748544,
140
- 0.7571077579337997,
141
- 0.7567228657450771,
142
- 0.7556190673427411,
143
- 0.7558345711071648,
144
- 0.7559177804389823
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
145
  ],
146
  "binary_f1": [
147
- 0.295641187618446,
148
- 0.45902215969046783,
149
- 0.4941574936494496,
150
- 0.5436495430192247,
151
- 0.5700690713737528,
152
- 0.5353247189125693,
153
- 0.6157118547929665,
154
- 0.561547287329946,
155
- 0.532246879334258,
156
- 0.5891545553992812,
157
- 0.5991729208148262,
158
- 0.6030075187969924,
159
- 0.594847775175644,
160
- 0.603756157635468,
161
- 0.6077263704382349,
162
- 0.6114859799070326,
163
- 0.6062858027558445,
164
- 0.6019298514320723,
165
- 0.6206794682422452,
166
- 0.6164199192462988,
167
- 0.63709336713139,
168
- 0.6130790190735694,
169
- 0.6332859174964438,
170
- 0.6120941683335898,
171
- 0.6123138338707201,
172
- 0.6320686146242186,
173
- 0.6322073383808969,
174
- 0.6132264529058116,
175
- 0.6191055673866748,
176
- 0.6180481078596599,
177
- 0.6131857999077917,
178
- 0.6216502649507949,
179
- 0.6197523406825732,
180
- 0.6264308012486993
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
181
  ],
182
  "learning_rate": [
 
183
  0.0009990133642141358,
 
184
  0.000996057350657239,
 
185
  0.0009911436253643444,
186
- 0.0009842915805643156,
187
- 0.0009755282581475769,
188
- 0.0009648882429441258,
189
- 0.0009524135262330099,
 
 
 
 
 
190
  0.0009381533400219318,
191
- 0.0009221639627510075,
192
- 0.0009045084971874736,
193
- 0.0008852566213878945,
194
- 0.0008644843137107056,
195
- 0.0008422735529643443,
196
- 0.0008187119948743448,
197
- 0.0007938926261462366,
198
- 0.0007679133974894982,
199
- 0.0007408768370508576,
200
- 0.0007128896457825362,
201
- 0.0006840622763423389,
202
- 0.0006545084971874735,
203
- 0.0006243449435824271,
204
- 0.0005936906572928622,
205
- 0.000562666616782152,
206
- 0.0005313952597646566,
207
- 0.0004999999999999998,
208
- 0.00046860474023534314,
209
- 0.00043733338321784774,
210
- 0.00040630934270713756,
211
- 0.00037565505641757246,
212
- 0.00034549150281252633,
213
- 0.00031593772365766105,
214
- 0.00028711035421746355,
215
- 0.0002591231629491422,
216
- 0.00023208660251050145
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
217
  ]
218
  }
 
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,
414
  0.0009990133642141358,
415
+ 0.00099778098230154,
416
  0.000996057350657239,
417
+ 0.0009938441702975688,
418
  0.0009911436253643444,
419
+ 0.0009879583809693736,
420
+ 0.0009842915805643154,
421
+ 0.0009801468428384714,
422
+ 0.0009755282581475767,
423
+ 0.0009704403844771127,
424
+ 0.0009648882429441257,
425
+ 0.0009588773128419905,
426
+ 0.0009524135262330098,
427
+ 0.0009455032620941839,
428
  0.0009381533400219318,
429
+ 0.0009303710135019719,
430
+ 0.0009221639627510076,
431
+ 0.000913540287137281,
432
+ 0.0009045084971874739,
433
+ 0.0008950775061878452,
434
+ 0.0008852566213878947,
435
+ 0.0008750555348152298,
436
+ 0.0008644843137107057,
437
+ 0.0008535533905932737,
438
+ 0.0008422735529643444,
439
+ 0.0008306559326618259,
440
+ 0.0008187119948743449,
441
+ 0.0008064535268264883,
442
+ 0.0007938926261462367,
443
+ 0.0007810416889260654,
444
+ 0.0007679133974894983,
445
+ 0.0007545207078751857,
446
+ 0.0007408768370508577,
447
+ 0.0007269952498697734,
448
+ 0.0007128896457825364,
449
+ 0.0006985739453173903,
450
+ 0.0006840622763423391,
451
+ 0.0006693689601226458,
452
+ 0.0006545084971874737,
453
+ 0.0006394955530196147,
454
+ 0.0006243449435824273,
455
+ 0.0006090716206982714,
456
+ 0.0005936906572928625,
457
+ 0.0005782172325201156,
458
+ 0.0005626666167821523,
459
+ 0.0005470541566592572,
460
+ 0.0005313952597646569,
461
+ 0.0005157053795390643,
462
+ 0.0005000000000000002,
463
+ 0.00048429462046093607,
464
+ 0.0004686047402353435,
465
+ 0.000452945843340743,
466
+ 0.00043733338321784806,
467
+ 0.0004217827674798847,
468
+ 0.00040630934270713783,
469
+ 0.000390928379301729,
470
+ 0.0003756550564175727,
471
+ 0.00036050444698038553,
472
+ 0.00034549150281252655,
473
+ 0.0003306310398773544,
474
+ 0.00031593772365766127,
475
+ 0.0003014260546826097,
476
+ 0.0002871103542174637,
477
+ 0.0002730047501302267,
478
+ 0.00025912316294914234,
479
+ 0.0002454792921248144,
480
+ 0.00023208660251050164,
481
+ 0.00021895831107393473,
482
+ 0.00020610737385376356,
483
+ 0.00019354647317351177,
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
  }
README.md CHANGED
@@ -10,41 +10,152 @@ tags:
10
  - chest-xray
11
  - radiology
12
  - pytorch
 
13
  datasets:
14
  - HlexNC/chest-xray-14
15
  ---
16
 
17
  # CheXVision-ResNet
18
 
19
- ## Model Details
 
 
20
 
21
- - Repository: `HlexNC/chexvision-scratch`
22
- - Training platform: Kaggle GPU kernel
23
- - Dataset: [HlexNC/chest-xray-14](https://huggingface.co/datasets/HlexNC/chest-xray-14)
24
- - Dataset revision: `c4e9a86b38de3b1604afa6e9f514d156eb9d20bf`
25
- - Architecture: Custom residual CNN trained from scratch with shared features and dual classification heads.
26
- - Training epochs configured: `50`
27
- - Batch size configured: `32`
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
 
29
  ## Training Metrics
30
 
31
- - Best validation macro AUC-ROC: `0.7967`
32
- - Best validation binary AUC-ROC: `0.7571`
33
- - Best validation binary F1: `0.6371`
34
- - Saved checkpoint epoch: `24`
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
 
36
  ## Intended Use
37
 
38
  This model is intended for research and educational work on automated chest X-ray pathology detection.
39
- It predicts both 14 pathology labels and a binary normal-vs-abnormal signal for the CheXVision project.
 
 
40
 
41
  ## Limitations
42
 
43
- - This repository does not provide clinical-grade validation.
44
- - Predictions must not be used as a substitute for professional medical judgement.
45
- - Performance can degrade on populations, devices, or preprocessing pipelines that differ from the training data.
 
 
 
 
 
 
 
 
 
46
 
47
- ## Training Procedure
48
 
49
- Training is orchestrated from the CheXVision repository and runs on Kaggle GPU kernels.
50
- The training kernels download a pinned snapshot of the public Hugging Face dataset, save the best checkpoint, and upload the checkpoint plus metadata back to this public model repository.
 
 
 
 
 
 
 
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
+ ```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 chest X-ray images
64
+ 36 parquet shards Β· ~4.7 GB")] -->|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
+ ImageNet normalize ⟨mean=[0.485,0.456,0.406]⟩"]
70
+ AUG --> FWD["⚑ Model Forward Pass
71
+ torch.cuda.amp.autocast Β· fp16"]
72
+ FWD --> ML["multilabel_logits BΓ—14
73
+ WeightedBCE + pos_weight
74
+ 14 pathology classes"]
75
+ FWD --> BIN["binary_logits BΓ—1
76
+ BCE loss
77
+ Normal vs. Abnormal"]
78
+ ML --> LOSS["Combined Loss
79
+ 1.0 Γ— multilabel + 0.5 Γ— binary"]
80
+ BIN --> LOSS
81
+ LOSS --> BACK["Backward Β· Grad Clip 1.0
82
+ Gradient Accumulation Γ—4
83
+ effective batch = 128"]
84
+ BACK --> OPT["AdamW step Β· CosineAnnealingLR
85
+ early stop patience = 15"]
86
+ OPT -->|"↑ val macro AUC-ROC"| BEST["πŸ’Ύ Best Checkpoint
87
+ model_state + best_val_metrics + config"]
88
+ BEST -->|upload_model_artifacts| HUB["πŸ€— HF Hub
89
+ checkpoint Β· history.json Β· model card"]
90
+ ```
91
 
92
  ## Training Metrics
93
 
94
+ - Best validation macro AUC-ROC: `0.7976`
95
+ - Best validation binary AUC-ROC: `0.7554`
96
+ - Best validation binary F1: `0.6295`
97
+ - Best checkpoint epoch: `65`
98
+
99
+
100
+ ## Per-Class AUC-ROC at Best Epoch
101
+
102
+ | Pathology | AUC-ROC | Visual |
103
+ |----------------------|----------|---------------|
104
+ | Atelectasis | `0.7842` | `β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘` |
105
+ | Cardiomegaly | `0.8929` | `β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘` |
106
+ | Effusion | `0.8602` | `β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘` |
107
+ | Infiltration | `0.6903` | `β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘` |
108
+ | Mass | `0.8168` | `β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘` |
109
+ | Nodule | `0.6634` | `β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘` |
110
+ | Pneumonia | `0.6807` | `β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘` |
111
+ | Pneumothorax | `0.8208` | `β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘` |
112
+ | Consolidation | `0.8184` | `β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘` |
113
+ | Edema | `0.9103` | `β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘` |
114
+ | Emphysema | `0.8355` | `β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘` |
115
+ | Fibrosis | `0.7604` | `β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘` |
116
+ | Pleural_Thickening | `0.7702` | `β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘` |
117
+ | Hernia | `0.8619` | `β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘` |
118
+
119
+ ## Training Configuration
120
+
121
+ - Repository: `HlexNC/chexvision-scratch`
122
+ - Dataset: [HlexNC/chest-xray-14](https://huggingface.co/datasets/HlexNC/chest-xray-14) Β· revision `c4e9a86b`
123
+ - Architecture: Custom residual CNN with Squeeze-Excitation channel attention (depth [3, 4, 6, 3]) trained from scratch with shared features and dual classification heads.
124
+ - Platform: Kaggle GPU kernel (NVIDIA T4 / P100)
125
+ - Batch size: `32` Γ— grad_accum `4` = **effective batch `128`**
126
+ - AMP (fp16): `enabled`
127
+ - Optimizer: AdamW Β· Scheduler: CosineAnnealingLR
128
+ - Epochs configured: `100` Β· Early stop patience: `15`
129
 
130
  ## Intended Use
131
 
132
  This model is intended for research and educational work on automated chest X-ray pathology detection.
133
+ It outputs two predictions per image:
134
+ 1. **Multi-label scores** β€” independent sigmoid probability for each of 14 NIH pathologies
135
+ 2. **Binary score** β€” sigmoid probability of any abnormality (Normal vs. Abnormal)
136
 
137
  ## Limitations
138
 
139
+ - Not validated for clinical use. Predictions must not substitute professional medical judgment.
140
+ - Trained on NIH Chest X-ray14, which contains noisy radiologist annotations (patient-level labels, not lesion-level).
141
+ - Performance degrades on images from equipment, patient populations, or preprocessing pipelines
142
+ that differ from the NIH training distribution.
143
+ - Reported AUC metrics are on the validation split, not the held-out test set.
144
+
145
+ ## CheXNet Benchmark Context
146
+
147
+ CheXNet (Rajpurkar et al., 2017) β€” the seminal paper establishing DenseNet-121 for chest X-ray
148
+ classification β€” reported **0.841 macro AUC-ROC** on a comparable split of this dataset.
149
+ CheXVision-DenseNet matches this benchmark. See the
150
+ [CheXVision demo](https://huggingface.co/spaces/HlexNC/chexvision-demo) for live inference.
151
 
152
+ ## Citation
153
 
154
+ ```bibtex
155
+ @misc{chexvision2026,
156
+ title={CheXVision: Dual-Task Chest X-ray Classification with Custom CNN and DenseNet-121},
157
+ author={BIG D(ATA) Team},
158
+ year={2026},
159
+ howpublished={\url{https://huggingface.co/HlexNC/chexvision-scratch}}
160
+ }
161
+ ```
training_config.json CHANGED
@@ -10,11 +10,16 @@
10
  "test_split": 0.2,
11
  "augmentation": {
12
  "horizontal_flip": true,
13
- "rotation_degrees": 10,
 
 
14
  "color_jitter": {
15
- "brightness": 0.2,
16
- "contrast": 0.2
17
- }
 
 
 
18
  },
19
  "labels": [
20
  "Atelectasis",
@@ -37,15 +42,17 @@
37
  "hf_dataset_revision": "c4e9a86b38de3b1604afa6e9f514d156eb9d20bf"
38
  },
39
  "training": {
40
- "epochs": 50,
41
  "batch_size": 32,
42
  "learning_rate": 0.001,
43
  "weight_decay": 0.0001,
44
  "optimizer": "adamw",
45
  "scheduler": "cosine",
46
  "warmup_epochs": 5,
47
- "early_stopping_patience": 10,
48
  "gradient_clip_norm": 1.0,
 
 
49
  "multilabel_weight": 1.0,
50
  "binary_weight": 0.5
51
  },
@@ -72,10 +79,10 @@
72
  "input_channels": 3,
73
  "initial_filters": 64,
74
  "block_config": [
75
- 2,
76
- 2,
77
- 2,
78
- 2
79
  ],
80
  "filter_sizes": [
81
  64,
@@ -86,7 +93,8 @@
86
  "dropout": 0.5,
87
  "activation": "relu",
88
  "use_batch_norm": true,
89
- "global_avg_pool": true
 
90
  },
91
  "heads": {
92
  "multilabel": {
 
10
  "test_split": 0.2,
11
  "augmentation": {
12
  "horizontal_flip": true,
13
+ "rotation_degrees": 15,
14
+ "affine_translate": 0.05,
15
+ "affine_shear": 5,
16
  "color_jitter": {
17
+ "brightness": 0.3,
18
+ "contrast": 0.3,
19
+ "saturation": 0.05
20
+ },
21
+ "gaussian_blur_prob": 0.2,
22
+ "random_erasing_prob": 0.1
23
  },
24
  "labels": [
25
  "Atelectasis",
 
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",
50
  "scheduler": "cosine",
51
  "warmup_epochs": 5,
52
+ "early_stopping_patience": 15,
53
  "gradient_clip_norm": 1.0,
54
+ "use_amp": true,
55
+ "grad_accum_steps": 4,
56
  "multilabel_weight": 1.0,
57
  "binary_weight": 0.5
58
  },
 
79
  "input_channels": 3,
80
  "initial_filters": 64,
81
  "block_config": [
82
+ 3,
83
+ 4,
84
+ 6,
85
+ 3
86
  ],
87
  "filter_sizes": [
88
  64,
 
93
  "dropout": 0.5,
94
  "activation": "relu",
95
  "use_batch_norm": true,
96
+ "global_avg_pool": true,
97
+ "use_se": true
98
  },
99
  "heads": {
100
  "multilabel": {