A basic Lung Disease Detection model predicts whether the input Chest Radiograph is Pneumonia. But the Accuracy is 1.000, which means it is 100% accurate on the testing dataset. However, after calculation on another dataset, the accuracy is 83.5%.

You can download the zip file extract it and open that folder in the terminal or Write the command on your Terminal "git clone https://github.com/vishvasingh/Lung-disease-detection.git " Then write "cd Lung-disease-detection" Then write "pip install -r requirements.txt" then run python3 app.py It has a trained model already -"pneumonia_model.h5" Download Dataset from "https://www.kaggle.com/datasets/paultimothymooney/chest-xray-pneumonia?resource=download" But if you want to train the model yourself by using model.py "python3 model.py" After that, we tried another model named "final_x_ray_model.h5" which obtained 92% Accuracy. training code of the model is saved as Pneumonia_Classification_Notebook.ipynb

Built With

Share this project:

Updates

Submission history