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

How to use the onnx model for inference #79

Open
hyzhang-rain opened this issue Jan 8, 2024 · 1 comment
Open

How to use the onnx model for inference #79

hyzhang-rain opened this issue Jan 8, 2024 · 1 comment

Comments

@hyzhang-rain
Copy link

hyzhang-rain commented Jan 8, 2024

Hello, thank you for your work.
I have generated the onnx model using export.py, and then how to use this onnx model for inference?
The mmlab code cannot be used directly for change detection, and mmlab code is packaged so that it is difficult to modify. Please give me some help, thank you

@GreatV
Copy link
Contributor

GreatV commented Apr 18, 2024

hi @Rain-Zhang666, You may export the model using tools/export.py, then manually re-implement the pre- and post-processing based on the relevant information from the model, and finally use ort for inference.

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