Skip to content
This repository has been archived by the owner on Apr 16, 2023. It is now read-only.

Commit

Permalink
Remove merge artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
gsganden committed Aug 22, 2019
1 parent 0fa55aa commit 7b30bba
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ This project uses deep learning computer vision to label images taken by motion-
If you just want to get labels for your images, you can use the following steps to run a service that passes images through a trained model.

1. Make sure [Docker](https://www.docker.com/get-started) is installed and running.
2. Run `docker pull gsganden/autofocus_serve:1.2.2` to download the app image. (Note that it takes up about 4GB of disk space.)
3. Run `docker run -p 8000:8000 gsganden/autofocus_serve:1.2.2` to start the app.
2. Run `docker pull gsganden/autofocus_serve:1.2.3` to download the app image. (Note that it takes up about 4GB of disk space.)
3. Run `docker run -p 8000:8000 gsganden/autofocus_serve:1.2.3` to start the app.
4. Make POST requests against the app to get predictions.

For instance, with the base of this repo as the working directory you can send the image `fawn.JPG` to the app with this command:
Expand All @@ -33,7 +33,6 @@ curl -F "file=@gallery.zip" -X POST http://localhost:8000/predict_zip
```

See `autofocus/predict/example_post.py` and `autofocus/predict/example_post.R` for example scripts that make requests using Python and R, respectively.
>>>>>>> master

For a single image, the app will respond with a JSON object that indicates the model's probability that the image contains an animal in each of the categories that it has been trained on. For instance, it might give the following response for an image containing raccoons:

Expand Down

0 comments on commit 7b30bba

Please sign in to comment.