Skip to main content
ONNX models exported from Roboflow can be verified before creating an inference session with the secure loader:
The secure_load call verifies the .onnx file’s signature using tuc before passing it to ort.InferenceSession. If the signature check fails, a ModelVerificationError is raised and the model is never loaded.

Requirements