Additional Samples (Atlas inference products)

The following table lists the available samples.

Table 1 Linux samples

Sample

How to Obtain

Basic Function

Description

acl_operator_add

Sample

Matrix-matrix addition

This sample verifies the functionality of the custom operator by converting the custom operator file into a single-operator offline model file and loading the file for execution.

vpc_resnet50_imagenet_classification

Sample

Image classification with Caffe ResNet-50 (image decoding+resizing+synchronous inference)

This sample shows how to classify images based on the Caffe ResNet-50 network (single input with batch size = 1). For details, see the sample usage guide.

vdec_resnet50_classification

Sample

Image classification with Caffe ResNet-50 (video decoding+synchronous inference)

resnet50_imagenet_classification

Sample

Image classification with Caffe ResNet-50 (synchronous inference)

resnet50_async_imagenet_classification

Sample

Image classification with Caffe ResNet-50 (asynchronous inference)

vpc_jpeg_resnet50_imagenet_classification

Sample

Image classification with Caffe ResNet-50 (image decoding+cropping and resizing+image encoding+synchronous inference)

This sample classifies an input image in YUV420SP (NV12) format based on Caffe ResNet-50 (image decoding+cropping and resizing+image encoding+synchronous inference).

venc_image

Sample

Media data processing (video encoding)

In this sample, a YUV420SP NV12 image is encoded for n consecutive times to generate an H.265 video stream.