Repository was created regarding the implementation of the CNN algorithm created using Streamlit
A project was created that was able to automatically detect pneumonia based on x-ray images
Kaggle Dataset Chest X-Ray Images (Pneumonia) (Link Download)
machine_learning
├── model
│ └── pneunomia_model.h5
├── np2.ipynb
├── readme.md
└── streamlit
├── main.py
└── requirements.txt
- /model: consists of a pneumonia model, which is used to store the trained machine learning model. The file contains the extension ".h5".
- /streamlit: Consists of the main.py file which is the main code in creating a website that can automatically detect pneumonia.
- np2.ipynb: file is the way to do the CNN algorithm creation process
-
Clone the repository to your local computer using the following command:
git clone https://github.com/mhaidar10/pneumonia-cnn-basic.git
-
Install the Library with the following command:
pip install streamlit tensorflow pillow requests
-
[OPTIONAL] Nodemon installation to perform Hot Reload
npm install -g nodemon
-
Perform Access and Compilation (Local):
streamlit run streamlit/main.py
OR *nodemon installation require
nodemon --exec streamlit run streamlit/main.py
-
Access in the Cloud (online):