You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes user want to try out the AI inference features. The upload a tiny datasets and launch this feature or use a really small bounding box. In some cases this BB is too small to run an AI segmentation and the WK worker will crash. We should prevent users from triggering these jobs.
Expected Behavior
WK should enforce a minimum BB in the UI and prevent users from launching a worker run destined to fail. AFAIR, we already enforce a maximum limit for AI jobs.
Current Behavior
The worker crashes with with an Assertion Error:
AssertionError: Your dataset size in the prediction mag ([ 1 89 250]) is so small that no valid prediction output shape can be found (minimum is (2, 50, 128)).
Context
Sometimes user want to try out the AI inference features. The upload a tiny datasets and launch this feature or use a really small bounding box. In some cases this BB is too small to run an AI segmentation and the WK worker will crash. We should prevent users from triggering these jobs.
Expected Behavior
WK should enforce a minimum BB in the UI and prevent users from launching a worker run destined to fail. AFAIR, we already enforce a maximum limit for AI jobs.
Current Behavior
The worker crashes with with an Assertion Error:
AssertionError: Your dataset size in the prediction mag ([ 1 89 250]) is so small that no valid prediction output shape can be found (minimum is (2, 50, 128)).
E.g. https://webknossos.org/workflows/e4c9b63f53
Steps to Reproduce the bug
Your Environment for bug
jobsEnabled=true
inapplication.conf
)isDemoInstance=true
inapplication.conf
)The text was updated successfully, but these errors were encountered: