RepVGG_TensorRT_int8 icon indicating copy to clipboard operation
RepVGG_TensorRT_int8 copied to clipboard

The opencv error occurred when run the RepVGGsEngine

Open AI-LLM2 opened this issue 4 years ago • 0 comments

===============getInfoFromCudaEngine================== mEngine->getMaxBatchSize() = 8 mEngine->getDeviceMemorySize = 840704 Input tensor [0] name is:input.1 Input [0] data type is: float input [0] nbDims = 4 input [ 0] shape = [1,3,224,224,] Output tensor [0] name is:100 Output [1] data type is: float output [1] nbDims = 2 output [ 1] shape = [1,2,] Load model sucess Read img finished! terminate called after throwing an instance of 'cv::Exception' what(): OpenCV(4.3.0-dev) /home/rzh/ncnn_test/opencv/modules/core/src/matrix.cpp:235: error: (-215:Assertion failed) s >= 0 in function 'setSize'

Aborted (core dumped)

AI-LLM2 avatar Feb 07 '21 01:02 AI-LLM2