Looge veebirakendus, et suhelda masinõppe loodud pilditiitritega

Allikasõlm: 1849327

kokkuvõte

The introduction of the IBM Model Asset eXchange (MAX) that is hosted on the Masinõppe vahetus has given application developers without data science experience easy access to prebuilt machine learning models. This code pattern shows how simple it can be to create a web app that utilizes a MAX model. The web app uses the Image Caption Generator from MAX and creates a simple web UI that lets you filter images based on the descriptions given by the model.

Kirjeldus

Every day 2.5 quintillion bytes of data are created, based on an IBM study. A lot of that data is unstructured data, such as large texts, audio recordings, and images. To do something useful with the data, you must first convert it into structured data.

This code pattern uses one of the models from the Model Asset Exchange, an exchange where developers can find and experiment with open source deep learning models. Specifically, it uses the Pilditiitrite generaator to create a web application that captions images and lets you filter through images-based image content. The web application provides an interactive user interface that is backed by a lightweight Python server using Tornado. The server takes in images through the UI, sends them to a REST endpoint for the model, and displays the generated captions on the UI. The model’s REST endpoint is set up using the Docker image provided on MAX. The web UI displays the generated captions for each image as well as an interactive word cloud to filter images based on their caption.

Kui olete selle koodimustri täitnud, saate aru, kuidas:

  • Rakendage REST-i lõpp-punktiga süvaõppemudel
  • Generate captions for an image using the MAX Model’s REST API
  • Käivitage veebirakendus, mis kasutab mudeli REST API-d

voolama

voog

  1. The server sends default images to the Model API and receives caption data.
  2. The user interacts with the Web UI that contains the default content and uploads the images.
  3. The web UI requests caption data for the images from the server and updates the content when the data is returned.
  4. The server sends the images to the Model API and receives caption data to return to the web UI.

Juhised

Kas olete valmis seda koodimustrit kasutama? Täielikud üksikasjad selle rakenduse käivitamise ja kasutamise kohta on esitatud README.

Source: https://developer.ibm.com/patterns/create-a-web-app-to-interact-with-machine-learning-generated-image-captions/

Ajatempel:

Veel alates IBMi arendaja