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

error found when convert the onnx to engine: Network validation failed #566

Open
lmw0320 opened this issue Aug 29, 2024 · 2 comments
Open

Comments

@lmw0320
Copy link

lmw0320 commented Aug 29, 2024

I have export the onnx model of yolov7 ,and try to convert the model on the platform of jetpack4.5.1 with deepstream5.1, but got an error as below:
1724923246667

It seem the split ops can not be used on this platform??
1aba18eae557f16ce7ba8ca968d04100

and the same onnx can be converted successfully at the following platform:
144473b1f144ed2e1bd57c86839cfdce

@nikola310
Copy link

You can try providing onnx and engine files to config. If the engine file doesn't exist it will be created automatically from onnx file

onnx-file=best.onnx
model-engine-file=best.onnx_b1_gpu0_fp16.engine

@lmw0320
Copy link
Author

lmw0320 commented Sep 4, 2024

You can try providing onnx and engine files to config. If the engine file doesn't exist it will be created automatically from onnx file

onnx-file=best.onnx
model-engine-file=best.onnx_b1_gpu0_fp16.engine

Already set. But still have same error caused. It seems verson of onnxparser plugin do not suit for the onnx file.

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