RKNN Fixes (#20380)
CI / AMD64 Build (push) Waiting to run
CI / ARM Build (push) Waiting to run
CI / Jetson Jetpack 6 (push) Waiting to run
CI / AMD64 Extra Build (push) Blocked by required conditions
CI / ARM Extra Build (push) Blocked by required conditions
CI / Synaptics Build (push) Blocked by required conditions
CI / Assemble and push default build (push) Blocked by required conditions

* Fix arm64 unable to optimize onnx

* Move to onnx format for rknn
This commit is contained in:
Nicolas Mowen
2025-10-07 14:45:03 -05:00
committed by GitHub
parent 37afd5da6b
commit 33f0c23389
3 changed files with 58 additions and 5 deletions
+4 -1
View File
@@ -107,8 +107,11 @@ class Rknn(DetectionApi):
# Determine model type from config
model_type = self.detector_config.model.model_type
# Convert enum to string if needed
model_type_str = model_type.value if model_type else None
# Auto-convert the model
converted_path = auto_convert_model(model_path, model_type.value)
converted_path = auto_convert_model(model_path, model_type_str)
if converted_path:
model_props["path"] = converted_path