Monday-Leo / Yolov5_Tensorrt_Win10

A simple implementation of tensorrt yolov5 python/c++🔥
175 stars 40 forks source link

yolov5 -s yolov5s.wts yolov5s.engine s后报错 #12

Open bsshanghai opened 10 months ago

bsshanghai commented 10 months ago

前面wts模型文件是我自己准备的,yoolar.h里对应的改了,release.exe文件也有了, 就是运行转换的时候,loading后就开始报错, 这什么kernel weights 为0,啥意思?

E:\PycharmProject\Yolov5_Tensorrt_Win10-master\build\Release>yolov5 -s mybest.wts myberry.engine s [12/07/2023-15:50:41] [W] [TRT] The implicit batch dimension mode has been deprecated. Please create the network with NetworkDefinitionCreationFlag::kEXPLICIT_BATCH flag whenever possible. Loading weights: mybest.wts [12/07/2023-15:50:42] [E] [TRT] 3: (Unnamed Layer 0) [Convolution]:kernel weights has count 0 but 3456 was expected [12/07/2023-15:50:42] [E] [TRT] 4: (Unnamed Layer 0) [Convolution]: count of 0 weights in kernel, but kernel dimensions (6,6) with 3 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 3 66 32 / 1 = 3456 [12/07/2023-15:50:42] [E] [TRT] 4: [convolutionNode.cpp::nvinfer1::builder::ConvolutionNode::computeOutputExtents::58] Error Code 4: Internal Error ((Unnamed Layer 0) [Convolution]: number of kernel weights does not match tensor dimensions) [12/07/2023-15:50:42] [E] [TRT] 3: [scaleLayer.h::nvinfer1::ScaleLayer::setScale::23] Error Code 3: API Usage Error (Parameter check failed at: scaleLayer.h::nvinfer1::ScaleLayer::setScale::23, condition: scale.count > 0 ) [12/07/2023-15:50:42] [E] [TRT] 3: [scaleLayer.h::nvinfer1::ScaleLayer::setShift::24] Error Code 3: API Usage Error (Parameter check failed at: scaleLayer.h::nvinfer1::ScaleLayer::setShift::24, condition: shift.count > 0 ) [12/07/2023-15:50:42] [E] [TRT] 3: [scaleLayer.h::nvinfer1::ScaleLayer::setPower::25] Error Code 3: API Usage Error (Parameter check failed at: scaleLayer.h::nvinfer1::ScaleLayer::setPower::25, condition: power.count > 0 ) [12/07/2023-15:50:42] [E] [TRT] 3: (Unnamed Layer 0) [Convolution]:kernel weights has count 0 but 3456 was expected [12/07/2023-15:50:42] [E] [TRT] 4: (Unnamed Layer 0) [Convolution]: count of 0 weights in kernel, but kernel dimensions (6,6) with 3 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 3 66 32 / 1 = 3456 [12/07/2023-15:50:42] [E] [TRT] 4: [convolutionNode.cpp::nvinfer1::builder::ConvolutionNode::computeOutputExtents::58] Error Code 4: Internal Error ((Unnamed Layer 0) [Convolution]: number of kernel weights does not match tensor dimensions) [12/07/2023-15:50:42] [E] [TRT] 3: (Unnamed Layer 0) [Convolution]:kernel weights has count 0 but 3456 was expected [12/07/2023-15:50:42] [E] [TRT] 4: (Unnamed Layer 0) [Convolution]: count of 0 weights in kernel, but kernel dimensions (6,6) with 3 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 3 66 32 / 1 = 3456 [12/07/2023-15:50:42] [E] [TRT] 4: [convolutionNode.cpp::nvinfer1::builder::ConvolutionNode::computeOutputExtents::58] Error Code 4: Internal Error ((Unnamed Layer 0) [Convolution]: number of kernel weights does not match tensor dimensions) [12/07/2023-15:50:42] [E] [TRT] 3: (Unnamed Layer 0) [Convolution]:kernel weights has count 0 but 3456 was expected [12/07/2023-15:50:42] [E] [TRT] 4: (Unnamed Layer 0) [Convolution]: count of 0 weights in kernel, but kernel dimensions (6,6) with 3 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 3 66 32 / 1 = 3456 [12/07/2023-15:50:42] [E] [TRT] 4: [convolutionNode.cpp::nvinfer1::builder::ConvolutionNode::computeOutputExtents::58] Error Code 4: Internal Error ((Unnamed Layer 0) [Convolution]: number of kernel weights does not match tensor dimensions) [12/07/2023-15:50:42] [E] [TRT] 3: (Unnamed Layer 0) [Convolution]:kernel weights has count 0 but 3456 was expected [12/07/2023-15:50:42] [E] [TRT] 4: (Unnamed Layer 0) [Convolution]: count of 0 weights in kernel, but kernel dimensions (6,6) with 3 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 3 66 32 / 1 = 3456 [12/07/2023-15:50:42] [E] [TRT] 4: [convolutionNode.cpp::nvinfer1::builder::ConvolutionNode::computeOutputExtents::58] Error Code 4: Internal Error ((Unnamed Layer 0) [Convolution]: number of kernel weights does not match tensor dimensions) [12/07/2023-15:50:42] [E] [TRT] 3: (Unnamed Layer 0) [Convolution]:kernel weights has count 0 but 3456 was expected [12/07/2023-15:50:42] [E] [TRT] 4: (Unnamed Layer 0) [Convolution]: count of 0 weights in kernel, but kernel dimensions (6,6) with 3 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 3 66 32 / 1 = 3456 [12/07/2023-15:50:42] [E] [TRT] 4: [convolutionNode.cpp::nvinfer1::builder::ConvolutionNode::computeOutputExtents::58] Error Code 4: Internal Error ((Unnamed Layer 0) [Convolution]: number of kernel weights does not match tensor dimensions) [12/07/2023-15:50:42] [E] [TRT] 3: (Unnamed Layer 0) [Convolution]:kernel weights has count 0 but 3456 was expected [12/07/2023-15:50:42] [E] [TRT] 4: (Unnamed Layer 0) [Convolution]: count of 0 weights in kernel, but kernel dimensions (6,6) with 3 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 3 66 32 / 1 = 3456 [12/07/2023-15:50:42] [E] [TRT] 4: [convolutionNode.cpp::nvinfer1::builder::ConvolutionNode::computeOutputExtents::58] Error Code 4: Internal Error ((Unnamed Layer 0) [Convolution]: number of kernel weights does not match tensor dimensions) [12/07/2023-15:50:42] [E] [TRT] 3: (Unnamed Layer 0) [Convolution]:kernel weights has count 0 but 3456 was expected [12/07/2023-15:50:42] [E] [TRT] 4: (Unnamed Layer 0) [Convolution]: count of 0 weights in kernel, but kernel dimensions (6,6) with 3 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 3 66 32 / 1 = 3456 [12/07/2023-15:50:42] [E] [TRT] 4: [convolutionNode.cpp::nvinfer1::builder::ConvolutionNode::computeOutputExtents::58] Error Code 4: Internal Error ((Unnamed Layer 0) [Convolution]: number of kernel weights does not match tensor dimensions) [12/07/2023-15:50:42] [E] [TRT] 3: (Unnamed Layer 0) [Convolution]:kernel weights has count 0 but 3456 was expected [12/07/2023-15:50:42] [E] [TRT] 4: (Unnamed Layer 0) [Convolution]: count of 0 weights in kernel, but kernel dimensions (6,6) with 3 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 3 66 32 / 1 = 3456 [12/07/2023-15:50:42] [E] [TRT] 4: [convolutionNode.cpp::nvinfer1::builder::ConvolutionNode::computeOutputExtents::58] Error Code 4: Internal Error ((Unnamed Layer 0) [Convolution]: number of kernel weights does not match tensor dimensions) [12/07/2023-15:50:42] [E] [TRT] 3: (Unnamed Layer 0) [Convolution]:kernel weights has count 0 but 3456 was expected [12/07/2023-15:50:42] [E] [TRT] 4: (Unnamed Layer 0) [Convolution]: count of 0 weights in kernel, but kernel dimensions (6,6) with 3 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 3 66 32 / 1 = 3456 [12/07/2023-15:50:42] [E] [TRT] 4: [convolutionNode.cpp::nvinfer1::builder::ConvolutionNode::computeOutputExtents::58] Error Code 4: Internal Error ((Unnamed Layer 0) [Convolution]: number of kernel weights does not match tensor dimensions) [12/07/2023-15:50:42] [E] [TRT] 3: (Unnamed Layer 0) [Convolution]:kernel weights has count 0 but 3456 was expected [12/07/2023-15:50:42] [E] [TRT] 4: (Unnamed Layer 0) [Convolution]: count of 0 weights in kernel, but kernel dimensions (6,6) with 3 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 3 66 32 / 1 = 3456 [12/07/2023-15:50:42] [E] [TRT] 4: [convolutionNode.cpp::nvinfer1::builder::ConvolutionNode::computeOutputExtents::58] Error Code 4: Internal Error ((Unnamed Layer 0) [Convolution]: number of kernel weights does not match tensor dimensions) [12/07/2023-15:50:42] [E] [TRT] 3: (Unnamed Layer 0) [Convolution]:kernel weights has count 0 but 3456 was expected [12/07/2023-15:50:42] [E] [TRT] 4: (Unnamed Layer 0) [Convolution]: count of 0 weights in kernel, but kernel dimensions (6,6) with 3 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 3 66 32 / 1 = 3456 [12/07/2023-15:50:42] [E] [TRT] 4: [convolutionNode.cpp::nvinfer1::builder::ConvolutionNode::computeOutputExtents::58] Error Code 4: Internal Error ((Unnamed Layer 0) [Convolution]: number of kernel weights does not match tensor dimensions) [12/07/2023-15:50:42] [E] [TRT] 3: (Unnamed Layer 0) [Convolution]:kernel weights has count 0 but 3456 was expected [12/07/2023-15:50:42] [E] [TRT] 4: (Unnamed Layer 0) [Convolution]: count of 0 weights in kernel, but kernel dimensions (6,6) with 3 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 3 66 32 / 1 = 3456 [12/07/2023-15:50:42] [E] [TRT] 4: [convolutionNode.cpp::nvinfer1::builder::ConvolutionNode::computeOutputExtents::58] Error Code 4: Internal Error ((Unnamed Layer 0) [Convolution]: number of kernel weights does not match tensor dimensions) [12/07/2023-15:50:42] [E] [TRT] 3: (Unnamed Layer 0) [Convolution]:kernel weights has count 0 but 3456 was expected [12/07/2023-15:50:42] [E] [TRT] 4: (Unnamed Layer 0) [Convolution]: count of 0 weights in kernel, but kernel dimensions (6,6) with 3 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 3 66 32 / 1 = 3456 [12/07/2023-15:50:42] [E] [TRT] 4: [convolutionNode.cpp::nvinfer1::builder::ConvolutionNode::computeOutputExtents::58] Error Code 4: Internal Error ((Unnamed Layer 0) [Convolution]: number of kernel weights does not match tensor dimensions) [12/07/2023-15:50:42] [E] [TRT] 3: (Unnamed Layer 0) [Convolution]:kernel weights has count 0 but 3456 was expected [12/07/2023-15:50:42] [E] [TRT] 4: (Unnamed Layer 0) [Convolution]: count of 0 weights in kernel, but kernel dimensions (6,6) with 3 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 3 66 32 / 1 = 3456 [12/07/2023-15:50:42] [E] [TRT] 4: [convolutionNode.cpp::nvinfer1::builder::ConvolutionNode::computeOutputExtents::58] Error Code 4: Internal Error ((Unnamed Layer 0) [Convolution]: number of kernel weights does not match tensor dimensions) [12/07/2023-15:50:42] [E] [TRT] 3: (Unnamed Layer 0) [Convolution]:kernel weights has count 0 but 3456 was expected [12/07/2023-15:50:42] [E] [TRT] 4: (Unnamed Layer 0) [Convolution]: count of 0 weights in kernel, but kernel dimensions (6,6) with 3 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 3 66 32 / 1 = 3456 [12/07/2023-15:50:42] [E] [TRT] 4: [convolutionNode.cpp::nvinfer1::builder::ConvolutionNode::computeOutputExtents::58] Error Code 4: Internal Error ((Unnamed Layer 0) [Convolution]: number of kernel weights does not match tensor dimensions) [12/07/2023-15:50:42] [E] [TRT] 3: (Unnamed Layer 0) [Convolution]:kernel weights has count 0 but 3456 was expected [12/07/2023-15:50:42] [E] [TRT] 4: (Unnamed Layer 0) [Convolution]: count of 0 weights in kernel, but kernel dimensions (6,6) with 3 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 3 66 32 / 1 = 3456 [12/07/2023-15:50:42] [E] [TRT] 4: [convolutionNode.cpp::nvinfer1::builder::ConvolutionNode::computeOutputExtents::58] Error Code 4: Internal Error ((Unnamed Layer 0) [Convolution]: number of kernel weights does not match tensor dimensions) [12/07/2023-15:50:42] [E] [TRT] 3: (Unnamed Layer 0) [Convolution]:kernel weights has count 0 but 3456 was expected [12/07/2023-15:50:42] [E] [TRT] 4: (Unnamed Layer 0) [Convolution]: count of 0 weights in kernel, but kernel dimensions (6,6) with 3 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 3 66 32 / 1 = 3456 [12/07/2023-15:50:42] [E] [TRT] 4: [convolutionNode.cpp::nvinfer1::builder::ConvolutionNode::computeOutputExtents::58] Error Code 4: Internal Error ((Unnamed Layer 0) [Convolution]: number of kernel weights does not match tensor dimensions) [12/07/2023-15:50:42] [E] [TRT] 3: (Unnamed Layer 0) [Convolution]:kernel weights has count 0 but 3456 was expected [12/07/2023-15:50:42] [E] [TRT] 4: (Unnamed Layer 0) [Convolution]: count of 0 weights in kernel, but kernel dimensions (6,6) with 3 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 3 66 32 / 1 = 3456 [12/07/2023-15:50:42] [E] [TRT] 4: [convolutionNode.cpp::nvinfer1::builder::ConvolutionNode::computeOutputExtents::58] Error Code 4: Internal Error ((Unnamed Layer 0) [Convolution]: number of kernel weights does not match tensor dimensions) [12/07/2023-15:50:42] [E] [TRT] 3: (Unnamed Layer 0) [Convolution]:kernel weights has count 0 but 3456 was expected [12/07/2023-15:50:42] [E] [TRT] 4: (Unnamed Layer 0) [Convolution]: count of 0 weights in kernel, but kernel dimensions (6,6) with 3 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 3 66 32 / 1 = 3456 [12/07/2023-15:50:42] [E] [TRT] 4: [convolutionNode.cpp::nvinfer1::builder::ConvolutionNode::computeOutputExtents::58] Error Code 4: Internal Error ((Unnamed Layer 0) [Convolution]: number of kernel weights does not match tensor dimensions) [12/07/2023-15:50:42] [E] [TRT] 3: (Unnamed Layer 0) [Convolution]:kernel weights has count 0 but 3456 was expected [12/07/2023-15:50:42] [E] [TRT] 4: (Unnamed Layer 0) [Convolution]: count of 0 weights in kernel, but kernel dimensions (6,6) with 3 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 3 66 32 / 1 = 3456 [12/07/2023-15:50:42] [E] [TRT] 4: [convolutionNode.cpp::nvinfer1::builder::ConvolutionNode::computeOutputExtents::58] Error Code 4: Internal Error ((Unnamed Layer 0) [Convolution]: number of kernel weights does not match tensor dimensions) [12/07/2023-15:50:42] [E] [TRT] 3: (Unnamed Layer 0) [Convolution]:kernel weights has count 0 but 3456 was expected [12/07/2023-15:50:42] [E] [TRT] 4: (Unnamed Layer 0) [Convolution]: count of 0 weights in kernel, but kernel dimensions (6,6) with 3 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 3 66 32 / 1 = 3456 [12/07/2023-15:50:42] [E] [TRT] 4: [convolutionNode.cpp::nvinfer1::builder::ConvolutionNode::computeOutputExtents::58] Error Code 4: Internal Error ((Unnamed Layer 0) [Convolution]: number of kernel weights does not match tensor dimensions) [12/07/2023-15:50:42] [E] [TRT] 3: (Unnamed Layer 0) [Convolution]:kernel weights has count 0 but 3456 was expected [12/07/2023-15:50:42] [E] [TRT] 4: (Unnamed Layer 0) [Convolution]: count of 0 weights in kernel, but kernel dimensions (6,6) with 3 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 3 66 32 / 1 = 3456 [12/07/2023-15:50:42] [E] [TRT] 4: [convolutionNode.cpp::nvinfer1::builder::ConvolutionNode::computeOutputExtents::58] Error Code 4: Internal Error ((Unnamed Layer 0) [Convolution]: number of kernel weights does not match tensor dimensions) [12/07/2023-15:50:42] [E] [TRT] 3: (Unnamed Layer 0) [Convolution]:kernel weights has count 0 but 3456 was expected [12/07/2023-15:50:42] [E] [TRT] 4: (Unnamed Layer 0) [Convolution]: count of 0 weights in kernel, but kernel dimensions (6,6) with 3 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 3 66 32 / 1 = 3456 [12/07/2023-15:50:42] [E] [TRT] 4: [convolutionNode.cpp::nvinfer1::builder::ConvolutionNode::computeOutputExtents::58] Error Code 4: Internal Error ((Unnamed Layer 0) [Convolution]: number of kernel weights does not match tensor dimensions) [12/07/2023-15:50:42] [E] [TRT] 3: (Unnamed Layer 0) [Convolution]:kernel weights has count 0 but 3456 was expected [12/07/2023-15:50:42] [E] [TRT] 4: (Unnamed Layer 0) [Convolution]: count of 0 weights in kernel, but kernel dimensions (6,6) with 3 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 3 66 32 / 1 = 3456 [12/07/2023-15:50:42] [E] [TRT] 4: [convolutionNode.cpp::nvinfer1::builder::ConvolutionNode::computeOutputExtents::58] Error Code 4: Internal Error ((Unnamed Layer 0) [Convolution]: number of kernel weights does not match tensor dimensions) [12/07/2023-15:50:42] [E] [TRT] 3: (Unnamed Layer 0) [Convolution]:kernel weights has count 0 but 3456 was expected [12/07/2023-15:50:42] [E] [TRT] 4: (Unnamed Layer 0) [Convolution]: count of 0 weights in kernel, but kernel dimensions (6,6) with 3 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 3 66 32 / 1 = 3456 [12/07/2023-15:50:42] [E] [TRT] 4: [convolutionNode.cpp::nvinfer1::builder::ConvolutionNode::computeOutputExtents::58] Error Code 4: Internal Error ((Unnamed Layer 0) [Convolution]: number of kernel weights does not match tensor dimensions) [12/07/2023-15:50:42] [E] [TRT] 3: (Unnamed Layer 0) [Convolution]:kernel weights has count 0 but 3456 was expected [12/07/2023-15:50:42] [E] [TRT] 4: (Unnamed Layer 0) [Convolution]: count of 0 weights in kernel, but kernel dimensions (6,6) with 3 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 3 66 32 / 1 = 3456 [12/07/2023-15:50:42] [E] [TRT] 4: [convolutionNode.cpp::nvinfer1::builder::ConvolutionNode::computeOutputExtents::58] Error Code 4: Internal Error ((Unnamed Layer 0) [Convolution]: number of kernel weights does not match tensor dimensions) [12/07/2023-15:50:42] [E] [TRT] 3: (Unnamed Layer 0) [Convolution]:kernel weights has count 0 but 3456 was expected [12/07/2023-15:50:42] [E] [TRT] 4: (Unnamed Layer 0) [Convolution]: count of 0 weights in kernel, but kernel dimensions (6,6) with 3 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 3 66 32 / 1 = 3456 [12/07/2023-15:50:42] [E] [TRT] 4: [convolutionNode.cpp::nvinfer1::builder::ConvolutionNode::computeOutputExtents::58] Error Code 4: Internal Error ((Unnamed Layer 0) [Convolution]: number of kernel weights does not match tensor dimensions) [12/07/2023-15:50:42] [E] [TRT] 3: (Unnamed Layer 0) [Convolution]:kernel weights has count 0 but 3456 was expected [12/07/2023-15:50:42] [E] [TRT] 4: (Unnamed Layer 0) [Convolution]: count of 0 weights in kernel, but kernel dimensions (6,6) with 3 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 3 66 32 / 1 = 3456 [12/07/2023-15:50:42] [E] [TRT] 4: [convolutionNode.cpp::nvinfer1::builder::ConvolutionNode::computeOutputExtents::58] Error Code 4: Internal Error ((Unnamed Layer 0) [Convolution]: number of kernel weights does not match tensor dimensions) [12/07/2023-15:50:42] [E] [TRT] 3: (Unnamed Layer 0) [Convolution]:kernel weights has count 0 but 3456 was expected [12/07/2023-15:50:42] [E] [TRT] 4: (Unnamed Layer 0) [Convolution]: count of 0 weights in kernel, but kernel dimensions (6,6) with 3 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 3 66 32 / 1 = 3456 [12/07/2023-15:50:42] [E] [TRT] 4: [convolutionNode.cpp::nvinfer1::builder::ConvolutionNode::computeOutputExtents::58] Error Code 4: Internal Error ((Unnamed Layer 0) [Convolution]: number of kernel weights does not match tensor dimensions) [12/07/2023-15:50:42] [E] [TRT] 3: (Unnamed Layer 0) [Convolution]:kernel weights has count 0 but 3456 was expected [12/07/2023-15:50:42] [E] [TRT] 4: (Unnamed Layer 0) [Convolution]: count of 0 weights in kernel, but kernel dimensions (6,6) with 3 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 3 66 32 / 1 = 3456 [12/07/2023-15:50:42] [E] [TRT] 4: [convolutionNode.cpp::nvinfer1::builder::ConvolutionNode::computeOutputExtents::58] Error Code 4: Internal Error ((Unnamed Layer 0) [Convolution]: number of kernel weights does not match tensor dimensions) [12/07/2023-15:50:42] [E] [TRT] 3: (Unnamed Layer 0) [Convolution]:kernel weights has count 0 but 3456 was expected [12/07/2023-15:50:42] [E] [TRT] 4: (Unnamed Layer 0) [Convolution]: count of 0 weights in kernel, but kernel dimensions (6,6) with 3 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 3 66 32 / 1 = 3456 [12/07/2023-15:50:42] [E] [TRT] 4: [convolutionNode.cpp::nvinfer1::builder::ConvolutionNode::computeOutputExtents::58] Error Code 4: Internal Error ((Unnamed Layer 0) [Convolution]: number of kernel weights does not match tensor dimensions) [12/07/2023-15:50:42] [E] [TRT] 3: [scaleLayer.h::nvinfer1::ScaleLayer::setScale::23] Error Code 3: API Usage Error (Parameter check failed at: scaleLayer.h::nvinfer1::ScaleLayer::setScale::23, condition: scale.count > 0 ) [12/07/2023-15:50:42] [E] [TRT] 3: [scaleLayer.h::nvinfer1::ScaleLayer::setShift::24] Error Code 3: API Usage Error (Parameter check failed at: scaleLayer.h::nvinfer1::ScaleLayer::setShift::24, condition: shift.count > 0 ) [12/07/2023-15:50:42] [E] [TRT] 3: [scaleLayer.h::nvinfer1::ScaleLayer::setPower::25] Error Code 3: API Usage Error (Parameter check failed at: scaleLayer.h::nvinfer1::ScaleLayer::setPower::25, condition: power.count > 0 ) [12/07/2023-15:50:42] [E] [TRT] 3: (Unnamed Layer 0) [Convolution]:kernel weights has count 0 but 3456 was expected [12/07/2023-15:50:42] [E] [TRT] 4: (Unnamed Layer 0) [Convolution]: count of 0 weights in kernel, but kernel dimensions (6,6) with 3 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 3 66 32 / 1 = 3456 [12/07/2023-15:50:42] [E] [TRT] 4: [convolutionNode.cpp::nvinfer1::builder::ConvolutionNode::computeOutputExtents::58] Error Code 4: Internal Error ((Unnamed Layer 0) [Convolution]: number of kernel weights does not match tensor dimensions) [12/07/2023-15:50:42] [E] [TRT] 3: [scaleLayer.h::nvinfer1::ScaleLayer::setScale::23] Error Code 3: API Usage Error (Parameter check failed at: scaleLayer.h::nvinfer1::ScaleLayer::setScale::23, condition: scale.count > 0 ) [12/07/2023-15:50:42] [E] [TRT] 3: [scaleLayer.h::nvinfer1::ScaleLayer::setShift::24] Error Code 3: API Usage Error (Parameter check failed at: scaleLayer.h::nvinfer1::ScaleLayer::setShift::24, condition: shift.count > 0 ) [12/07/2023-15:50:42] [E] [TRT] 3: [scaleLayer.h::nvinfer1::ScaleLayer::setPower::25] Error Code 3: API Usage Error (Parameter check failed at: scaleLayer.h::nvinfer1::ScaleLayer::setPower::25, condition: power.count > 0 ) [12/07/2023-15:50:42] [E] [TRT] 3: (Unnamed Layer 0) [Convolution]:kernel weights has count 0 but 3456 was expected [12/07/2023-15:50:42] [E] [TRT] 4: (Unnamed Layer 0) [Convolution]: count of 0 weights in kernel, but kernel dimensions (6,6) with 3 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 3 66 32 / 1 = 3456 [12/07/2023-15:50:42] [E] [TRT] 4: [convolutionNode.cpp::nvinfer1::builder::ConvolutionNode::computeOutputExtents::58] Error Code 4: Internal Error ((Unnamed Layer 0) [Convolution]: number of kernel weights does not match tensor dimensions) [12/07/2023-15:50:42] [E] [TRT] 3: (Unnamed Layer 0) [Convolution]:kernel weights has count 0 but 3456 was expected [12/07/2023-15:50:42] [E] [TRT] 4: (Unnamed Layer 0) [Convolution]: count of 0 weights in kernel, but kernel dimensions (6,6) with 3 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 3 66 32 / 1 = 3456 [12/07/2023-15:50:42] [E] [TRT] 4: [convolutionNode.cpp::nvinfer1::builder::ConvolutionNode::computeOutputExtents::58] Error Code 4: Internal Error ((Unnamed Layer 0) [Convolution]: number of kernel weights does not match tensor dimensions) [12/07/2023-15:50:42] [E] [TRT] 3: [scaleLayer.h::nvinfer1::ScaleLayer::setScale::23] Error Code 3: API Usage Error (Parameter check failed at: scaleLayer.h::nvinfer1::ScaleLayer::setScale::23, condition: scale.count > 0 ) [12/07/2023-15:50:42] [E] [TRT] 3: [scaleLayer.h::nvinfer1::ScaleLayer::setShift::24] Error Code 3: API Usage Error (Parameter check failed at: scaleLayer.h::nvinfer1::ScaleLayer::setShift::24, condition: shift.count > 0 ) [12/07/2023-15:50:42] [E] [TRT] 3: [scaleLayer.h::nvinfer1::ScaleLayer::setPower::25] Error Code 3: API Usage Error (Parameter check failed at: scaleLayer.h::nvinfer1::ScaleLayer::setPower::25, condition: power.count > 0 ) [12/07/2023-15:50:42] [E] [TRT] 3: (Unnamed Layer 0) [Convolution]:kernel weights has count 0 but 3456 was expected [12/07/2023-15:50:42] [E] [TRT] 4: (Unnamed Layer 0) [Convolution]: count of 0 weights in kernel, but kernel dimensions (6,6) with 3 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 3 66 32 / 1 = 3456 [12/07/2023-15:50:42] [E] [TRT] 4: [convolutionNode.cpp::nvinfer1::builder::ConvolutionNode::computeOutputExtents::58] Error Code 4: Internal Error ((Unnamed Layer 0) [Convolution]: number of kernel weights does not match tensor dimensions) [12/07/2023-15:50:42] [E] [TRT] 3: (Unnamed Layer 0) [Convolution]:kernel weights has count 0 but 3456 was expected [12/07/2023-15:50:42] [E] [TRT] 4: (Unnamed Layer 0) [Convolution]: count of 0 weights in kernel, but kernel dimensions (6,6) with 3 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 3 66 32 / 1 = 3456 [12/07/2023-15:50:42] [E] [TRT] 4: [convolutionNode.cpp::nvinfer1::builder::ConvolutionNode::computeOutputExtents::58] Error Code 4: Internal Error ((Unnamed Layer 0) [Convolution]: number of kernel weights does not match tensor dimensions) [12/07/2023-15:50:42] [E] [TRT] 3: (Unnamed Layer 0) [Convolution]:kernel weights has count 0 but 3456 was expected [12/07/2023-15:50:42] [E] [TRT] 4: (Unnamed Layer 0) [Convolution]: count of 0 weights in kernel, but kernel dimensions (6,6) with 3 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 3 66 32 / 1 = 3456 [12/07/2023-15:50:42] [E] [TRT] 4: [convolutionNode.cpp::nvinfer1::builder::ConvolutionNode::computeOutputExtents::58] Error Code 4: Internal Error ((Unnamed Layer 0) [Convolution]: number of kernel weights does not match tensor dimensions) [12/07/2023-15:50:42] [E] [TRT] 3: (Unnamed Layer 0) [Convolution]:kernel weights has count 0 but 3456 was expected [12/07/2023-15:50:42] [E] [TRT] 4: (Unnamed Layer 0) [Convolution]: count of 0 weights in kernel, but kernel dimensions (6,6) with 3 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 3 66 32 / 1 = 3456 [12/07/2023-15:50:42] [E] [TRT] 4: [convolutionNode.cpp::nvinfer1::builder::ConvolutionNode::computeOutputExtents::58] Error Code 4: Internal Error ((Unnamed Layer 0) [Convolution]: number of kernel weights does not match tensor dimensions) [12/07/2023-15:50:42] [E] [TRT] 3: (Unnamed Layer 0) [Convolution]:kernel weights has count 0 but 3456 was expected [12/07/2023-15:50:42] [E] [TRT] 4: (Unnamed Layer 0) [Convolution]: count of 0 weights in kernel, but kernel dimensions (6,6) with 3 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 3 66 32 / 1 = 3456 [12/07/2023-15:50:42] [E] [TRT] 4: [convolutionNode.cpp::nvinfer1::builder::ConvolutionNode::computeOutputExtents::58] Error Code 4: Internal Error ((Unnamed Layer 0) [Convolution]: number of kernel weights does not match tensor dimensions) [12/07/2023-15:50:42] [E] [TRT] 3: [network.cpp::nvinfer1::Network::addResize::1358] Error Code 3: API Usage Error (Parameter check failed at: network.cpp::nvinfer1::Network::addResize::1358, condition: input.getDimensions().nbDims > 0