Idea of this project is to have simple cat vs dog classification project with emphasize on MLOps pipeline. Goal is to have everything running on AWS.
pip install mlflow
mlflow ui
- Go to http://localhost:5000
- Follow these steps in order to set up lakeFS https://towardsdatascience.com/data-versioning-all-you-need-to-know-7077aa5ed6d1
pip install requirements
- Create
config.ini
with your credentials. Example is inconfig.ini.EXAMPLE
- Prepare data and put it under
dataset_cat_vs_dog
folder to have sub folders dog and cat with images. python train.py
export PYTHONPATH=$PYTHONPATH:$pwd
python prepare_and_export/export.py
docker run -t --rm -p 8501:8501 -v "PATH_TO_PROJECT/MLOps/serving:/models/dog_detector" -e MODEL_NAME=dog_detector tensorflow/serving &
python prepare_and_export/inference.py