Giter Site home page Giter Site logo

umass-rescue / mlmicroservicetemplate Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 4.0 93 KB

Concise template to rapidly deploy and share a machine learning model

License: MIT License

Shell 7.54% Dockerfile 1.64% Python 90.82%
docker machine-learning web-server

mlmicroservicetemplate's People

Contributors

anishapai avatar codyrichter avatar khoale1096 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mlmicroservicetemplate's Issues

Enable GPU For Predictions

Currently, the Docker container used for the microservice only has access to the CPU and memory. Enabling the container to interact with the system GPU can lead to large speed ups in prediction tasks.

Decouple Predictions from Local Network

When creating a prediction request, the images that are passed in are accessed via a local Docker volume shared between the model microservice and the server. While straightforward in its current implementation, this is not the best way to set up the transfer of data since it forces all prediction microservices to be on the same machine as the central server.

Determine how to receive images directly via HTTP request in the /predict endpoint and remove any Docker volume dependencies from the docker-compose.yml file.

Once this is complete, modify the corresponding code in the central server's /model/predict endpoint to send the file via HTTP instead of via filename.

Create Testing UI

Right now when a user wants to test their model, they must either connect via the docker shell or use the server + client to submit requests.

There should be a UI that allows for users to upload images to the model and then view the results.

Predict Batches of Images

Once Issue #7 is complete and images can be received via HTTP, changes can be made to improve the efficiency of predictions.

Images are received and models predict on them one-by-one. However, batching is a more efficient way to handle larger jobs. Determine the best way to predict on batches of images.

(There is a related server issue here)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.