The LiftWing model-server repo has a Makefile that makes building and running of model-servers locally much easier.
In this task, we will update the existing Makefile to support building and running the logo-detection model-server.
The LiftWing model-server repo has a Makefile that makes building and running of model-servers locally much easier.
In this task, we will update the existing Makefile to support building and running the logo-detection model-server.
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Makefile: add support for logo-detection | machinelearning/liftwing/inference-services | main | +49 -8 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T349641 [EPIC] MVP Logo machine detection in Upload Wizard | |||
In Progress | kevinbazira | T358676 Host a logo detection model for Commons images | |||
Resolved | kevinbazira | T363294 Support building and running of logo-detection model-server via Makefile |
Change #1023532 had a related patch set uploaded (by Kevin Bazira; author: Kevin Bazira):
[machinelearning/liftwing/inference-services@main] Makefile: add support for logo-detection
Change #1023532 merged by jenkins-bot:
[machinelearning/liftwing/inference-services@main] Makefile: add support for logo-detection
Support for building and running the logo-detection model-server using the Makefile was added and it can be tested using:
# first terminal $ make logo-detection # second terminal $ curl -s localhost:8080/v1/models/logo-detection:predict -X POST -d '{"instances": [ { "filename": "Cambia_logo.png", "url": "http://commons.wikimedia.org/w/index.php?title=Special:FilePath&file=Cambia_logo.png&width=224", "target": "logo" }, { "filename": "Blooming_bush_(14248894271).jpg", "url": "http://commons.wikimedia.org/w/index.php?title=Special:FilePath&file=Blooming_bush_%2814248894271%29.jpg&width=224", "target": "logo" }, { "filename": "12_rue_de_Condé_-_detail.jpg", "url": "http://commons.wikimedia.org/w/index.php?title=Special:FilePath&file=12_rue_de_Cond%C3%A9_-_detail.jpg&width=224", "target": "logo" } ] }' -i --header "Content-type: application/json" # delete test environment $ MODEL_TYPE=logo-detection make clean