Skip to main content
NVIDIA
Clara Deploy DeepStream Batch Pipeline [Deprecated]
Resource
NVIDIA
Clara Deploy DeepStream Batch Pipeline [Deprecated]

Clara Deploy DeepStream Batch Pipeline

How to Run a Reference Pipeline using Local Input Files

Download & Install the Pipeline from NGC

Please refer to Setup section to install this Pipeline.

Note down the pipeline ID during the pipeline installation as it would be used in a later section to trigger a job with input files.

Trigger Pipeline

A pipeline can be triggered via Clara CLI.

For this created pipeline, sample input files are available within the SDK in the zipped test data file.

Once you execute ./download_input.sh fromo the pipeline folder, you will see the test data at input/app_ds_torso folder.

  1. Open a terminal and go to the directory which the pipeline is pulled.
cd /path-to-the-pipeline/
  1. Trigger the pipeline (upload input files to Clara API Server) with the pipeline ID in the previous section.
clara create jobs -n deepstream-batch-test -p <pipeline ID> -f input/app_ds_torso/

When the above step is completed, you should be able to see the following result in the terminal (UUID of Job and Payload will be different).

JOB_ID: daa5aea74d1446a8a24b9d3990bfef67
PAYLOAD_ID: 79aa5500e6134cf888f1d6d89f2e249e

Note down this job ID and payload ID as they would be used in a later section to access output files.

Then, execute the job:

clara start job -j <JOB ID>

Check Job Status and Download/View Payloads in Clara Console/Dashboard

With Clara Orchestrator (API version >= 0.4.0)

  • Go to the Clara Management Console using a web browser: The URL is: <IP of the machine>:32002.
  • Go to the JOBS view. You should see a job with a name that includes the name of the job you specified.
  • You can inspect the status of each operator inside that job.

Please check the Clara Management Console to see the web application in detail.

With Argo Orchestrator (API version <= 0.3.0)

Go to the Clara dashboard UI using a web browser: The URL is <machine-ip>:8000.

  • You should see a job with a name that includes the name of the pipeline you created.
  • You can inspect the status of each operator inside that job.

Download and Verify the Outputs

Once the job has completed successfully, we can download output payload by using clara download command.

Output payload files are located under /operators/deepstream/ folder. We can use the following command to download output files:

clara download <Job ID>:/operators/deepstream/* result # download files into result folder

Then, you can see the output video file using the following command:

google-chrome result/output.mp4 # View the video output using Chrome which has a built-in viewer for H.264 file.

If you are working with the server machine, the payload folder is directly accessible at the default payload folder /clara/payloads/<Payload ID>/.

Modal Content

NVIDIA uses cookies to improve your experience on our web site. We and our third-party partners also use cookies and other tools to collect and record information you provide as well as information about your interactions with our websites for performance improvement, analytics, and to assist in marketing efforts. By clicking "Accept All", you consent to our use of cookies and other tools as described in our Cookie Policy. You can manage your cookie settings by clicking on "Manage Settings." By continuing to use this site or by clicking one of the buttons below, you agree to our Terms of Service (which contains important waivers). Please see our Privacy Policy for more information on our privacy practices.