Flask deployment of Image segmentation deep learning model
This project relies on you using the environment.yml
file to recreate the Flask-env2
conda environment. To do so, please run the following commands:
# create the zipcode conda environment
conda env create -f environment.yml
# activate the zipcode conda environment
conda activate Flask-env2
This project contains several .py modules in the src/
directory. Please use the following bash command to install the .src module:
#install the .src modules
pip install -e .
The flask app script that utilizes the 'src/' modules to process images and make inferences
Contains the results.html page displaying model outputs
To run in a development environment (on your local computer)
export FLASK_ENV=development
env FLASK_APP=app.py flask run
To run in a production environment (used for deployment, but test it out locally first):
export FLASK_ENV=production
python app.py