Δημιουργήστε μια εφαρμογή Ιστού για να αλληλεπιδράσετε με λεζάντες εικόνων που δημιουργούνται από τη μηχανική εκμάθηση

Κόμβος πηγής: 1849327

Χαρακτηριστικά

The introduction of the IBM Model Asset eXchange (MAX) that is hosted on the Ανταλλαγή μηχανικής μάθησης 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.

Περιγραφή

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 Γεννήτρια λεζάντας εικόνας 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.

Όταν ολοκληρώσετε αυτό το πρότυπο κώδικα, καταλαβαίνετε πώς να:

  • Αναπτύξτε ένα μοντέλο βαθιάς μάθησης με τελικό σημείο REST
  • Generate captions for an image using the MAX Model’s REST API
  • Εκτελέστε μια εφαρμογή Ιστού που χρησιμοποιεί το REST API του μοντέλου

Ροή

ροή

  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.

Οδηγίες

Είστε έτοιμοι να θέσετε αυτό το μοτίβο κώδικα για χρήση; Πλήρεις λεπτομέρειες σχετικά με τον τρόπο έναρξης λειτουργίας και χρήσης αυτής της εφαρμογής βρίσκονται στο README.

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

Σφραγίδα ώρας:

Περισσότερα από Προγραμματιστής IBM