Q1- I want to run INT8 mode, but doesn’t exist calibration file, Where I must to download that file?
Q2- How I can to see the DLA is active after running inference? and which DLA?
Q3- When I run the model without calibration file, It’s correctly work, and I get such logs:
]: Info from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1591> [UID = 1]: Trying to create engine from model files
INFO: [TRT]:
INFO: [TRT]: --------------- Layers running on DLA:
INFO: [TRT]:
INFO: [TRT]: --------------- Layers running on GPU:
That’s mean these passed some layers to run on DLA? I don’t have calibration file.
1- I usually see the calibration file is in the .bin file, but for peoplenet are .txt file, these are calib file? 2- The log shows some layers run on DLA and some runs in GPU? why all layers doesn’t run on DLA? In my opinion, the default;t set of config file for DLA is enable, right? because in the config file Isn’t there enable-dla = 1 use-dla-core = 1 for setting.
3- This model use both DLAs or single DLA? How I can to set the specific DLA for running?
4- These params of DLA Where I have to add in the DS config file:
in the property?
unpruned_v1.0 - ResNet34 based pre-trained model. Intended for training
pruned_v1.0 - ResNet34 floating point deployment model.
unpruned_v2.0 - ResNet18 and ResNet34 based pre-trained model. Intended for training using Quantization aware training (QAT)
pruned_v2.0 - ResNet18 and ResNet34 deployment models. Contains calibration cache for GPU and DLA. DLA one is required if running inference on Jetson AGX Xavier or Xavier NX DLA.
Because some layers cannot run on DLA and then fall back to GPU.
Thanks so much, @Morganh 1-use-dla-core=0 is fo DLA0 and use-dla-core=1 for DLA1? 2- Is possible to use both DLA for one inference? If so How I can to set? 3- How I can to know what’s other options there for [property] or others?
1-use-dla-core=0 is fo DLA0 and use-dla-core=1 for DLA1 ? ==> yes 2- Is possible to use both DLA for one inference? If so How I can to set? ==> DS now supports to put two models on two DLAs respectively. 3- How I can to know what’s other options there for [property] or others? ==> check the DS nvinfer doc
@mchi, Thanks so much,
Is it possible to see source code of each element in the gstream pipeline of DS? I want to know to see the source code of nvinfer element, or tracker element, If yes, Where I can to find the source codes of elements?
not all element’s source are open source.
you can find source code under source folder, which includes the source code of nvinfer.
but traceker source is not opened.