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

convert onnx model to trt error #428

Closed
kaiven11 opened this issue Jun 6, 2021 · 2 comments
Closed

convert onnx model to trt error #428

kaiven11 opened this issue Jun 6, 2021 · 2 comments

Comments

@kaiven11
Copy link

kaiven11 commented Jun 6, 2021

  1. os: ubuntu 18.04
    cuda:10.2
    tensorrt 7.0.01

step 1. convert to onnx file success
step 2. convert onnx file to trt error

image

and when i compile the plugin,
image
I did not kown if this can affect the result.

the same code on another linux server with cuda10+tensorrt 7.0.0.1 is all ok.
Please help me . Thank you .

@kaiven11
Copy link
Author

kaiven11 commented Jun 6, 2021

#419

follow the issue,

I try the two linux server ,both report the error.

I can't understand ...

@kaiven11
Copy link
Author

kaiven11 commented Jun 6, 2021

I changed the yolo_layer.cu code:
assert(input_multiplier == 8 || input_multiplier == 16 || input_multiplier == 32);

to assert(input_multiplier == 4 || input_multiplier == 16 || input_multiplier == 32);

and everything is ok.

@kaiven11 kaiven11 closed this as completed Jun 6, 2021
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

1 participant