My application uses multiple Caffe models. My goal is to enable TensorRT optimzation for all of them, and I have integrated TensorRT into my project with reference to Sample_MNIST code.
The problem now is, if I enable TensorRT on any single one of my models, the program runs fine, but if I enabled at least 2 models, it crashes when using nvparsers.dll.
In more detail, the call of nvcaffeparser1::IBlobNameToTensor* blobNameToTensor = parser->parse(…) to the 1st Caffe model didn’t report any error, while afterwards the same call to the 2nd Caffe Model will crash…
At that time, this parse() function reported an alert message box saying “0x00007FFABA70CB58 (nvparsers.dll) exception: 0xC0000005: reading location 0x0000000000002100 access violation”.
Is there any clue or help on this?
Geforce 1080Ti, very recent driver
Win10 64-bit, TensorRT 5RC for Windows