Troubleshooting
ry effort has been made to make sure the installation and configuration works across devices (Mac and Windows OS), however, there will always be some unforeseen bugs.
Make sure you follow the installation and configuration first.
Tips:
Updating GAT may help fix errors.
Please try the analysis on the sample images provided here to ensure you have installed GAT properly.
To check system requirements, go to this page on the left.
Common issues we've come across
Tensorflow errors
If the images are not being segmented and you get the following or a similar output in the Console
:
[WARNING] The JVM seems to have crashed when loading the TensorFlow JAR library: file:/Applications/Fiji.app/jars/libtensorflow-1.15.0.jar
[WARNING] Please run Edit > Options > TensorFlow and choose another version or delete the crash file to load the JAR library again.
[ERROR] Could not load TensorFlow. Check previous errors and warnings for details.
[WARNING] CSBDeep canceled.
you may need to change the Tensorflow version on your Fiji installation.
Follow the instructions at the CSBDeep website and try a different Tensorflow version. Make sure it has CPU on the name.
To use Tensorflow GPU you need an NVIDIA graphics card and need to install CUDA 10.1 and cuDNN>=7.5.1.
Apple Mac: M1 processor tensorflow problem
There is a known issue using GAT on Mac OS with Apple M1 chips. There are tensorflow compatbility issues when running GAT models in Fiji StarDist. Unfortunately, we do not have a fix for this. It works fine on a Mac OS with Intel chips as far as we know.
Out of memory errors
When running StarDist on really large images or if your computer has low RAM, it is possible that you may run out of memory. You can check your Task Manager in Windows or Activity monitor in Mac.
For example, you may get an error printed on your console window:
Specifically you may see: java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space
This means you ran out of memory. If you keep getting this error and if GAT says no cells found even though there are, then you may have to either:
use a computer with more RAM (32 GB or higher, depends on image size)
use QuPath for analysis as it is more memory efficient. You could export the ROIs and use it within FIJI as well.
CLIJ errors
CLIJ is a powerful and user-friendly GPU-accelerated image processing library. GAT uses CLIJ under the hood to speed up things and future development will use GAT extensively. If you get errors related to CLIJ, please have a look at this webpage. Make sure you update your GPU drivers as well.
Miscellaneous Errors
Filepath or filename related issues
If your file path contains commas or hyphens, Fiji/GAT can run into errors. This can be a sneaky one and harder to troubleshoot.
For example,
E:\C\C090
-
Gene knockout day 23
,
test
-
1\Processed Images
This will cause errors during analysis and potentially stop mid way. The errors won't give you any indication that this is the issue either, which complicates it. However, it is good convention to shorten your filename, remove hyphens,commas, and use underscores instead of space. This filename could instead be
E:\C\C090_gene_KO_day23_test1\processed_images
I would recommend reading this helpful resource for better ideas on how to create filenames.
Installation issue:
Manually enter an update site
If you want to manually enter an update site after you've selected Help -> Update. Click on “Add Unlisted site”
A new row will appear with empty boxes under URL column.
You have to enter the "Name" first. So, double click on "New".
After entering the name, double click on the corresponding URL box and enter the name of the update site. Make sure there is no forward slash '/' at the end of the URL.
If its for the calcium imaging analysis, enter: https://sites.imagej.net/Template_Matching
If its for GAT, enter: https://sites.imagej.net/GutAnalysisToolbox
Click outside the URL box or press enter and if everything is well, you will get a box like this:
Model files installation error
The model files will automatically be installed from the update site. Please update ImageJ by going to Help
-> Update ImageJ
. Once updated, restart Fiji. If you already installed GAT, untick GAT update site and try the GAT installation process again.
The models for neuron and ganglia segmentation are within
Fiji.app/models
folder. They contains models for:Enteric neuron model: 2D_enteric_neuron_v4_1.zip
Enteric neuron subtype model: 2D_enteric_neuron_subtype_v4_1.zip
Ganglia model: 2D_Ganglia_RGB_v2
The ganglia model was updated to be compatible with deepImageJ 3
The download may take a while as the model files are large.
Ganglia segmentation issues
deepImageJ option leading to incorrect predictions
With the most recent deepImageJ update (as of Dec 2024), the ganglia predictions are not accurate due to changes with the deepImageJ plugin. For example, when running the model prediction on a test ganglia image, we get this output with the RGBv2 model:
We recommend using the older version of deepImageJ (v 3.0.3) until things are fixed. If you have already updated deepImageJ:
Extract the contents and read the
001_README.txt
file for instructions.
Summary of the instructions:
You can follow the progress of the deepImageJ fix here, if you'd like more details.
Support
If you have any difficulties which are not resolved above, suggestions, or find any bugs, you can use any of the following means of getting in touch:
Go to the Feedback page on the left pane for submitting issues or questions.
OR
Create a post under Issues
OR
Post the problem on the Imagesc forum and tag @pr4deepr, @GAT
Last updated