Skip to content

bug-fix of inference#258

Merged
mbuchhorn merged 10 commits intodevfrom
mb_fix-inference
Jan 5, 2026
Merged

bug-fix of inference#258
mbuchhorn merged 10 commits intodevfrom
mb_fix-inference

Conversation

@mbuchhorn
Copy link
Collaborator

resolving the issue of un-wanted extra probabilities bands from single-class models which shifted the band definitions. Together with the eo_processing bug-fix the inference is now generating correct results.

  • improvements of the select_by_label algorithm (speed increase)

- Removed fake labels from single-class models in `class_labels` to ensure valid class handling.
- Updated model metadata extraction to include output band names.
- Added validation to check output bands against expected count, raising an error if mismatched.
- Deleted the unused `is_onnx_file` function.
- Removed redundant blank lines across the script for better readability.
- Enhanced logging to detect and remove fake labels from single-class models.
- Added success logs for applied models and output band consistency checks.
@mbuchhorn mbuchhorn requested a review from brunosmets January 5, 2026 14:14
@mbuchhorn mbuchhorn merged commit 58ffc0b into dev Jan 5, 2026
2 checks passed
@mbuchhorn mbuchhorn deleted the mb_fix-inference branch January 5, 2026 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants