webknossos icon indicating copy to clipboard operation
webknossos copied to clipboard

Allow to deep merge custom config with default one for model training and inference

Open daniel-wer opened this issue 1 month ago • 0 comments

Detailed Description

During AI inference and training, there is an advanced mode which allows to specify a custom workflow config. This is useful if one wants to run a totally different workflow than the default one. However, quite often only one or two small changes are needed and having to specify the full config to accomplish that is cumbersome. Therefore, as an alternative it should be possible to specify just a partial config that will be deep-merged with the default one, allowing to add or overwrite specific keys.

For example:

segment:
  config:
    segmenter:
      absolute_affinity_threshold: -2

to segment using an affinity threshold.

daniel-wer avatar Oct 29 '25 13:10 daniel-wer