Skip to content

If the conversion is done through Hubai SDK then return the device-specific path not the nn archive path#350

Merged
dtronmans merged 5 commits intomainfrom
fix/return_converted_path
Feb 24, 2026
Merged

If the conversion is done through Hubai SDK then return the device-specific path not the nn archive path#350
dtronmans merged 5 commits intomainfrom
fix/return_converted_path

Conversation

@dtronmans
Copy link
Contributor

@dtronmans dtronmans commented Feb 23, 2026

Purpose

I want the convert function to return the device-specific nn-archive path if I use the hubai-sdk exporter so I can use this returned path later on. Right now even if I use HubAI SDK conversion it returns the archive\*.onnx.tar.xz
Also updated to return the .blob file if blobconverter is activate and hubai is not

Specification

Dependencies & Potential Impact

Deployment Plan

Testing & Validation

Exporter config:

exporter:
    quantization_mode: FP16_STANDARD
    hubai:
      active: True
      platform: rvc4

Code tested:
NN_ARCHIVE_PATH = luxonis_model.convert(weights=weights)

Before:
wrong_before

After:
correct_now

@dtronmans dtronmans requested a review from a team as a code owner February 23, 2026 15:01
@dtronmans dtronmans requested review from conorsim, klemen1999, kozlov721 and tersekmatija and removed request for a team February 23, 2026 15:01
@github-actions github-actions bot added the fix Fixing a bug label Feb 23, 2026
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Feb 24, 2026
@dtronmans dtronmans merged commit a5b5a33 into main Feb 24, 2026
11 checks passed
@dtronmans dtronmans deleted the fix/return_converted_path branch February 24, 2026 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation fix Fixing a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants