GraXpert script 1.1.3 issue

I’m using Siril 1.4.0-beta3 commit 7d0a3c0 and when trying to use GraXpert AI script, I realize that the dialog was different and version now is 1.1.3
None of the available operation works. When pressing ‘Apply’ I can only see this message on screen:

Would process single image with XXXXXXX operation

And nothing is displayed on the console view.
I’ve tried to uninstall, install it again, but the same.

Running the following command from console:

pyscript GraXpert-AI.py -denoise -model=“3.0.2” -batch=4 -gpu -smoothing=0.5 -correction=“subtration”

displays the following output:

17:02:40: Running command: pyscript
17:02:42: opencv-python is installed
17:02:42: Detected ONNX Runtime with providers: [‘OpenVINOExecutionProvider’, ‘CPUExecutionProvider’]
17:02:42: ONNX Runtime is already installed: onnxruntime-intel
17:02:42: e[33mWARNING: onnxruntime-openvino is not built with CUDA 12.x support. Please install a version that supports CUDA 12.x, or call preload_dlls with cuda=False and cudnn=False.e[0m
17:02:42: CLI mode - would handle command line arguments here

Looking at the script, this is an excerpt of the code:

def process_single_image(self, operation, batch_size, gpu_acceleration):
“”“Process a single image”“”
self.progress_label.setText(“Processing image…”)

    # This would be implemented with the actual processing classes
    # For now, just show a message
    QMessageBox.information(self, "Processing", 
                          f"Would process single image with {operation} operation")
    self.progress_label.setText("Processing complete")

So, looks like it’s doing nothing.
Previous script worked fine. Is there any repository where I can download old scipts?
Or would somebody share an older script?

Thks in advance

You are trying to run a script from a test branch that is for development only.

The last version is 1.1.2

You mean Siril 1.4.0 Beta 3?
I have this same version on another computer -that I don’t have access right now- and the GraXpert script is not the 1.1.3 and works fine.

If I uninstall this script and install it again, I always get the 1.1.3 version. That’s why I asked how to get the previous 1.1.2.

For a reason I don’t know you are downloading scripts where you shouldn’t.
I don’t know how you got the script, but that’s not good at all.

I’m not downloading scripts from anywhere out of Siril.
I’m just using the Get Scripts option from the burger menu.

I have the online repository activated and automatic updates checked. That could cause the script to update to the ‘new’ version.
I’ve unchecked the GraXpert script, hit Apply, then manually remove the script from disk. Then select again the scrip and after applying, the script is back and again is the 1.1.3!!!

This is the script header content:

"""
GraXpert AI Model Interface script
==================================
This script provides a direct interface between Siril and the GraXpert
AI ONNX models.
The script offers a GUI as well as a pyscript-compatible CLI interface
(see `pyscript GraXpert.py --help` for CLI details)
Single image and sequence processing is supported.

As this script offers tighter integration of the dependencies as well
as better performance it is intended to become the primary interface
to GraXpert in the future: if you experience issues with the legacy
GraXpert interface it is recommended to try this script instead.

(c) Adrian Knagg-Baugh 2025
SPDX-License-Identifier: GPL-3.0-or-later

Model inference methods adapt code from GraXpert for Siril data formats
=======================================================================
GraXpert website: https://graxpert.com
GraXpert is (c) the GraXpert Development Team
GraXpert code licensed as GPL-3.0-or-later
Models licensed as CC-BY-NC-SA-4.0
"""

# Version History
# 1.0.0  Initial release
# 1.0.1  Bug fix in handling mono images in BGE; improved fallback behaviour
#        for inferencing runtime errors (try again with CPU backend)
# 1.0.2  Interim fix for MacOS to prevent issues with the CREATE_ML_PROGRAM
#        flag; make the defaults match GraXpert (except smoothing: the
#        default GraXpert smoothing value of 0.0 seems too low so this is
#        set at 0.5)
# 1.0.3  Fix an error with use of the onnx_helper
# 1.0.4  Fix GPU checkbox on MacOS
# 1.0.5  Fallback to CPU is more robust
# 1.0.6  Fix a bug relating to printing the used inference providers
# 1.0.7  More bugfixes
# 1.0.8  Fix interpretation of a TkBool variable as an integer
# 1.0.9  Remove -batch option from -bge -h: this option is not relevant to BG
#        extraction
# 1.0.10 CR: Change operation order
# 1.0.11 Increase timeout on GraXpert version check (required if run offline
#        apparently) and move check to ModelManager __init__ so that there is
#        no delay at startup
# 1.1.0  For beta3+: use ONNXHelper.run(), remove special macOS handling
#        Use CPU ExecutionProvider for BG extraction as this process is not
#        computationally demanding and it causes errors with some EPs
# 1.1.1  Better error messaging if the GraXpert executable isn't set or is
#        invalid
# 1.1.2  Update version string and add DLL preloading, which may improve
#        situations where system NVIDIA libraries can't be found
# 1.1.3  CR: Using PyQt6 instead of tkinter

So 1.1.2 is no longer available or I cannot reach it

Managed to download the 1.1.2 from Gitlab repository and now it’s back to normal.
BUT it’s replaced as soon as Siril starts or if manually updated button is pressed!!!

You should remove your siril-scripts folder. And restart Siril.

1 Like

Yeap, that did the trick.
Somehow, was pointing to another repository and always download the 1.1.3
In fact, now that I can compare, in my previous folder also CosmicClarity_Sharpen has a new version 1.0.7 and ER-Bill_Star_Reduction.py is missing

Now it’s downloading the expected 1.1.2

Thks