uptake / autofocus

Deep learning computer vision for classifying wildlife in camera trap images
BSD 3-Clause "New" or "Revised" License
54 stars 30 forks source link

Dockerhub #102

Closed gsganden closed 5 years ago

gsganden commented 5 years ago

Closes #78

I pushed a docker image of the prediction serving app to Dockerhub. This PR adds instructions for using it to the repo README. Putting the app image on Dockerhub will make it easier for the Lincoln Park Zoo or anyone else simply to download and run the app without having to build it themselves.

I also simplified the app by removing nginx. My understanding is that nginx is helpful for handling web traffic, but it is unnecessary for local deployments, and it would complicate using Dockerhub because it involves running multiple containers. We can always put nginx back in later if we want to do a web deployment, but at this point I think local deployments work better because sending images over the internet would be a bottleneck.

Pull Request Checklist

Maintainer's responsibilities:

gsganden commented 5 years ago

@jameslamb I just updated autofocus/predict/example_post.py and autofocus/predict/example_post.R. Could you please take a look? Also, would you be able to make sure that autofocus/predict/example_post.R runs? I don't have an R environment set up.