matjesg / deepflash2

A deep-learning pipeline for segmentation of ambiguous microscopic images.
https://matjesg.github.io/deepflash2/
Apache License 2.0
58 stars 11 forks source link

GUI is not shown #51

Open Fangjunfan123 opened 1 year ago

Fangjunfan123 commented 1 year ago

The GUI was not shown, when run the jupyter notebook cell No.2. Here is my log. 50 ERROR deepflash2.gui list assignment index out of range Traceback (most recent call last): File "C:\Users\fangj.conda\envs\image\lib\site-packages\IPython\core\interactiveshell.py", line 3508, in run_code exec(code_obj, self.user_global_ns, self.user_ns) File "C:\Users\fangj\AppData\Local\Temp\ipykernel_22724\64341330.py", line 5, in t = GUI(path); File "C:\Users\fangj.conda\envs\image\lib\site-packages\deepflash2\gui.py", line 1360, in init self.gt = GTEstUI(hide=True, path=self.proj_path, config=self.config) File "C:\Users\fangj.conda\envs\image\lib\site-packages\deepflash2\gui.py", line 595, in init self.sb_acc.set_title(i, name) File "C:\Users\fangj.conda\envs\image\lib\site-packages\ipywidgets\widgets\widget_selectioncontainer.py", line 69, in set_title titles[index]=title IndexError: list assignment index out of range

Fangjunfan123 commented 1 year ago

It seems Installing ipywidget=7.7.2 can solve the problem.