Skip to content

Leukemia Lymphoblastic Acute classification using googlenet architecture

License

Notifications You must be signed in to change notification settings

egiiputra/googlenet-leukemia-classification

Repository files navigation

Leukemia classification using googlenet architecture

Requirements

  • python runtime >=3.10 <=3.12
  • tensorflow
  • streamlit
  • opencv
  • Etc, see streamlit/requirements.txt for details.

How to run streamlit

First, you have to clone this repository

git clone https://github.com/Egi-putrA/googlenet-leukemia-classification.git

Then, open streamlit subdirectory

cd googlenet-leukemia-classification/streamlit

Optional: use python virtual environments before install dependecies

Create virtual env

python -m venv venv

Activate virtual env

venv\Scripts\activate.bat # for windows
venv\bin\activate # for linux

Install dependencies

install dependencies from requirements.txt

pip install -r requirements.txt

Download trained model

You can download my trained model in here. Make sure to change model path in main.py

...
@st.cache_resource
def load_model():
    return tf.saved_model.load('path/to/model').signatures['serving_default']
...

Run streamlit app

streamlit run main.py