Skip to content
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

onnx to tensorrt #18

Open
luhairong11 opened this issue Oct 24, 2023 · 1 comment
Open

onnx to tensorrt #18

luhairong11 opened this issue Oct 24, 2023 · 1 comment

Comments

@luhairong11
Copy link

I have successfully converted to ONNX, but I'm getting an error when converting to TensorRT. What should I do?
[TRT] [E] /ecd1/ecd1.0/ecd1.0.0/Conv: two inputs (data and weights) are allowed only in explicit-quantization mode.
In node 52 (parseGraph): INVALID_NODE: Invalid Node - /ecd1/ecd1.0/ecd1.0.0/Conv
/ecd1/ecd1.0/ecd1.0.0/Conv: two inputs (data and weights) are allowed only in explicit-quantization mode.

@bychen7
Copy link
Owner

bychen7 commented Oct 26, 2023

Hi, @luhairong11 If TensorRT is less than 8.5, modifications need to be made to ModulatedConv2d, as described in this and this. If TensorRT is 8.5 or newer, the conversion can be done directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants