I currently incur in the following error when initializing the network with DriveWorks:
DefaultLogger: [23-02-2023 17:43:31] DefaultLogger: Driveworks exception thrown: DW_INVALID_HANDLE: Cannot cast to C++ handle, given instance is a nullptr, type=P15dwContextObject
DefaultLogger:
terminate called after throwing an instance of ‘std::runtime_error’
what(): [2023-02-23 17:43:31] DW Error DW_INVALID_HANDLE executing DW function:
dwDNN_initializeTensorRTFromFile(&dnn, “/mnt/persistent/mfddFP16.bin”, nullptr, DW_PROCESSOR_TYPE_GPU, contextHandle)
at /usr/local/driveworks/samples/src/dnn/sample_object_detector_tracker/main.cpp:987
Aborted
No, in the first place I just tried to load the engine, removing the rest of the code.
But now I tried with the original code by changing the model - generated with tensorRT_optimization - and I am getting a different error, as in the attachment. error.txt (5.4 KB)
I’m closing this topic due to there is no update from you for a period, assuming this issue was resolved.
If still need the support, please open a new topic. Thanks
Is this still an issue to support? Any result can be shared? Thanks