End-to-end project CNN based project, also demonstrating the MLOps practices, along with deployment.
- Update config.yaml
- Update secrets.yaml [Optional]
- Update params.yaml
- Update the entity # to create some return type/classes
- Update the configuration manager in src config
- Update the components
- Update the pipeline
- Update the main.py
- Update the dvc.yaml
Clone the repository
git clone https://github.com/satyamsc0/chicken-disease-classification
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
# Finally run the following command
python app.py
Now,
open up you local host and port
- dvc init
- dvc repro
- dvc dag
tensorboard --logdir artifacts/prepare_callbacks/tensorboard_log_dir/
mlflow ui
MLFLOW_TRACKING_URI=https://dagshub.com/satyamsc0/chicken-disease.mlflow
MLFLOW_TRACKING_USERNAME=satyamsc0
MLFLOW_TRACKING_PASSWORD=5a7753b233a8bdd1a304ece714880751be9fda6e
python script.py
export MLFLOW_TRACKING_URI=https://dagshub.com/satyamsc0/chicken-disease.mlflow
export MLFLOW_TRACKING_USERNAME=satyamsc0
export MLFLOW_TRACKING_PASSWORD=5a7753b233a8bdd1a304ece714880751be9fda6e
EZKH5yytiVnJ3h+eI3qhhzf9q1vNwEi6+q+WGdd+ACRCZ7J
docker build -t chickenreg.azurecr.io/chicken:latest .
docker login chickenreg.azurecr.io
docker push chickenreg.azurecr.io/chicken:latest
- Build the Docker image of the Source Code
- Push the Docker image to Container Registry
- Launch the Web App Server in Azure
- Pull the Docker image from the container registry to Web App server and run