Alex Rudaev commited on
Upload trained artifacts for CheXVision-ResNet_best
Browse filesFiles changed (4)
- CheXVision-ResNet_best.pth+2-2
- CheXVision-ResNet_history.json+476-200
- README.md+130-19
- training_config.json+19-11
123version https://git-lfs.github.com/spec/v1oid sha256:b77d11ebf5766aa5de2cf708e75643002adf08f8b47109ff9a7f0c22c9afddaasize 134352378123version https://git-lfs.github.com/spec/v1oid sha256:a1e6c63b65cb596fc9a8e485b7f1bb40dae3bfe856ef8c9574b0330217e18a5fsize 257688938
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218{"train_combined_loss": [1.8028105597394286,1.6594285478736712,1.6095932511506532,1.5697966825291911,1.5412424254916366,1.5032177379887566,1.4764412227692445,1.4494492699975698,1.4329791697117458,1.4239830405779632,1.393419378156979,1.3809595914419235,1.3721821074804714,1.3491639165199336,1.3301550439747327,1.3298129981103177,1.3220968897048204,1.305642487721997,1.2903609446291557,1.2790042816198504,1.2661940262216889,1.2492031894064752,1.2363540076015913,1.222058405654079,1.1951119540214148,1.193141121966065,1.173493552462312,1.161446431938331,1.1409827179726784,1.1354267131514268,1.1191549057543742,1.101134967940921,1.086944131490193,1.0719895903869492],"val_multilabel_loss": [1.380399280074817,1.3632816949219846,1.2692323502764773,1.295367061869422,1.2237563973932124,1.2354203033358304,1.2101998096748965,1.2230405803047009,1.2912428113284395,1.1853153503208018,1.2564876571631254,1.1918568097388567,1.1554152055351592,1.1557411105552715,1.1340461924894532,1.2904444914033164,1.2183967049775728,1.3361681518492414,1.3081900223867218,1.2641262770143908,1.2227575205155272,1.3104938662319041,1.2994564609296286,1.2552621220586015,1.3974817288455679,1.4078792223512238,1.5470995481556922,1.6826615465332324,1.6731281273289402,1.7241769406888912,1.815169675748295,1.8399118531995744,1.9671026995933767,2.035841338670076],"auc_roc_macro": [0.6046625111095786,0.6561213467973186,0.6813161981653256,0.7027556323869566,0.7224978279539095,0.7343555590095864,0.7436384168583265,0.7549345219092586,0.7591469094158342,0.7615124400040545,0.7618176344322659,0.7742936313873724,0.7764602244834701,0.7771191574770734,0.7787623906099066,0.7770042763504428,0.7852792258679061,0.7819910484715589,0.7840773831561441,0.7879082979121297,0.7901033962620295,0.7908528614970541,0.7928655079046033,0.796671387734275,0.789645163059305,0.7905195777350826,0.7904629781399033,0.7892680000852913,0.7903950977495257,0.790345513432304,0.7862247732788701,0.7847271461840294,0.7849398658926571,0.7852439459285295],"binary_auc_roc": [0.6317048790814317,0.6687970777106798,0.6778475914344482,0.6997437208613247,0.7095025785367216,0.7220160293112016,0.7286104949324677,0.7288342355802431,0.7339123301997315,0.7357826910693581,0.7370244432595285,0.741706691195769,0.7417575133263807,0.743724783650134,0.7434502208717468,0.7431772270235222,0.7472573139601838,0.7423898482149721,0.7486844240423756,0.7486236560151999,0.7491379849423048,0.7514892509232594,0.752473586500387,0.7538169269185607,0.7542700675693395,0.7524202989080919,0.7558643527636368,0.7554111560796379,0.7557845894748544,0.7571077579337997,0.7567228657450771,0.7556190673427411,0.7558345711071648,0.7559177804389823],"binary_f1": [0.295641187618446,0.45902215969046783,0.4941574936494496,0.5436495430192247,0.5700690713737528,0.5353247189125693,0.6157118547929665,0.561547287329946,0.532246879334258,0.5891545553992812,0.5991729208148262,0.6030075187969924,0.594847775175644,0.603756157635468,0.6077263704382349,0.6114859799070326,0.6062858027558445,0.6019298514320723,0.6206794682422452,0.6164199192462988,0.63709336713139,0.6130790190735694,0.6332859174964438,0.6120941683335898,0.6123138338707201,0.6320686146242186,0.6322073383808969,0.6132264529058116,0.6191055673866748,0.6180481078596599,0.6131857999077917,0.6216502649507949,0.6197523406825732,0.6264308012486993],"learning_rate": [0.0009990133642141358,0.000996057350657239,0.0009911436253643444,0.0009842915805643156,0.0009755282581475769,0.0009648882429441258,0.0009524135262330099,0.0009381533400219318,0.0009221639627510075,0.0009045084971874736,0.0008852566213878945,0.0008644843137107056,0.0008422735529643443,0.0008187119948743448,0.0007938926261462366,0.0007679133974894982,0.0007408768370508576,0.0007128896457825362,0.0006840622763423389,0.0006545084971874735,0.0006243449435824271,0.0005936906572928622,0.000562666616782152,0.0005313952597646566,0.0004999999999999998,0.00046860474023534314,0.00043733338321784774,0.00040630934270713756,0.00037565505641757246,0.00034549150281252633,0.00031593772365766105,0.00028711035421746355,0.0002591231629491422,0.00023208660251050145]}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494{"train_combined_loss": [1.7193066400243064,1.6319774799675641,1.5921577036649808,1.5715855851885623,1.5526096972227585,1.5375647344548145,1.5276719710598923,1.51471095159497,1.5020430373470461,1.4911687616984963,1.4827118652689686,1.4645557582843094,1.4599297595014327,1.4396859422833597,1.435539446407329,1.4271332907735397,1.4179421217166648,1.403216678831095,1.4028082510267657,1.3912968738283542,1.3905528351132577,1.368464354100069,1.3732676605098209,1.3612577147693188,1.3580954211825564,1.349657351700654,1.3462725321582267,1.3339615156037132,1.328426195428564,1.3237001741328687,1.321514273648581,1.319026428947793,1.309424513644452,1.300233209015749,1.2933348074378075,1.2864114295081326,1.2829309904188908,1.2802288567232312,1.2804806562393574,1.2689745398784789,1.2584112556830849,1.2571758327300204,1.2469394986728297,1.2496043610484766,1.2369848253739677,1.2362593363482883,1.2238024343561822,1.2261232994695546,1.2163730117939122,1.2134837068443078,1.203720935823294,1.1993581782514364,1.1956696627469743,1.1901293286887846,1.1828468518517377,1.1760831997685126,1.1743592221471781,1.1676305691189193,1.16071797906741,1.1500692465875693,1.1462531019587667,1.1401782409304422,1.1347792832196908,1.1247655882373617,1.1250666635027664,1.1117426747907906,1.1028407062229975,1.1057177975278534,1.098347607894564,1.0851252087814964,1.0856234678294652,1.0743625631672855,1.0731956925996757,1.0702588654317766,1.0624129944861205,1.0540558592334945,1.0523786074957693,1.0476193412386299,1.043437443798959,1.0361742765922062],"val_multilabel_loss": [1.3587770308576412,1.2979212917053877,1.2737988195757368,1.2421057458911369,1.2411232156984842,1.2454890123943785,1.2187369696017523,1.208064973910353,1.1996844536555347,1.1994789546327804,1.187707005819278,1.1633295326757787,1.1674125660488854,1.1689632831891972,1.1764915106234266,1.182024956416728,1.171085882320333,1.1566256758437228,1.1557088037257763,1.1606980737910342,1.1157113055684673,1.1234864555855295,1.1408849361894735,1.1247840421413309,1.1282216651893373,1.126798038273605,1.1151826614096982,1.1377070539478045,1.1349695773044628,1.1394831799526712,1.1823002585946625,1.1979565246781307,1.1515015513816875,1.1616137074445612,1.2111144113674093,1.1897162462570774,1.2482671467448347,1.1460777402146538,1.2085615902471898,1.1396334383692315,1.2153222138868338,1.1863896009414943,1.2663917332442838,1.2043939986780507,1.2805147536877375,1.2789906082091047,1.2600323416626276,1.3514712900479338,1.329880796150485,1.3387917110613032,1.3195175874922702,1.4069586119322635,1.3508582265852993,1.322483478364215,1.40722329714405,1.4136808580204623,1.418752995333565,1.3904325611778159,1.538996912149796,1.5857611665529991,1.4956775041880892,1.5053675744070936,1.540437321831931,1.5240953742568173,1.5948855673977689,1.618571667973675,1.602688939380112,1.6135349103541516,1.6695203668257195,1.6448774825948387,1.7579388151417916,1.6869916798018698,1.6719623963112262,1.6472535990734598,1.8512346063976857,1.779941865090114,1.8332922462540775,1.859218388517846,1.8297978248169173,1.9444677036867213],"auc_roc_macro": [0.5861148917690563,0.6382188769738982,0.6656913099349121,0.6833393187588167,0.691015400952043,0.6896549647699163,0.7048594813164274,0.7115320219326879,0.7227428563181881,0.7173999396129064,0.728869866919284,0.7334977765166267,0.7373187805279444,0.7411044472479785,0.7353552637421784,0.7489385943900191,0.7508086739513764,0.7543862557007509,0.7617968607450436,0.7595833627258213,0.7682776519450237,0.7684956206684662,0.7680464111518411,0.7686820019336239,0.7755240023125906,0.7746318906988712,0.778230769313696,0.7775286541221039,0.7780248975111342,0.7785490184634024,0.7789283074871374,0.7794676814579019,0.7808842283095861,0.7822094763488358,0.7854865314406501,0.7814432103799396,0.7789131089108106,0.783267133597504,0.7850271113827677,0.7887643755934152,0.7877825950780236,0.789577471144223,0.7874829195929393,0.7891315315468567,0.7897503062057237,0.7892659592790113,0.7892256241254351,0.7877708596418972,0.7921449724646248,0.7918404951779995,0.7925665694176522,0.7905315164071969,0.7924461372690477,0.7962187209618695,0.7951120553052311,0.7949196487770661,0.7949877817779832,0.7962038385857333,0.7954472904014142,0.7951010309966685,0.7952121970969696,0.7938179343640532,0.795896438923343,0.7964101759145408,0.7975779480543309,0.794828598633565,0.7924029001696348,0.7954328904682788,0.795619605114598,0.795366641930549,0.7918652655652789,0.7923138588614913,0.795054493956137,0.7964765288681199,0.7947400510084304,0.7946282218425195,0.7947766479794367,0.7952097440377667,0.795785552486931,0.7924229672669126],"binary_auc_roc": [0.6201408551879701,0.6457985226953593,0.6641528202976529,0.6801798061205759,0.6862877913251162,0.6836190131025841,0.6899832382225456,0.6984366339365421,0.6982638274858186,0.6961336685912958,0.7040745284412298,0.7064610113010039,0.711699865228899,0.7087442249361726,0.7140870204873142,0.72244056500313,0.72134099710891,0.7222470542775873,0.7309260117190117,0.7256573761346448,0.7333856739642091,0.7311119859764539,0.7350918014657842,0.7332327593066136,0.7381255240506908,0.7338860226029045,0.7413918405321454,0.7409066768960914,0.739243022575336,0.7400959602513785,0.7422739434992389,0.741888182795605,0.7449046191321171,0.7448972227470668,0.7477245189492023,0.7396731055560524,0.7400593425420569,0.7439251584451364,0.7453496629825946,0.7447742018123833,0.7479454019027537,0.7459644594733013,0.7472925588556134,0.7485339748464633,0.7496620356330936,0.7503695110698109,0.7504027667859278,0.7492418144991111,0.7497101121359214,0.7487516639064702,0.7518381417680812,0.7512169855068956,0.7519432320723394,0.7521833624369878,0.755443767413724,0.7532853117430612,0.7544367383824644,0.7547453973752694,0.7541489797807487,0.7547803621045989,0.7531380004074736,0.7523417963667612,0.7527101027223404,0.7526647158140765,0.7547582289826675,0.7539878842730217,0.7503244883774774,0.753684548436124,0.7525556751678028,0.7545218528437644,0.7542498395768908,0.753217735679646,0.7525300119530065,0.7549070812318074,0.7539543203741943,0.7530687713640659,0.7530422116177486,0.753277943374621,0.7527464402655615,0.7504382638308479],"binary_f1": [0.29342674634246857,0.3886562618956985,0.5546908164709212,0.5068807339449541,0.4517304189435337,0.4761573268360599,0.5009301538981904,0.5443298969072164,0.5097177623795842,0.5396571062329755,0.5200881505339888,0.5153688524590164,0.535511837279093,0.508598228243877,0.5334668669671173,0.5582309582309583,0.5356721200877045,0.5398274987316083,0.5958029197080292,0.591600730371272,0.5885490196078431,0.5927406951707167,0.592707045735476,0.5736657078938958,0.5940777297964219,0.5775280898876405,0.5820003231539829,0.5931691818903893,0.5983379501385041,0.5910224438902744,0.595234387167108,0.5876913265306123,0.5747502865564107,0.6026377036462374,0.5670701376222849,0.6068195534097767,0.5910513141426783,0.6182739603517663,0.5945006321112516,0.59044908285895,0.5982852689010133,0.6232765011119348,0.5953282828282829,0.629516760992599,0.61021094466524,0.6241364104071733,0.6013071895424836,0.6220180767521114,0.6018779342723005,0.6162422781377128,0.6258443465491924,0.5986159169550173,0.6055900621118012,0.6160808568411525,0.609396805706311,0.6157583118263246,0.6115473441108545,0.6080347448425625,0.619126257318721,0.6191698113207548,0.6112567463377024,0.6089763295419612,0.6293419317015976,0.6164383561643836,0.625821876867902,0.620253164556962,0.6139605462822458,0.6196420514363062,0.6068035550107264,0.6216377764494919,0.6178468971765061,0.6016949152542372,0.6070050918068199,0.6155012892461702,0.6128786725529,0.6181653863533665,0.6215776232055646,0.6236463432725114,0.6278659611992945,0.619210722263589],"learning_rate": [0.0009997532801828658,0.0009990133642141358,0.00099778098230154,0.000996057350657239,0.0009938441702975688,0.0009911436253643444,0.0009879583809693736,0.0009842915805643154,0.0009801468428384714,0.0009755282581475767,0.0009704403844771127,0.0009648882429441257,0.0009588773128419905,0.0009524135262330098,0.0009455032620941839,0.0009381533400219318,0.0009303710135019719,0.0009221639627510076,0.000913540287137281,0.0009045084971874739,0.0008950775061878452,0.0008852566213878947,0.0008750555348152298,0.0008644843137107057,0.0008535533905932737,0.0008422735529643444,0.0008306559326618259,0.0008187119948743449,0.0008064535268264883,0.0007938926261462367,0.0007810416889260654,0.0007679133974894983,0.0007545207078751857,0.0007408768370508577,0.0007269952498697734,0.0007128896457825364,0.0006985739453173903,0.0006840622763423391,0.0006693689601226458,0.0006545084971874737,0.0006394955530196147,0.0006243449435824273,0.0006090716206982714,0.0005936906572928625,0.0005782172325201156,0.0005626666167821523,0.0005470541566592572,0.0005313952597646569,0.0005157053795390643,0.0005000000000000002,0.00048429462046093607,0.0004686047402353435,0.000452945843340743,0.00043733338321784806,0.0004217827674798847,0.00040630934270713783,0.000390928379301729,0.0003756550564175727,0.00036050444698038553,0.00034549150281252655,0.0003306310398773544,0.00031593772365766127,0.0003014260546826097,0.0002871103542174637,0.0002730047501302267,0.00025912316294914234,0.0002454792921248144,0.00023208660251050164,0.00021895831107393473,0.00020610737385376356,0.00019354647317351177,0.0001812880051256552,0.00016934406733817422,0.0001577264470356557,0.00014644660940672634,0.0001355156862892944,0.00012494446518477025,0.00011474337861210548,0.00010492249381215483,9.549150281252637e-05]}
9 unmodified lines10111213141516171819202122232425262728293031323334353637383940414243444546474849509 unmodified lines- chest-xray- radiology- pytorchdatasets:- HlexNC/chest-xray-14---# CheXVision-ResNet## Model Details- Repository: `HlexNC/chexvision-scratch`- Training platform: Kaggle GPU kernel- Dataset: [HlexNC/chest-xray-14](https://huggingface.co/datasets/HlexNC/chest-xray-14)- Dataset revision: `c4e9a86b38de3b1604afa6e9f514d156eb9d20bf`- Architecture: Custom residual CNN trained from scratch with shared features and dual classification heads.- Training epochs configured: `50`- Batch size configured: `32`## Training Metrics- Best validation macro AUC-ROC: `0.7967`- Best validation binary AUC-ROC: `0.7571`- Best validation binary F1: `0.6371`- Saved checkpoint epoch: `24`## Intended UseThis model is intended for research and educational work on automated chest X-ray pathology detection.It predicts both 14 pathology labels and a binary normal-vs-abnormal signal for the CheXVision project.## Limitations- This repository does not provide clinical-grade validation.- Predictions must not be used as a substitute for professional medical judgement.- Performance can degrade on populations, devices, or preprocessing pipelines that differ from the training data.## Training ProcedureTraining is orchestrated from the CheXVision repository and runs on Kaggle GPU kernels.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.9 unmodified lines1011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601619 unmodified lines- chest-xray- radiology- pytorch- multi-label-classificationdatasets:- HlexNC/chest-xray-14---# CheXVision-ResNet> **CheXVision** β Deep Learning & Big Data university project.> 14-class chest X-ray pathology detection + binary normal/abnormal classification> on the NIH Chest X-ray14 dataset (112,120 images).## Architecture```mermaidgraph LRIN["Input3 Γ 224 Γ 224"] --> STEM["Stem7Γ7 Conv Β· BN Β· ReLU3β64ch Β· MaxPool Γ·2"]STEM --> S1["Stage 13Γ SE-ResBlock64ch"]S1 --> S2["Stage 2 βΒ½4Γ SE-ResBlock128ch"]S2 --> S3["Stage 3 βΒ½6Γ SE-ResBlock256ch"]S3 --> S4["Stage 4 βΒ½3Γ SE-ResBlock512ch"]S4 --> GAP["Global Avg PoolDropout(0.5)512-dim"]GAP --> MLH["Multilabel HeadLinear 512β14sigmoid Β· 14 pathologies"]GAP --> BH["Binary HeadLinear 512β1sigmoid Β· Normal/Abnormal"]style MLH fill:#2e7d32,color:#fffstyle BH fill:#1565c0,color:#fffstyle IN fill:#37474f,color:#fff```## Training Pipeline```mermaidflowchart TDDS[("ποΈ HlexNC/chest-xray-14112,120 chest X-ray images36 parquet shards Β· ~4.7 GB")] -->|snapshot_download| PREP["π data/images/ Β· data/labels.csvtrain 78,468 Β· val 11,210 Β· test 22,442"]PREP --> AUG["Augmentation PipelineHFlip Β· RotateΒ±15Β° Β· RandomAffineColorJitter Β· GaussianBlur Β· RandomErasingImageNet normalize β¨mean=[0.485,0.456,0.406]β©"]AUG --> FWD["β‘ Model Forward Passtorch.cuda.amp.autocast Β· fp16"]FWD --> ML["multilabel_logits BΓ14WeightedBCE + pos_weight14 pathology classes"]FWD --> BIN["binary_logits BΓ1BCE lossNormal vs. Abnormal"]ML --> LOSS["Combined Loss1.0 Γ multilabel + 0.5 Γ binary"]BIN --> LOSSLOSS --> BACK["Backward Β· Grad Clip 1.0Gradient Accumulation Γ4effective batch = 128"]BACK --> OPT["AdamW step Β· CosineAnnealingLRearly stop patience = 15"]OPT -->|"β val macro AUC-ROC"| BEST["πΎ Best Checkpointmodel_state + best_val_metrics + config"]BEST -->|upload_model_artifacts| HUB["π€ HF Hubcheckpoint Β· history.json Β· model card"]```## Training Metrics- Best validation macro AUC-ROC: `0.7976`- Best validation binary AUC-ROC: `0.7554`- Best validation binary F1: `0.6295`- Best checkpoint epoch: `65`## Per-Class AUC-ROC at Best Epoch| Pathology | AUC-ROC | Visual ||----------------------|----------|---------------|| Atelectasis | `0.7842` | `ββββββββββ` || Cardiomegaly | `0.8929` | `ββββββββββ` || Effusion | `0.8602` | `ββββββββββ` || Infiltration | `0.6903` | `ββββββββββ` || Mass | `0.8168` | `ββββββββββ` || Nodule | `0.6634` | `ββββββββββ` || Pneumonia | `0.6807` | `ββββββββββ` || Pneumothorax | `0.8208` | `ββββββββββ` || Consolidation | `0.8184` | `ββββββββββ` || Edema | `0.9103` | `ββββββββββ` || Emphysema | `0.8355` | `ββββββββββ` || Fibrosis | `0.7604` | `ββββββββββ` || Pleural_Thickening | `0.7702` | `ββββββββββ` || Hernia | `0.8619` | `ββββββββββ` |## Training Configuration- Repository: `HlexNC/chexvision-scratch`- Dataset: [HlexNC/chest-xray-14](https://huggingface.co/datasets/HlexNC/chest-xray-14) Β· revision `c4e9a86b`- Architecture: Custom residual CNN with Squeeze-Excitation channel attention (depth [3, 4, 6, 3]) trained from scratch with shared features and dual classification heads.- Platform: Kaggle GPU kernel (NVIDIA T4 / P100)- Batch size: `32` Γ grad_accum `4` = **effective batch `128`**- AMP (fp16): `enabled`- Optimizer: AdamW Β· Scheduler: CosineAnnealingLR- Epochs configured: `100` Β· Early stop patience: `15`## Intended UseThis model is intended for research and educational work on automated chest X-ray pathology detection.It outputs two predictions per image:1. **Multi-label scores** β independent sigmoid probability for each of 14 NIH pathologies2. **Binary score** β sigmoid probability of any abnormality (Normal vs. Abnormal)## Limitations- Not validated for clinical use. Predictions must not substitute professional medical judgment.- Trained on NIH Chest X-ray14, which contains noisy radiologist annotations (patient-level labels, not lesion-level).- Performance degrades on images from equipment, patient populations, or preprocessing pipelinesthat differ from the NIH training distribution.- Reported AUC metrics are on the validation split, not the held-out test set.## CheXNet Benchmark ContextCheXNet (Rajpurkar et al., 2017) β the seminal paper establishing DenseNet-121 for chest X-rayclassification β reported **0.841 macro AUC-ROC** on a comparable split of this dataset.CheXVision-DenseNet matches this benchmark. See the[CheXVision demo](https://huggingface.co/spaces/HlexNC/chexvision-demo) for live inference.## Citation```bibtex@misc{chexvision2026,title={CheXVision: Dual-Task Chest X-ray Classification with Custom CNN and DenseNet-121},author={BIG D(ATA) Team},year={2026},howpublished={\url{https://huggingface.co/HlexNC/chexvision-scratch}}}```
9 unmodified lines101112131415161718192016 unmodified lines37383940414243444546474849505120 unmodified lines727374757677787980814 unmodified lines868788899091929 unmodified lines"test_split": 0.2,"augmentation": {"horizontal_flip": true,"rotation_degrees": 10,"color_jitter": {"brightness": 0.2,"contrast": 0.2}},"labels": ["Atelectasis",16 unmodified lines"hf_dataset_revision": "c4e9a86b38de3b1604afa6e9f514d156eb9d20bf"},"training": {"epochs": 50,"batch_size": 32,"learning_rate": 0.001,"weight_decay": 0.0001,"optimizer": "adamw","scheduler": "cosine","warmup_epochs": 5,"early_stopping_patience": 10,"gradient_clip_norm": 1.0,"multilabel_weight": 1.0,"binary_weight": 0.5},20 unmodified lines"input_channels": 3,"initial_filters": 64,"block_config": [2,2,2,2],"filter_sizes": [64,4 unmodified lines"dropout": 0.5,"activation": "relu","use_batch_norm": true,"global_avg_pool": true},"heads": {"multilabel": {9 unmodified lines1011121314151617181920212223242516 unmodified lines424344454647484950515253545556575820 unmodified lines798081828384858687884 unmodified lines939495969798991009 unmodified lines"test_split": 0.2,"augmentation": {"horizontal_flip": true,"rotation_degrees": 15,"affine_translate": 0.05,"affine_shear": 5,"color_jitter": {"brightness": 0.3,"contrast": 0.3,"saturation": 0.05},"gaussian_blur_prob": 0.2,"random_erasing_prob": 0.1},"labels": ["Atelectasis",16 unmodified lines"hf_dataset_revision": "c4e9a86b38de3b1604afa6e9f514d156eb9d20bf"},"training": {"epochs": 100,"batch_size": 32,"learning_rate": 0.001,"weight_decay": 0.0001,"optimizer": "adamw","scheduler": "cosine","warmup_epochs": 5,"early_stopping_patience": 15,"gradient_clip_norm": 1.0,"use_amp": true,"grad_accum_steps": 4,"multilabel_weight": 1.0,"binary_weight": 0.5},20 unmodified lines"input_channels": 3,"initial_filters": 64,"block_config": [3,4,6,3],"filter_sizes": [64,4 unmodified lines"dropout": 0.5,"activation": "relu","use_batch_norm": true,"global_avg_pool": true,"use_se": true},"heads": {"multilabel": {
CheXVision-ResNet_best.pth+2-2
CheXVision-ResNet_history.json+476-200
README.md+130-19
training_config.json+19-11