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

GUI crashes when trying to annotate #107

Open
zhoutunhe opened this issue Oct 2, 2020 · 3 comments
Open

GUI crashes when trying to annotate #107

zhoutunhe opened this issue Oct 2, 2020 · 3 comments

Comments

@zhoutunhe
Copy link

Hi,
I'm following instruction in this video: https://www.jove.com/v/56162/volume-segmentation-analysis-biological-materials-using-survos-super

Everytime when I was at annotation step, SuRVos crashes when I clicked the pen button, the errror message is here:

create_supervoxels

  • Loading data into memory
  • Computing supervoxels
    [GPU] Reusing device (0) with 1024 threads
    .+ 193 supervoxels created
  • Writing supervoxels to disk (10, 200, 100)
  • Generating lookup table
  • Remaping indexes to ROI
  • Writing lookup table to disk (200000,) (193,)
  • Generating supervoxel graph
  • Extracted (551, 2) unique edges
  • Ready
    Traceback (most recent call last):
    File "C:\Users\Tunhe\Anaconda3\envs\survos-env\lib\site-packages\survos\widgets\slice_viewer.py", line 61, in gt
    if self._active == 'GT':
    AttributeError: 'NavigationToolbar' object has no attribute '_active'

I'm on windows 10, with SurVos installed from Annaconda following the installation instruction here https://diamondlightsource.github.io/SuRVoS/docs/installation/

Thank you very much for help in advance!

Cheers
Tun

@markbasham
Copy link
Contributor

Hi Tun,

Sorry about this, I don't know of a fix for this issue, and @OllyK who normally takes a look at this kind of thing is on leave at the moment. I will try to replicate the problem and get back to you.

@OllyK
Copy link
Contributor

OllyK commented Oct 12, 2020

Hi again @zhoutunhe

If youhave access to the SuRVoS installation, as a temporary fix can you downgrade matplotlib by using conda install matplotlib-base==3.2.2 in the conda environment that you created for SuRVoS. It appears that something in matplotlib 3.3.2 is breaking things.
I'll look into a more permanent fix.

Olly

@zhoutunhe
Copy link
Author

zhoutunhe commented Oct 22, 2020

Hi again @zhoutunhe

If youhave access to the SuRVoS installation, as a temporary fix can you downgrade matplotlib by using conda install matplotlib-base==3.2.2 in the conda environment that you created for SuRVoS. It appears that something in matplotlib 3.3.2 is breaking things.
I'll look into a more permanent fix.

Olly

Thank you very much! It works now with your suggestion.

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

No branches or pull requests

3 participants