Tested this code using:
- Ubuntu 20.04.2 LTS
- Python 3.8.5
- Tensorflow 2.4.1
- Keras 2.4.3
- Opencv 4.5.2
requirements.txt consists required dependencies.
Easy way: You can install the requirements with the following commands:
cd myproject/
virtualenv venv
./venv/bin/activate
pip install -r requirements.txt
This dataset contain 3616 COVID-19 positive cases along with 10,192 Normal, 6012 Lung Opacity (Non-COVID lung infection), and 1345 Viral Pneumonia images.
Used 1000s of normal and covid images.
NORMAL | COVID19 |
---|---|
for the full dataset : https://www.kaggle.com/tawsifurrahman/covid19-radiography-database
Model trained with 1500 labeled images. Model fit parameters are:
batch_size = 16
epochs = 20
validation_split= 0.25
ACCURACY | LOSS |
---|---|