Skip to content
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

Multiple model outputs #61

Open
remicres opened this issue May 2, 2021 · 0 comments
Open

Multiple model outputs #61

remicres opened this issue May 2, 2021 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@remicres
Copy link
Owner

remicres commented May 2, 2021

Currently, model outputs of same size are handled in inference.

Outputs parameters

A nice enhancement could be to add a parameter group for models outputs, and use the same strategy as the input sources.
For instance, an environment variable called OTB_TF_NOUTPUTS could set the number of model outputs.

Each output would have:

  • a name (output1.names would replace outputs.names)
  • an expression field (output1.efieldx/y would replace outputs.efieldx/y)
  • a scale factor (output1.spcscale would replace outputs.spcscale)

Outputs writing

We should use the new otb::MultiImageFileWriter.

See here how they implemented that in the Orfeo ToolBox!

API Change

Breaks main API so milestone is OTBTF 3.0

@remicres remicres added the enhancement New feature or request label May 2, 2021
@remicres remicres added this to the OTBTF 3.0 milestone May 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant