This is the webite for the final project CSCI-470, Intro to Machine Learning.
- Alex Michael, Grace Carter, Matt Bussing
Both:
sudo docker build --build-arg PORT=5000 -t cute-puppers:latest . && sudo docker run -p 5000:5000 cute-puppers
Build:
sudo docker build --build-arg PORT=5000 -t cute-puppers:latest .
Run:
sudo docker run -p 5000:5000 cute-puppers
or
gunicorn --bind 0.0.0.0:5000 wsgi
Save conda env (don't forget to remove the prefix):
conda env export > bin/environment.yml
Test:
conda run -n dog-breed gunicorn --bind 0.0.0.0:5000 wsgi
Logs:
sudo heroku logs --tail
Conda:
conda env update environment.yml
- remove opencv and use more lightweight library