Software - Xterminator |
XTerminator Tensorflow Issues |
updated: 2025-03-02 |
If you get error messages like this one:
*** Error: ERROR: MLLoad() could not load tensorflow graph.
Error 3: Converting GraphDef to Graph has failed.
then do the following (see: BlurXTerminator 2.0/AI4 error in PixInsight: MLLoad() could not load tensorflow graph – RC Astro (rc-astro.com):
This error indicates that the tensorflow.dll file in PixInsight’s installation on your computer is out of date. There are two solutions:
- Update or re-install PixInsight, which includes a recent version of the tensorflow.dll file in its distribution.
- Download version 2.10 of the file directly:
- If you are using GPU acceleration, use the link provided in these instructions.
- Download and install the GPU-enabled TensorFlow library
- The TensorFlow project maintains different versions of a software library called tensorflow.dll. It is this library that BlurXTerminator and other neural network based tools use to perform computations. The GPU-enabled version of the tensorflow.dll library in turn depends on the CUDA and cuDNN libraries installed above.
- The version of tensorflow.dll that is installed with PixInsight supports CPU operations only. A version that supports GPU acceleration can be downloaded from this TensorFlow link. This currently links to version 2.10 of the TensorFlow library. Other versions may be available from the TensorFlow project page.
- Look for the entry labeled “Windows GPU only” and download that ZIP archive.
- Decompress it and look in the lib folder within to locate the tensorflow.dll file.
- Locate PixInsight’s bin folder on your hard drive, usually C:\Program Files\PixInsight\bin
- Rename the tensorflow.dll file found there to something like tensorflow_cpu.dll. This is the CPU-only version of the TensorFlow library distributed with PixInsight. Renaming rather than replacing it allows you to easily revert to it if something goes wrong.
- Move the new tensorflow.dll file that was downloaded into PixInsight’s bin folder.
- If you are not using GPU acceleration, download the file from the TensorFlow project using this link.
- Unzip the download, find the tensorflow.dll file within, and place this in PixInsight’s bin directory (C:\Program Files\PixInsight\bin), overwriting the outdated version that is there.
TensorFlow Version Issue
Look for the originally in PixInsight included tensorflow.dll with around 145kB (may be renamed to tensorflow_CPU.dll).
In this case rename the
tensorflow.dll to tensorflow_GPU.dll
and the
tensorflow_CPU.dll to tensorflow.dll
in order to work together with StarNet V2.
See also: GPU acceleration for AI-powered tools – RC Astro
Created with the Personal Edition of HelpNDoc: Modernize your help files with HelpNDoc's WinHelp HLP to CHM conversion tool