Downloads · 30 days
38
4% of all-time downloads
ludolara/vit-COVID-19-severity
vit-COVID-19-severity is a image classification model from ludolara. Use it when you need a label for an image. It is set up for transformers. The card lists the license as apache-2.0.
The COVID-19 pandemic has strained healthcare resources and prompted discussion about how machine learning can alleviate physician burdens and contribute to diagnosis. Chest x-rays (CXRs) are used for diagnosis of COV…
Downloads · 30 days
38
4% of all-time downloads
All-time downloads
845
Public
Repo size
1.4 GB
Likes
0
Public
Click a slice to open those files.
.h5343 MB · 100%
From the Hugging Face model README
The COVID-19 pandemic has strained healthcare resources and prompted discussion about how machine learning can alleviate physician burdens and contribute to diagnosis. Chest x-rays (CXRs) are used for diagnosis of COVID-19, but few studies predict the severity of a patient’s condition from CXRs. In this study, we produce a large COVID severity dataset by merging three sources and investigate the efficacy of transfer learning vision transformers (ViTs) in severity regression task. The ViT had the best regression results, with an MSE of 0.5135. Code developed in this project is available at https://github.com/stwhitfield/covid-severity.
We were fine-tuned the Vision Transformer (ViT) from HuggingFaces on our training set for 300 epochs using an AdamW optimizer with a learning rate of 0.00001 and a batch size of 10. Early stopping was applied to the model to prevent over-fitting. For ViT, training stopped after 70 epochs. The only difference between the preprocessed data in the ViT and the other models was that it normalized to a tensor image with mean and standard deviation during data augmentation.