NGC | Catalog
CatalogResourcesClara Deploy AI Malaria Classification Pipeline [Deprecated]

Clara Deploy AI Malaria Classification Pipeline [Deprecated]

Logo for Clara Deploy AI Malaria Classification Pipeline [Deprecated]
Description
Clara Deploy AI Malaria Classification Pipeline
Publisher
NVIDIA
Latest Version
0.8.1-2108.1
Modified
April 4, 2023
Compressed Size
31.03 MB

Clara Deploy SDK is being consolidated into Clara Holoscan SDK

More info https://catalog.ngc.nvidia.com/orgs/nvidia/teams/clara/collections/claradeploy

Malaria Microscopy Classification Pipeline

This asset requires the Clara Deploy SDK. Follow the instructions on the Clara Ansible page to install the Clara Deploy SDK.

Overview

The Malaria Microscopy Classification pipeline is one of the reference pipelines provided with Clara Deploy SDK. A pre-trained model for classification of malaria from PNG images representing the microscopy slides is used in the pipeline. This pipeline depends on the Clara Deploy CLI to send PNG images and trigger a job.

Once the pipeline is started, the AI model classifies input images and saves the output as new images with the classification label burnt-in on top of the images. If the class category of a specific image is "parasitized", the operator burns in the letter "T" to the upper left corner of the output image, otherwise the letter "F" is written out. The output images can be downloaded by Clara CLI and viewed by any PNG image viewer such as GIMP.

Pipeline Definition

The Malaria Microscopy Classification pipeline is defined in the Clara Deploy pipeline definition language. This pipeline utilizes built-in reference containers to construct the following operator:

  • The ai-app-malaria operator performs AI inference against the NVIDIA Triton Inference server to generate malaria classification images.

The following is the details of pipeline definition, with comments describing each operator's functions as well as input and output.

api-version: 0.4.0
name: malaria-pipeline
operators:
  - name: ai-app-malaria
    description: Classifying Malaria Images
    container:
      image: clara/ai-malaria
      tag: latest
    requests:
      memory: 4096
    input:
    - path: /input
    output:
    - path: /output
    services:
    - name: trtis
      container:
        image: nvcr.io/nvidia/tritonserver
        tag: 20.07-v1-py3
        command: ["tritonserver", "--model-repository=$(NVIDIA_CLARA_SERVICE_DATA_PATH)/models"]
      connections:
        http:
        - name: NVIDIA_CLARA_TRTISURI
          port: 8000

Executing the Pipeline

Please refer to the Quick Start Guide section on how to run this reference pipeline using local input files.

License

An End User License Agreement is included with the product. By pulling and using the Clara Deploy asset on NGC, you accept the terms and conditions of these licenses.

Suggested Reading

Release Notes, the Getting Started Guide, and the SDK itself are available at the NVIDIA Developer forum: (https://developer.nvidia.com/clara).

For answers to any questions you may have about this release, visit the NVIDIA Devtalk forum: (https://devtalk.nvidia.com/default/board/362/clara-sdk/).