This sample has two engines built. Preprosserengine and Predictionengine.
Prediction engine was built successfully ( finally ha ha… step by step ).
Now is issue at building preprocessorengine.
I checked my plugin inputs at runtime at configurePlugin and supportsFormatCombination
.
Both came out as
pos 0 dims (88, 1, 35) format 0 type 0
pos 1 dims (1) format 0 type 3
pos 2 dims (1, 20) format 0 type 3
pos 0 dims (88, 1, 35) format 0 type 1
[09/01/2020-13:05:08] [I] [TRT] Some tactics do not have sufficient workspace memory to run. Increasing workspace size may increase performance, please check verbose output.
[09/01/2020-13:05:16] [I] [TRT] Detected 1 inputs and 1 output network tensors.
nbInput 2 nbOutput 1
in 0 min (88, 1, 35)
in 0 max (88, 1, 35)
in 1 min (1)
in 1 max (1)
out 1 min (1, 20)
out 1 max (1, 20)
So looked fine. All inputs and output have dimensions.
But when preprocessor engine was built, there was error as
[09/01/2020-13:05:16] [E] [TRT] ../builder/cudnnBuilderGraph.cpp (794) - Assertion Error in checkDimsSanity: 0 (dims.d[i] >= 0)
What could be wrong?