How to view the result of custom vsion model on a local machine flask server?

Amit V 21 Reputation points

I have built a custom vision model that is used for classifying different types of leaves
Github Repo:
in this repository, labels.txt has 39 different labels so I have given a path of test_image.JPG in the Dockerfile after building the image and running it using
"docker run -d -p 80:80 --name=ts4 testing4 python "

when I open my localhost at port 80, I am supposed to get the predicted label of the test image, but the output I'm getting after http://localhost:80/ is

" model host harness"

So I wanted to know if my has any bugs or any app.route has to be changed?

Thank you.

Azure AI Custom Vision
Azure AI Custom Vision
An Azure artificial intelligence service and end-to-end platform for applying computer vision to specific domains.
209 questions
0 comments No comments
{count} votes

Accepted answer
  1. GiftA-MSFT 11,151 Reputation points

    Hi, thanks for reaching out. I found this tutorial, can you review it to see if it helps your scenario?

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful