-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow supplying custom workflow yaml for infer_with_model job (#7902)
* WIP: Allow supplying full workflow yaml for infer_with_model job * fix request logging rounding error * show workflow yaml editor (collapsed by default) when configuring inference for custom models * remove new_segmentation_layer_name param * Add default workflow to custom model inference * only use custom workflow if advanced collapse is enabled & make enabling more explicit via using a checkbox * remove option to specify output segmentation layer name * reset application.conf * rename job param * rename workflow template file and rename its imported var to full caps --------- Co-authored-by: Philipp Otto <philipp.4096@gmail.com> Co-authored-by: Michael Büßemeyer <michael.buessemeyer@student.hpi.de>
- Loading branch information
1 parent
ab290ec
commit 24e1e00
Showing
9 changed files
with
102 additions
and
174 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
frontend/javascripts/oxalis/view/action-bar/default-predict-workflow-template.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
export default `predict: | ||
task: PredictTask | ||
distribution: | ||
default: | ||
processes: 2 | ||
inputs: | ||
model: TO_BE_SET_BY_WORKER | ||
config: | ||
name: predict | ||
datasource_config: TO_BE_SET_BY_WORKER | ||
# your additional config keys here | ||
# your additional tasks here | ||
publish_dataset_meshes: | ||
task: PublishDatasetTask | ||
inputs: | ||
dataset: # your dataset here | ||
config: | ||
name: TO_BE_SET_BY_WORKER | ||
public_directory: TO_BE_SET_BY_WORKER | ||
webknossos_organization: TO_BE_SET_BY_WORKER | ||
use_symlinks: False | ||
move_dataset_symlink_artifact: True`; |
Oops, something went wrong.