open-cd
open-cd copied to clipboard
How to use the onnx model for inference
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
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.