-
Notifications
You must be signed in to change notification settings - Fork 29
Allow to specify mask during inference when using a custom workflow #8312
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
Conversation
📝 WalkthroughWalkthroughThe pull request introduces a comprehensive restructuring of the configuration in the Changes
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
🧹 Nitpick comments (1)
frontend/javascripts/oxalis/view/action-bar/default-predict-workflow-template.ts (1)
33-33
: LGTM! Consider documenting the datastore_url fieldThe addition of datastore_url is well-placed and follows the template's pattern. However, since this is a template that users will need to configure, consider adding a comment explaining the expected format and purpose of the datastore_url.
+ # URL of the datastore where the dataset will be published datastore_url: TO_BE_SET_BY_WORKER
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
frontend/javascripts/oxalis/view/action-bar/default-predict-workflow-template.ts
(2 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (1)
- GitHub Check: circleci_build
frontend/javascripts/oxalis/view/action-bar/default-predict-workflow-template.ts
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
CHANGELOG.unreleased.md (1)
47-47
: Enhance the changelog entry with more specific details.While the entry correctly references the PR, it could be more informative for users by explicitly mentioning the added capability to specify masks during inference. Consider expanding it to:
-Fixed the template for neuron inferral using a custom workflow. [#8312](https://github.com/scalableminds/webknossos/pull/8312) +Fixed the template for neuron inferral using a custom workflow to support mask specification during inference. [#8312](https://github.com/scalableminds/webknossos/pull/8312)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
CHANGELOG.unreleased.md
(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (1)
- GitHub Check: circleci_build
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, i did an inference run with a mask on my local webknossos and it worked, lgtm 👍
Only thing i was a bit confused about was dataset: # your dataset here
in the template, shouldn't that always be dataset: predict:prediction
on default?
Thank you!
The assumption is that most users would add their own tasks in between the predict and publish, for example to perform a segmentation with custom parameters or so. That's why this field is left to be filled out by the user :) |
See https://github.com/scalableminds/voxelytics/pull/3872 for context. (Needs to be deployed together)
Also the template was currently incomplete due to https://github.com/scalableminds/voxelytics/pull/3800 which I fixed by adding the
datastore_url
to the template (/cc @MatthisCl).URL of deployed dev instance (used for testing):
Steps to test:
use-mask-from-annotation
) by adding a mask config to the template (under thedatasource_config
key) when doing neuron inferral using a custom workflow (create an annotation with some brush strokes first and copy the annotation link):(Please delete unneeded items, merge only when none are left open)