cnr-isti-vclab / TagLab

A CNN based image segmentation tool oriented to marine data analysis
https://taglab.isti.cnr.it/
GNU General Public License v3.0
74 stars 30 forks source link

Crash followed by not starting up #87

Open ReefRenewalBonaire opened 1 year ago

ReefRenewalBonaire commented 1 year ago

Hi all,

I have the following problem regarding TagLab. While I was working on a photomosaic map, TagLab froze and subsequently crashed. After trying to restart the software, the python command field would show the usual "TagLab 2023.1.23 but then the following lines of code appear followed by the window closing and the TagLab not starting.

Error code

This happened on two separate devices both with the crash being the (presumed) initial cause. Is there a way to stop the software from tracing back. Reinstalling everything revolving around TagLab has been tried multiple times.

Thanks in advance!

maxcorsini commented 1 year ago

Hi,

this is a strange error because it seems caused by the default dictionary. Can you send us the file scripps.json under the folder dictionaries to check it ?

ReefRenewalBonaire commented 1 year ago

Hi Max,

Thank you a lot for reaching out! Yes will do!

scripps.docx

ReefRenewalBonaire commented 1 year ago

Hi Max,

Any idea how to fix it?

Kind regards,

Marnik

maxcorsini commented 1 year ago

Hi,

I have done some tests but your default dictionary is ok. So, it is unclear what happen during the initialization phase of TagLab.

If you send me (using a wetransfer or similar) your folder I can try to take a deeper look.

You are welcome.

ReefRenewalBonaire commented 1 year ago

Alright, will do! Thanks for the help! Here are the files! [https://we.tl/t-RbD0GvyvOm]

This info might help too. I made my own label list and was working with that before it crashed.

maxcorsini commented 1 year ago

Your version runs fine. Please, tell us your Python version, the version of CUDA, and which operating system you are using. Additionally, how you run TagLab ? (from command line, from an IDE?)

ReefRenewalBonaire commented 1 year ago

Python 3.9 CUDA 11.6.0_511.23 Windows 11

I run TagLab from the command line in Python

Hope this helps

ReefRenewalBonaire commented 1 year ago

I mean run TagLab from Windows PowerShell using command line

maxcorsini commented 1 year ago

I have run your version from Windows Powershell and it runs fine. It is difficult to help you if I cannot reproduce the error. Try to remove all and reinstall all.

ReefRenewalBonaire commented 1 year ago

Okay will try that! Thanks for the help!!

Jordan-Pierce commented 1 month ago

Posting here for posterity:

I did see that if a user has their default dictionary set, and then it gets deleted, then TagLab gets locked. What's happening is even though there is a string representing the default dictionary (scripps), if a user had previously used a different dictionary, it will also be looked for, and if it doesn't exist, the original default dictionary (scripps) is never actually used.

Need to check if the users dictionary still exists, and if not, open up the original default dictionary (scripps). If that doesn't exists... then they would need to download it again.