-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error Code 4:Internal Error (/encoder/layers.10/Conv: number of kernel weights does not match tensor dimensions) #3720
Comments
|
if pth convert to onnx model without dynamic_axes, trtexec convert to tensorrt model works well, when with dynamic_axes , trtexec convert to tensorrt errot appear, i do not know why??? |
Could you please share the onnx here? Maybe a bug. |
I quickly create a minimal reproduce but cannot repro:
|
thanks,i solved. |
Ok, I'm closing this. |
onnx convert to trt model failed .
commend ./trtexec --onnx=/RAID5/user/liupei/ProPainter/E2FGVI/release_model/E2FGVI-HQ-CVPR22_LIUPEI.onnx --saveEngine=/RAID5/user/liupei/ProPainter/E2FGVI/release_model/E2FGVI-HQ-CVPR22_LIUPEI.trt --explicitBatch
/encoder/layers.10/Conv /encoder/layers.10/Conv:kernel weights has count 1474560 but 737280 was expected /encoder/layers.10/Conv: count of 1474560 weights in kernel, but kernel dimensions (3,3) with 320 input channels, 512 output channels and 2 groups were specified. Expected Weights count is 320 * 3*3 * 512 / 2 = 737280
The text was updated successfully, but these errors were encountered: