Assertion 'upsample11' failed

Description

When I generated the engine for the wts model of yolov5-v6.0 in TensorRT8.5.2, an error occurred. Assertion ‘upsample11’ failed.
A clear and concise description of the bug or issue.

Environment

TensorRT Version: 8.5.2
GPU Type: Jetson Xavier
Nvidia Driver Version: Jetpack5.1.1
CUDA Version: 11.4
CUDNN Version: 8.6
Operating System + Version:arrch64+ubuntu20.4
Python Version (if applicable): 3.8
PyTorch Version (if applicable): 2.0.0

When I run sudo ./yolov5 -s ../best.wts ../best.engine s the following error appears

yolov5: /opt/tensorrtx-yolov5-v6.0/yolov5/yolov5.cpp:63: nvinfer1::ICudaEngine* build_engine(unsigned int, nvinfer1::IBuilder*, nvinfer1::IBuilderConfig*, nvinfer1::DataType, float&, float&, std::string&): Assertion `upsample11’ failed.
已放弃

Can you please share the verbose logs with us?

Thanks

I had the same problem. how can this problem be solved? All outputs are below;

lagari@lagari:~/Desktop/JetsonYolov5/yolov5/build$ ./yolov5_det -s tomruk.wts tomruk.engine s
[02/28/2024-18:21:40] [W] [TRT] The implicit batch dimension mode has been deprecated. Please create the network with NetworkDefinitionCreationFlag::kEXPLICIT_BATCH flag whenever possible.
Loading weights: tomruk.wts
[02/28/2024-18:21:55] [E] [TRT] 3: model.0.conv:kernel weights has count 0 but 3456 was expected
[02/28/2024-18:21:55] [E] [TRT] 4: model.0.conv: 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
[02/28/2024-18:21:55] [E] [TRT] 4: [convolutionNode.cpp::computeOutputExtents::57] Error Code 4: Internal Error (model.0.conv: number of kernel weights does not match tensor dimensions)
[02/28/2024-18:21:55] [E] [TRT] 3: [scaleLayer.h::setScale::23] Error Code 3: API Usage Error (Parameter check failed at: /_src/build/aarch64-gnu/release/optimizer/api/layers/scaleLayer.h::setScale::23, condition: scale.count > 0
)
[02/28/2024-18:21:55] [E] [TRT] 3: [scaleLayer.h::setShift::24] Error Code 3: API Usage Error (Parameter check failed at: /_src/build/aarch64-gnu/release/optimizer/api/layers/scaleLayer.h::setShift::24, condition: shift.count > 0
)
[02/28/2024-18:21:55] [E] [TRT] 3: [scaleLayer.h::setPower::25] Error Code 3: API Usage Error (Parameter check failed at: /_src/build/aarch64-gnu/release/optimizer/api/layers/scaleLayer.h::setPower::25, condition: power.count > 0
)
[02/28/2024-18:21:55] [E] [TRT] 3: model.0.conv:kernel weights has count 0 but 3456 was expected
[02/28/2024-18:21:55] [E] [TRT] 4: model.0.conv: 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 * 6
6 * 32 / 1 = 3456
[02/28/2024-18:21:55] [E] [TRT] 4: [convolutionNode.cpp::computeOutputExtents::57] Error Code 4: Internal Error (model.0.conv: number of kernel weights does not match tensor dimensions)
[02/28/2024-18:21:55] [E] [TRT] 3: model.0.conv:kernel weights has count 0 but 3456 was expected
[02/28/2024-18:21:55] [E] [TRT] 4: model.0.conv: 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
[02/28/2024-18:21:55] [E] [TRT] 4: [convolutionNode.cpp::computeOutputExtents::57] Error Code 4: Internal Error (model.0.conv: number of kernel weights does not match tensor dimensions)
[02/28/2024-18:21:55] [E] [TRT] 3: model.0.conv:kernel weights has count 0 but 3456 was expected
[02/28/2024-18:21:55] [E] [TRT] 4: model.0.conv: 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 * 6
6 * 32 / 1 = 3456
[02/28/2024-18:21:55] [E] [TRT] 4: [convolutionNode.cpp::computeOutputExtents::57] Error Code 4: Internal Error (model.0.conv: number of kernel weights does not match tensor dimensions)
[02/28/2024-18:21:55] [E] [TRT] 3: model.0.conv:kernel weights has count 0 but 3456 was expected
[02/28/2024-18:21:55] [E] [TRT] 4: model.0.conv: 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
[02/28/2024-18:21:55] [E] [TRT] 4: [convolutionNode.cpp::computeOutputExtents::57] Error Code 4: Internal Error (model.0.conv: number of kernel weights does not match tensor dimensions)
[02/28/2024-18:21:55] [E] [TRT] 3: model.0.conv:kernel weights has count 0 but 3456 was expected
[02/28/2024-18:21:55] [E] [TRT] 4: model.0.conv: 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 * 6
6 * 32 / 1 = 3456
[02/28/2024-18:21:55] [E] [TRT] 4: [convolutionNode.cpp::computeOutputExtents::57] Error Code 4: Internal Error (model.0.conv: number of kernel weights does not match tensor dimensions)
[02/28/2024-18:21:55] [E] [TRT] 3: model.0.conv:kernel weights has count 0 but 3456 was expected
[02/28/2024-18:21:55] [E] [TRT] 4: model.0.conv: 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
[02/28/2024-18:21:55] [E] [TRT] 4: [convolutionNode.cpp::computeOutputExtents::57] Error Code 4: Internal Error (model.0.conv: number of kernel weights does not match tensor dimensions)
[02/28/2024-18:21:55] [E] [TRT] 3: model.0.conv:kernel weights has count 0 but 3456 was expected
[02/28/2024-18:21:55] [E] [TRT] 4: model.0.conv: 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 * 6
6 * 32 / 1 = 3456
[02/28/2024-18:21:55] [E] [TRT] 4: [convolutionNode.cpp::computeOutputExtents::57] Error Code 4: Internal Error (model.0.conv: number of kernel weights does not match tensor dimensions)
[02/28/2024-18:21:55] [E] [TRT] 3: model.0.conv:kernel weights has count 0 but 3456 was expected
[02/28/2024-18:21:55] [E] [TRT] 4: model.0.conv: 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
[02/28/2024-18:21:55] [E] [TRT] 4: [convolutionNode.cpp::computeOutputExtents::57] Error Code 4: Internal Error (model.0.conv: number of kernel weights does not match tensor dimensions)
[02/28/2024-18:21:55] [E] [TRT] 3: model.0.conv:kernel weights has count 0 but 3456 was expected
[02/28/2024-18:21:55] [E] [TRT] 4: model.0.conv: 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 * 6
6 * 32 / 1 = 3456
[02/28/2024-18:21:55] [E] [TRT] 4: [convolutionNode.cpp::computeOutputExtents::57] Error Code 4: Internal Error (model.0.conv: number of kernel weights does not match tensor dimensions)
[02/28/2024-18:21:55] [E] [TRT] 3: model.0.conv:kernel weights has count 0 but 3456 was expected
[02/28/2024-18:21:55] [E] [TRT] 4: model.0.conv: 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
[02/28/2024-18:21:55] [E] [TRT] 4: [convolutionNode.cpp::computeOutputExtents::57] Error Code 4: Internal Error (model.0.conv: number of kernel weights does not match tensor dimensions)
[02/28/2024-18:21:55] [E] [TRT] 3: model.0.conv:kernel weights has count 0 but 3456 was expected
[02/28/2024-18:21:55] [E] [TRT] 4: model.0.conv: 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 * 6
6 * 32 / 1 = 3456
[02/28/2024-18:21:55] [E] [TRT] 4: [convolutionNode.cpp::computeOutputExtents::57] Error Code 4: Internal Error (model.0.conv: number of kernel weights does not match tensor dimensions)
[02/28/2024-18:21:55] [E] [TRT] 3: model.0.conv:kernel weights has count 0 but 3456 was expected
[02/28/2024-18:21:55] [E] [TRT] 4: model.0.conv: 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
[02/28/2024-18:21:55] [E] [TRT] 4: [convolutionNode.cpp::computeOutputExtents::57] Error Code 4: Internal Error (model.0.conv: number of kernel weights does not match tensor dimensions)
[02/28/2024-18:21:55] [E] [TRT] 3: model.0.conv:kernel weights has count 0 but 3456 was expected
[02/28/2024-18:21:55] [E] [TRT] 4: model.0.conv: 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 * 6
6 * 32 / 1 = 3456
[02/28/2024-18:21:55] [E] [TRT] 4: [convolutionNode.cpp::computeOutputExtents::57] Error Code 4: Internal Error (model.0.conv: number of kernel weights does not match tensor dimensions)
[02/28/2024-18:21:55] [E] [TRT] 3: model.0.conv:kernel weights has count 0 but 3456 was expected
[02/28/2024-18:21:55] [E] [TRT] 4: model.0.conv: 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
[02/28/2024-18:21:55] [E] [TRT] 4: [convolutionNode.cpp::computeOutputExtents::57] Error Code 4: Internal Error (model.0.conv: number of kernel weights does not match tensor dimensions)
[02/28/2024-18:21:55] [E] [TRT] 3: model.0.conv:kernel weights has count 0 but 3456 was expected
[02/28/2024-18:21:55] [E] [TRT] 4: model.0.conv: 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 * 6
6 * 32 / 1 = 3456
[02/28/2024-18:21:55] [E] [TRT] 4: [convolutionNode.cpp::computeOutputExtents::57] Error Code 4: Internal Error (model.0.conv: number of kernel weights does not match tensor dimensions)
[02/28/2024-18:21:55] [E] [TRT] 3: model.0.conv:kernel weights has count 0 but 3456 was expected
[02/28/2024-18:21:55] [E] [TRT] 4: model.0.conv: 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
[02/28/2024-18:21:55] [E] [TRT] 4: [convolutionNode.cpp::computeOutputExtents::57] Error Code 4: Internal Error (model.0.conv: number of kernel weights does not match tensor dimensions)
[02/28/2024-18:21:55] [E] [TRT] 3: model.0.conv:kernel weights has count 0 but 3456 was expected
[02/28/2024-18:21:55] [E] [TRT] 4: model.0.conv: 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 * 6
6 * 32 / 1 = 3456
[02/28/2024-18:21:56] [E] [TRT] 4: [convolutionNode.cpp::computeOutputExtents::57] Error Code 4: Internal Error (model.0.conv: number of kernel weights does not match tensor dimensions)
[02/28/2024-18:21:56] [E] [TRT] 3: model.0.conv:kernel weights has count 0 but 3456 was expected
[02/28/2024-18:21:56] [E] [TRT] 4: model.0.conv: 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
[02/28/2024-18:21:56] [E] [TRT] 4: [convolutionNode.cpp::computeOutputExtents::57] Error Code 4: Internal Error (model.0.conv: number of kernel weights does not match tensor dimensions)
[02/28/2024-18:21:56] [E] [TRT] 3: model.0.conv:kernel weights has count 0 but 3456 was expected
[02/28/2024-18:21:56] [E] [TRT] 4: model.0.conv: 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 * 6
6 * 32 / 1 = 3456
[02/28/2024-18:21:56] [E] [TRT] 4: [convolutionNode.cpp::computeOutputExtents::57] Error Code 4: Internal Error (model.0.conv: number of kernel weights does not match tensor dimensions)
[02/28/2024-18:21:56] [E] [TRT] 3: model.0.conv:kernel weights has count 0 but 3456 was expected
[02/28/2024-18:21:56] [E] [TRT] 4: model.0.conv: 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
[02/28/2024-18:21:56] [E] [TRT] 4: [convolutionNode.cpp::computeOutputExtents::57] Error Code 4: Internal Error (model.0.conv: number of kernel weights does not match tensor dimensions)
[02/28/2024-18:21:56] [E] [TRT] 3: model.0.conv:kernel weights has count 0 but 3456 was expected
[02/28/2024-18:21:56] [E] [TRT] 4: model.0.conv: 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 * 6
6 * 32 / 1 = 3456
[02/28/2024-18:21:56] [E] [TRT] 4: [convolutionNode.cpp::computeOutputExtents::57] Error Code 4: Internal Error (model.0.conv: number of kernel weights does not match tensor dimensions)
[02/28/2024-18:21:56] [E] [TRT] 3: model.0.conv:kernel weights has count 0 but 3456 was expected
[02/28/2024-18:21:56] [E] [TRT] 4: model.0.conv: 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
[02/28/2024-18:21:56] [E] [TRT] 4: [convolutionNode.cpp::computeOutputExtents::57] Error Code 4: Internal Error (model.0.conv: number of kernel weights does not match tensor dimensions)
[02/28/2024-18:21:56] [E] [TRT] 3: model.0.conv:kernel weights has count 0 but 3456 was expected
[02/28/2024-18:21:56] [E] [TRT] 4: model.0.conv: 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 * 6
6 * 32 / 1 = 3456
[02/28/2024-18:21:56] [E] [TRT] 4: [convolutionNode.cpp::computeOutputExtents::57] Error Code 4: Internal Error (model.0.conv: number of kernel weights does not match tensor dimensions)
[02/28/2024-18:21:56] [E] [TRT] 3: model.0.conv:kernel weights has count 0 but 3456 was expected
[02/28/2024-18:21:56] [E] [TRT] 4: model.0.conv: 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
[02/28/2024-18:21:56] [E] [TRT] 4: [convolutionNode.cpp::computeOutputExtents::57] Error Code 4: Internal Error (model.0.conv: number of kernel weights does not match tensor dimensions)
[02/28/2024-18:21:56] [E] [TRT] 3: model.0.conv:kernel weights has count 0 but 3456 was expected
[02/28/2024-18:21:56] [E] [TRT] 4: model.0.conv: 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 * 6
6 * 32 / 1 = 3456
[02/28/2024-18:21:56] [E] [TRT] 4: [convolutionNode.cpp::computeOutputExtents::57] Error Code 4: Internal Error (model.0.conv: number of kernel weights does not match tensor dimensions)
[02/28/2024-18:21:56] [E] [TRT] 3: model.0.conv:kernel weights has count 0 but 3456 was expected
[02/28/2024-18:21:56] [E] [TRT] 4: model.0.conv: 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
[02/28/2024-18:21:56] [E] [TRT] 4: [convolutionNode.cpp::computeOutputExtents::57] Error Code 4: Internal Error (model.0.conv: number of kernel weights does not match tensor dimensions)
[02/28/2024-18:21:56] [E] [TRT] 3: model.0.conv:kernel weights has count 0 but 3456 was expected
[02/28/2024-18:21:56] [E] [TRT] 4: model.0.conv: 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 * 6
6 * 32 / 1 = 3456
[02/28/2024-18:21:56] [E] [TRT] 4: [convolutionNode.cpp::computeOutputExtents::57] Error Code 4: Internal Error (model.0.conv: number of kernel weights does not match tensor dimensions)
[02/28/2024-18:21:56] [E] [TRT] 3: model.0.conv:kernel weights has count 0 but 3456 was expected
[02/28/2024-18:21:56] [E] [TRT] 4: model.0.conv: 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
[02/28/2024-18:21:56] [E] [TRT] 4: [convolutionNode.cpp::computeOutputExtents::57] Error Code 4: Internal Error (model.0.conv: number of kernel weights does not match tensor dimensions)
[02/28/2024-18:21:56] [E] [TRT] 3: model.0.conv:kernel weights has count 0 but 3456 was expected
[02/28/2024-18:21:56] [E] [TRT] 4: model.0.conv: 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 * 6
6 * 32 / 1 = 3456
[02/28/2024-18:21:56] [E] [TRT] 4: [convolutionNode.cpp::computeOutputExtents::57] Error Code 4: Internal Error (model.0.conv: number of kernel weights does not match tensor dimensions)
[02/28/2024-18:21:56] [E] [TRT] 3: model.0.conv:kernel weights has count 0 but 3456 was expected
[02/28/2024-18:21:56] [E] [TRT] 4: model.0.conv: 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
[02/28/2024-18:21:56] [E] [TRT] 4: [convolutionNode.cpp::computeOutputExtents::57] Error Code 4: Internal Error (model.0.conv: number of kernel weights does not match tensor dimensions)
[02/28/2024-18:21:56] [E] [TRT] 3: model.0.conv:kernel weights has count 0 but 3456 was expected
[02/28/2024-18:21:56] [E] [TRT] 4: model.0.conv: 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 * 6
6 * 32 / 1 = 3456
[02/28/2024-18:21:56] [E] [TRT] 4: [convolutionNode.cpp::computeOutputExtents::57] Error Code 4: Internal Error (model.0.conv: number of kernel weights does not match tensor dimensions)
[02/28/2024-18:21:56] [E] [TRT] 3: [scaleLayer.h::setScale::23] Error Code 3: API Usage Error (Parameter check failed at: /_src/build/aarch64-gnu/release/optimizer/api/layers/scaleLayer.h::setScale::23, condition: scale.count > 0
)
[02/28/2024-18:21:56] [E] [TRT] 3: [scaleLayer.h::setShift::24] Error Code 3: API Usage Error (Parameter check failed at: /_src/build/aarch64-gnu/release/optimizer/api/layers/scaleLayer.h::setShift::24, condition: shift.count > 0
)
[02/28/2024-18:21:56] [E] [TRT] 3: [scaleLayer.h::setPower::25] Error Code 3: API Usage Error (Parameter check failed at: /_src/build/aarch64-gnu/release/optimizer/api/layers/scaleLayer.h::setPower::25, condition: power.count > 0
)
[02/28/2024-18:21:56] [E] [TRT] 3: model.0.conv:kernel weights has count 0 but 3456 was expected
[02/28/2024-18:21:56] [E] [TRT] 4: model.0.conv: 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
[02/28/2024-18:21:56] [E] [TRT] 4: [convolutionNode.cpp::computeOutputExtents::57] Error Code 4: Internal Error (model.0.conv: number of kernel weights does not match tensor dimensions)
[02/28/2024-18:21:56] [E] [TRT] 3: [scaleLayer.h::setScale::23] Error Code 3: API Usage Error (Parameter check failed at: /_src/build/aarch64-gnu/release/optimizer/api/layers/scaleLayer.h::setScale::23, condition: scale.count > 0
)
[02/28/2024-18:21:56] [E] [TRT] 3: [scaleLayer.h::setShift::24] Error Code 3: API Usage Error (Parameter check failed at: /_src/build/aarch64-gnu/release/optimizer/api/layers/scaleLayer.h::setShift::24, condition: shift.count > 0
)
[02/28/2024-18:21:56] [E] [TRT] 3: [scaleLayer.h::setPower::25] Error Code 3: API Usage Error (Parameter check failed at: /_src/build/aarch64-gnu/release/optimizer/api/layers/scaleLayer.h::setPower::25, condition: power.count > 0
)
[02/28/2024-18:21:56] [E] [TRT] 3: model.0.conv:kernel weights has count 0 but 3456 was expected
[02/28/2024-18:21:56] [E] [TRT] 4: model.0.conv: 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 * 6
6 * 32 / 1 = 3456
[02/28/2024-18:21:56] [E] [TRT] 4: [convolutionNode.cpp::computeOutputExtents::57] Error Code 4: Internal Error (model.0.conv: number of kernel weights does not match tensor dimensions)
[02/28/2024-18:21:56] [E] [TRT] 3: model.0.conv:kernel weights has count 0 but 3456 was expected
[02/28/2024-18:21:56] [E] [TRT] 4: model.0.conv: 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
[02/28/2024-18:21:56] [E] [TRT] 4: [convolutionNode.cpp::computeOutputExtents::57] Error Code 4: Internal Error (model.0.conv: number of kernel weights does not match tensor dimensions)
[02/28/2024-18:21:56] [E] [TRT] 3: [scaleLayer.h::setScale::23] Error Code 3: API Usage Error (Parameter check failed at: /_src/build/aarch64-gnu/release/optimizer/api/layers/scaleLayer.h::setScale::23, condition: scale.count > 0
)
[02/28/2024-18:21:56] [E] [TRT] 3: [scaleLayer.h::setShift::24] Error Code 3: API Usage Error (Parameter check failed at: /_src/build/aarch64-gnu/release/optimizer/api/layers/scaleLayer.h::setShift::24, condition: shift.count > 0
)
[02/28/2024-18:21:56] [E] [TRT] 3: [scaleLayer.h::setPower::25] Error Code 3: API Usage Error (Parameter check failed at: /_src/build/aarch64-gnu/release/optimizer/api/layers/scaleLayer.h::setPower::25, condition: power.count > 0
)
[02/28/2024-18:21:56] [E] [TRT] 3: model.0.conv:kernel weights has count 0 but 3456 was expected
[02/28/2024-18:21:56] [E] [TRT] 4: model.0.conv: 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 * 6
6 * 32 / 1 = 3456
[02/28/2024-18:21:56] [E] [TRT] 4: [convolutionNode.cpp::computeOutputExtents::57] Error Code 4: Internal Error (model.0.conv: number of kernel weights does not match tensor dimensions)
[02/28/2024-18:21:56] [E] [TRT] 3: model.0.conv:kernel weights has count 0 but 3456 was expected
[02/28/2024-18:21:56] [E] [TRT] 4: model.0.conv: 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
[02/28/2024-18:21:56] [E] [TRT] 4: [convolutionNode.cpp::computeOutputExtents::57] Error Code 4: Internal Error (model.0.conv: number of kernel weights does not match tensor dimensions)
[02/28/2024-18:21:56] [E] [TRT] 3: model.0.conv:kernel weights has count 0 but 3456 was expected
[02/28/2024-18:21:56] [E] [TRT] 4: model.0.conv: 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 * 6
6 * 32 / 1 = 3456
[02/28/2024-18:21:56] [E] [TRT] 4: [convolutionNode.cpp::computeOutputExtents::57] Error Code 4: Internal Error (model.0.conv: number of kernel weights does not match tensor dimensions)
[02/28/2024-18:21:56] [E] [TRT] 3: model.0.conv:kernel weights has count 0 but 3456 was expected
[02/28/2024-18:21:56] [E] [TRT] 4: model.0.conv: 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
[02/28/2024-18:21:56] [E] [TRT] 4: [convolutionNode.cpp::computeOutputExtents::57] Error Code 4: Internal Error (model.0.conv: number of kernel weights does not match tensor dimensions)
[02/28/2024-18:21:56] [E] [TRT] 3: model.0.conv:kernel weights has count 0 but 3456 was expected
[02/28/2024-18:21:56] [E] [TRT] 4: model.0.conv: 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 * 6
6 * 32 / 1 = 3456
[02/28/2024-18:21:56] [E] [TRT] 4: [convolutionNode.cpp::computeOutputExtents::57] Error Code 4: Internal Error (model.0.conv: number of kernel weights does not match tensor dimensions)
[02/28/2024-18:21:56] [E] [TRT] 3: [network.cpp::addResize::1382] Error Code 3: API Usage Error (Parameter check failed at: optimizer/api/network.cpp::addResize::1382, condition: input.getDimensions().nbDims > 0
)
yolov5_det: /home/lagari/Desktop/JetsonYolov5/yolov5/src/model.cpp:311: nvinfer1::ICudaEngine* build_det_engine(unsigned int, nvinfer1::IBuilder*, nvinfer1::IBuilderConfig*, nvinfer1::DataType, float&, float&, std::string&): Assertion `upsample11’ failed.
Aborted (core dumped)