Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 1.22 KB

README.md

File metadata and controls

26 lines (18 loc) · 1.22 KB

deployment_interview

Peter (CTO) likes images but loves data augmentation more. He wants a way to see how typical image augmentation in our machine learning affects the images we input to the model. He codes a simple boiler-plate application for you and asks you to finish it off!

To complete the flask app you will need to do the following:

  1. Download (Do not fork) the repo, upload to a new repo in your name/account.
  2. Write a dockerfile for amd64 for the app.
  3. Use github actions to build the dockerfile.
  4. Add a image augmentation function image_augmentations.py
  5. Add a test for your function
  6. Improve the repo/python code/deployment in some imaginative way to show-off... Highlight this in the readme.
  7. Send the team the link to your code.

Put the instructions here on how to set up/run the docker file. It should port-forward the application to run on http://127.0.0.1:8000/.

To send an image and get the app to work open a link as follows: http://0.0.0.0:8000/?url=<image_url> for example: http://0.0.0.0:8000/?url=https://imgs.xkcd.com/comics/bad_code.png

Solution

Please find instructions in the sub-projects: mymodel and flask_augmentations.

screenshot