linghu8812 / tensorrt_inference

702 stars 206 forks source link

I get the error Assertion'engine->getNbBindings() == 2'failed. #45

Open leeyunhome opened 3 years ago

leeyunhome commented 3 years ago

Hello,

Thank you for sharing good material.

I get the error Assertion'engine->getNbBindings() == 2'failed.

Can you share the onnx file you used?

Thank you.

linghu8812 commented 3 years ago

perhaps same with

3

7

17

leeyunhome commented 3 years ago

perhaps same with

3

7

17

Hello,

Thanks for the reply. Can you share the onnx file you used?

Thank you.

leeyunhome commented 3 years ago

perhaps same with

3

7

17

Hello?

After converting using your repo, the onnx model comes out like this. Is it correct? image

Thank you.

linghu8812 commented 3 years ago

yes, it's right