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
80 stars 31 forks source link

Error message: NoneType object has no attribute genet #142

Open MelanieOrr23 opened 3 months ago

MelanieOrr23 commented 3 months ago

Hi, I am comparing coral colony size across time and have made 100s of measurements across 4 orthomeshes of the same coral patch. I have been able to match all the colonies between 2018, 2019, and 2020 orthomeshes. However once I introduced the 2021 mesh, Taglab has been crashing every time i tried to match colonies between 2020 and 2021. I had to match the colonies between 2019 and 2021 and taglab seemed to work fine with that. However, I measured two completely new colonies in 2020 and 2021 to match them again and see if it would worked but taglab crashed and now I am unable to open the project at all. I have not had the chance to export any measurements and this is two days of work. How can I salvage this? Thanks for your help! TagLab_crash-msg

MelanieOrr23 commented 3 months ago

C:\Users\TRA154\Documents\TagLab-main>tagLab.py TagLab 2023.5.17 INFO:tool-logger:[INFO] Initizialization begins.. INFO:tool-logger:[INFO] Inizialization finished! INFO:tool-logger:[TOOL][MOVE] Tool activated Traceback (most recent call last): File "C:\Users\TRA154\Documents\TagLab-main\source\QtImageViewer.py", line 235, in center xmap = float(self.img_map.width()) * x AttributeError: 'NoneType' object has no attribute 'width'

MelanieOrr23 commented 3 months ago

Could someone please help me with this issue? I would really like to know if I can salvage my work. I am sorry for the tag but I am not sure who to contact. @maxcorsini? @alemuntoni? @cappelletto ? thank you for your time and help!

maxcorsini commented 3 months ago

Sorry for the delay in answering. Since the previous years work it is unclear what generates the error. Send me an email with your data to check.

MelanieOrr23 commented 3 months ago

Hi Massimiliano,

Thank you for your email. I have attached the TagLab file that produces an error. I am unsure what happened, it suddenly stopped working and there is no way to recover a previous version.

Do I also need to attach the mesh images?

Cheers, Melanie

maxcorsini commented 3 months ago

You cannot attach file to Github discussions. Send me a WeTransfer (or share in some way) your project with the orthoimages,so that we can check. If you cannot share the data for some reasons share only the things that produce the error or the project file only.

All the best

MelanieOrr23 commented 3 months ago

How can I share my folder? or do a wetransfer?

MelanieOrr23 commented 3 months ago

69760_Measurements.json

MelanieOrr23 commented 3 months ago

@maxcorsini did it work sending the .json file?

cappelletto commented 2 months ago

@MelanieOrr23 did you manage to fix/circumvent the issue? I remember facing a similar issue when some of the input images where misplaced or corrupt I could try to replicate it