Skip to content

Commit

Permalink
Merge pull request #119 from ilastik/fix-oc-command
Browse files Browse the repository at this point in the history
explicit export source for object classification
  • Loading branch information
k-dominik authored Sep 26, 2023
2 parents 42d435f + 65c6d4f commit 03934ae
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,7 @@ public final class ObjectClassificationCommand<T extends NativeType<T> & RealTyp

@Override
protected List<String> workflowArgs() {
if (ROLE_PROBABILITIES.equals(secondInputType)) {
return Collections.singletonList("--export_source=Object Probabilities");
}
if (ROLE_SEGMENTATION.equals(secondInputType)) {
return Collections.singletonList("--export_source=Object Predictions");
}
throw new IllegalStateException("Unexpected value: " + secondInputType);
return Collections.singletonList("--export_source=Object Predictions");
}

@Override
Expand Down

0 comments on commit 03934ae

Please sign in to comment.