NVIDIA Jetson Xavier NX with Jptpack 5.1.2, can not use DLA1

reference web :GitHub - NVIDIA-AI-IOT/jetson_dla_tutorial: A tutorial for getting started with the Deep Learning Accelerator (DLA) on NVIDIA Jetson
S1: use export.py get model_bn.onnx
S2:use build.py get model_bn.engine ,here dla_core = 1, fp16,
S3:use eval.py to test DLA1, here here dla_core = 1, there are some errors as follows:

Traceback (most recent call last):
File “eval.py”, line 50, in
set_dla_core(context, args.dla_core)
File “eval.py”, line 47, in set_dla_core
raise ValueError(f"Invalid DLA core index: {core}")
ValueError: Invalid DLA core index: 1

Hi,

Could you help if DLA=1 works correctly with trtexec?

$ /usr/src/tensorrt/bin/trtexec --onnx=[model] --useDLACore=1 --int8 --allowGPUFallback --saveEngine=dla.engin
$ /usr/src/tensorrt/bin/trtexec --loadEngine=dla.engine --useDLACore=1

Thanks.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.