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

Disable AI models for 2D and ND datasets #7953

Closed
3 tasks
hotzenklotz opened this issue Jul 26, 2024 · 3 comments · Fixed by #7957
Closed
3 tasks

Disable AI models for 2D and ND datasets #7953

hotzenklotz opened this issue Jul 26, 2024 · 3 comments · Fixed by #7957
Assignees

Comments

@hotzenklotz
Copy link
Member

hotzenklotz commented Jul 26, 2024

Context

Our AI models are configured and tuned for 3D EM datasets. It does not work well on 2D datasets (and was never intended for those).

Example segmentation of some 2D dataset: Screenshot 2024-07-26 at 11 16 47

See https://scm.slack.com/archives/CMBMU5684/p1721985399703099?thread_ts=1721318145.073349&cid=CMBMU5684

Expected Behavior

Probably add some validation before launching any of the AI features. 2D and ND datasets should probably be denied from running any AI inference.

Perhaps also include guards against weird datatypes, e.g. uint24. IIRC, the AI inference only works with uint8 (please double-check).

Have a look at the "Create Animation job" modal. That includes validation against 2D and ND datasets.

Current Behavior

The AI job runs on the 2D dataset but the output is not useful. All voxels were merged into one segment per chunk and agglomerated into one single segment.

Steps to Reproduce the bug

  • Cannot reproduce the bug anymore / needs deeper investigation.

See https://scm.slack.com/archives/CMBMU5684/p1721985399703099?thread_ts=1721318145.073349&cid=CMBMU5684

Your Environment for bug

  • Version of WEBKNOSSOS (Release or Commit): Version: 28878 (Server is currently at 28881!)
  • Specific to long-running jobs (set jobsEnabled=true in application.conf)
  • Specific to webknossos.org (set isDemoInstance=true in application.conf)
@hotzenklotz hotzenklotz changed the title Disable AI models for 2D datasets Disable AI models for 2D and ND datasets Jul 26, 2024
@dieknolle3333
Copy link
Contributor

Are there any more features than those that can be accessed via the "AI Analysis" button? Would it work if I simply disable said button with a fitting tooltip or should the button disappear for 2D and ND datasets?
image

@dieknolle3333
Copy link
Contributor

dieknolle3333 commented Jul 29, 2024

note to self: button shouldnt disappear. maybe disable for 2D/ND and throw error on start for weird units

@dieknolle3333
Copy link
Contributor

https://scm.slack.com/archives/C5AKLAV0B/p1722361416801889
latest requirements: disable uint24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants