Failed to run deepstream_reference_apps/CaffeMNIST --------Deepstream4.0, CUDA10.0. JetsonNano

Dear NVIDIA,

Failed to run deepstream_reference_apps/CaffeMNIST.
Deepstream 4.0 + Jetson Nano

CMD:deepstream-app -c deepstream_app_config_CaffeMNIST.txt

Error log:
nvinfer gstnvinfer.cpp:1187:convert_batch_and_push_to_input_thread:<primary_gie_classifier> error: NvBufSurfTransform failed with error -2 while converting buffer

How to solve it?
Thanks!
B.R

Hi,
https://github.com/NVIDIA-AI-IOT/deepstream_reference_apps/blob/master/CaffeMNIST/deepstream_app_config_CaffeMNIST.txt

The config file is for DS3.0. We will update it for DS4.0.1. Stay tuned.

Hi,
Please modify all cuda-memory-type in the config file:

cuda-memory-type=0

and try again. For Jetson platforms, it should be set to 0.