Resnet18 cannot instantiate more than three objects

Please provide the following info (tick the boxes after creating this topic):
Software Version
DRIVE OS 6.0.5
DRIVE OS 6.0.4 (rev. 1)
DRIVE OS 6.0.4 SDK
other

Target Operating System
Linux
QNX
other

Hardware Platform
DRIVE AGX Orin Developer Kit (940-63710-0010-D00)
DRIVE AGX Orin Developer Kit (940-63710-0010-C00)
DRIVE AGX Orin Developer Kit (not sure its number)
other

SDK Manager Version
1.9.1.10844
other

Host Machine Version
native Ubuntu Linux 20.04 Host installed with SDK Manager
native Ubuntu Linux 20.04 Host installed with DRIVE OS Docker Containers
native Ubuntu Linux 18.04 Host installed with DRIVE OS Docker Containers
other
Aflter I converted resnet18.onnx model to tensorrt engine , in my code I want to instantiate 3 objects to do something, but after the second object is inited, the moment I start to init the third one I get the error “[trt] 1 : [nvdlaUtils.cpp::deserialize::154] Error Code: DLA (NvMediaDlaInit: Init failed.)”. I don’t know what is going on , please help .

Are you working on Jetson platform or DRIVE platform?

I am not sure, can you tell from this image

Please refer to Resnet18 cannot be instantiated more than 3 objects.