-
Notifications
You must be signed in to change notification settings - Fork 2
HubAI conversion + deprecate blobconverter + ConvertOnTrainEnd callback that exports and archives #337
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
base: main
Are you sure you want to change the base?
Conversation
… ExportOnTrainEnd with ConvertOnTrainEnd
klemen1999
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some initial comments, didn't actually test the code yet though
| f"Converting NNArchive to {(cfg.platform or 'rvc2').upper()} format using HubAI SDK" | ||
| ) | ||
|
|
||
| precision_map = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'll wait a bit on this because this/next week a change in HubAI will come where INT8INT16 precision will get introduced. After that we'll properly adjust here as well if needed (TBD)
ArchiveOnTrainEnd
…ow a parameter and by default is False
Purpose
paramsSpecification
smart_auto_populate(), so isolated use of either ArchiveOnTrainEnd or ExportOnTrainEnd wasn't really happening in the first place.luxonis_train convert --config fruit_detection_config.yaml --weights output/51-salmon-dingo/best_val_metric/bestfruit.ckpt exporter.hubai.platform rvc4Dependencies & Potential Impact
Deployment Plan
Testing & Validation
As a callback at the end of training:
CLI:
luxonis_train convert --config fruit_detection_config.yaml --weights output/51-salmon-dingo/best_val_metric/bestfruit.ckpt exporter.hubai.platform rvc4