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

Segment multiple frames in GUI causes critical worker error #354

Closed
Teranis opened this issue Jun 20, 2023 · 0 comments · Fixed by #356
Closed

Segment multiple frames in GUI causes critical worker error #354

Teranis opened this issue Jun 20, 2023 · 0 comments · Fixed by #356
Labels
🐛 Bug Something isn't working

Comments

@Teranis
Copy link
Collaborator

Teranis commented Jun 20, 2023

Description:

Trying to segment multiple frames in GUI using YeaZ causes a critical worker error. Prob has something to do with the fact that it expects a single slice and not 28 slices like in my case.

Way to reproduce:

Segment multiple frames in GUI using YeaZ

(Optional) Link to data to reproduce error:

No response

Terminal output:

Traceback (most recent call last):
  File "C:\Users\SchmollerLab\Cell_ACDC\cellacdc\__init__.py", line 267, in inner_function
    result = func(self, *args)
  File "C:\Users\SchmollerLab\Cell_ACDC\cellacdc\gui.py", line 12721, in workerCritical
    raise error
  File "C:\Users\SchmollerLab\Cell_ACDC\cellacdc\workers.py", line 38, in run
    func(self)
  File "C:\Users\SchmollerLab\Cell_ACDC\cellacdc\workers.py", line 555, in run
    self.posData.segm_data[frame_i] = lab
ValueError: could not broadcast input array from shape (28,892,800) into shape (892,800)

Version information:

3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:36:42) [MSC v.1929 64 bit (AMD64)]
Windows-10-10.0.19045-SP0
Initalising...
Cell-ACDC version: 1.3.1rc3.dev67+gb1d4856
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant