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

Crashes when using any tool #104

Open such-chris opened 1 year ago

such-chris commented 1 year ago

I am having a problem with TagLab crashing when using any of the segmentation tools. I can outline, or use the positive/negative click without issue, but as soon as you "commit" to your segmentation the program loads for a bit, then closes without a dialog. The 4-clicks segmentation tool loads and crashes upon the placement of the 4th click.

This is happening on 2 separate Windows 11 machines. Both with CUDA 11.6 and has happened with both Python 3.8 and 3.9.

Below is the output from command prompt when TagLab crashes.

C:\Users\User\Desktop\TagLab-main>python.exe TagLab.py TagLab 2023.3.16 C:\Users\User\AppData\Local\Programs\Python\Python38\lib\site-packages\rasterio__init.py:228: NotGeoreferencedWarning: Dataset has no geotransform, gcps, or rpcs. The identity matrix be returned. s = DatasetReader(path, driver=driver, sharing=sharing, **kwargs) Constructing ResNet model... Dilations: (2, 4) Number of classes: 1 Number of Input Channels: 4 Initializing classifier: PSP C:\Users\User\Desktop\TagLab-main\source\tools\DeepExtreme.py:140: RuntimeWarning: overflow encountered in exp pred = 1 / (1 + np.exp(-pred)) Traceback (most recent call last): File "C:\Users\User\Desktop\TagLab-main\source\QtTablePanel.py", line 216, in addBlob self.data = self.data.append(new_row, ignore_index=True) File "C:\Users\User\AppData\Local\Programs\Python\Python38\lib\site-packages\pandas\core\generic.py", line 5989, in getattr return object.getattribute__(self, name) AttributeError: 'DataFrame' object has no attribute 'append'

maxcorsini commented 1 year ago

Hi Chris,

this problem is caused by new version of pandas. We are going to do a release to account specifically for this problem.

Best,

maxcorsini commented 1 year ago

Dear Chris,

We have done a release to fix the problems you mentioned. So please, let us know if all is ok.

Thank you

such-chris commented 1 year ago

The update works great, thanks so much for all your effort!

Aloha, Chris