Skip to content
Snippets Groups Projects

BUG: sort Shark labels before encoding so that we know the order for the probability image

Merged Jordi Inglada requested to merge jinglada/otb:sort_shark_labels into develop

Since Shark assumes contiguous labels, we recode the incoming labels and decode them after predictions. This encoding does not ensure that the new labels are sorted as the incoming ones. However, when we want to generate the image containing the probability for each class, we need to ensure that the probabilities are in the correct order wrt the incoming labels.

This MR ensures that the encoding of the incoming labels keeps the original label order.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading