- python runtime >=3.10 <=3.12
- tensorflow
- streamlit
- opencv
- Etc, see
streamlit/requirements.txt
for details.
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
Create virtual env
python -m venv venv
Activate virtual env
venv\Scripts\activate.bat # for windows
venv\bin\activate # for linux
install dependencies from requirements.txt
pip install -r requirements.txt
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']
...
streamlit run main.py