fiji / Trainable_Segmentation

Fiji library to perform image segmentation based on the Weka learning schemes
https://imagej.net/Trainable_Weka_Segmentation
GNU General Public License v3.0
106 stars 60 forks source link

Trainable weka script hangs (stack dump shows waiting threads) #76

Open lorinczszabolcs opened 1 year ago

lorinczszabolcs commented 1 year ago

Hi!

I have been trying to load a trained model (trained via the GUI) and segment some new images using a python script adopted from the beanshell script from the official site, but the process just hangs after a while, as visible in the CPU usage in task manager. I have enough RAM memory (32GB DDR4) and the processor is also fairly ok (Intel i5-6500 CPU @ 3.20GHz with 4 cores), but I also tried the tiled version and it doesn’t work either.

Funny part is that the same script with the same model on the same data and same FIJI works on my laptop (16GB RAM, Intel i7-11800H 8 cores), but since I need to process lots of images, I would not want to use my laptop to process such amount of data due to extreme overheating over a longer period of time. I was only able to test the tiled version on the laptop, due to 16 GB RAM not being enough for the full stacks.

I also tried the official beanshell script that was shared on the site, but not much luck there either. Is there any specific CPU requirement because of which the processes hang?

See attached the stack dump and the logged info. Log.txt stack_dump.txt