Steffenhir / GraXpert

GraXpert is an astronomical image processing program for extracting and removing gradients from the background of your astrophotos.
https://www.graxpert.com/
GNU General Public License v3.0
167 stars 22 forks source link

Denoise Image Error - #162

Closed SanitariuszM closed 5 months ago

SanitariuszM commented 5 months ago

Receiving that info:

An error occured during denoising. Please see the log at /Users/maciejsikora/Library/Logs/GraXpert/graxpert.log.

In log 2024-06-02 17:32:03,738 MainProcess root INFO Starting denoising 2024-06-02 17:32:03,850 MainProcess root INFO Available inference providers : ['CPUExecutionProvider'] 2024-06-02 17:32:03,850 MainProcess root INFO Used inference providers : ['CPUExecutionProvider'] 2024-06-02 17:32:03,851 MainProcess root ERROR [ONNXRuntimeError] : 2 : INVALID_ARGUMENT : Got invalid dimensions for input: gen_input_image for the following indices index: 3 Got: 4 Expected: 3 Please fix either the inputs or the model. Traceback (most recent call last): File "graxpert/application/app.py", line 350, in on_denoise_request File "graxpert/denoising.py", line 118, in denoise File "onnxruntime/capi/onnxruntime_inference_collection.py", line 220, in run onnxruntime.capi.onnxruntime_pybind11_state.InvalidArgument: [ONNXRuntimeError] : 2 : INVALID_ARGUMENT : Got invalid dimensions for input: gen_input_image for the following indices index: 3 Got: 4 Expected: 3 Please fix either the inputs or the model. 2024-06-02 17:32:30,819 MainProcess root INFO Starting denoising 2024-06-02 17:32:30,931 MainProcess root INFO Available inference providers : ['CPUExecutionProvider'] 2024-06-02 17:32:30,931 MainProcess root INFO Used inference providers : ['CPUExecutionProvider'] 2024-06-02 17:32:30,935 MainProcess root ERROR [ONNXRuntimeError] : 2 : INVALID_ARGUMENT : Got invalid dimensions for input: gen_input_image for the following indices index: 3 Got: 4 Expected: 3 Please fix either the inputs or the model. Traceback (most recent call last): File "graxpert/application/app.py", line 350, in on_denoise_request File "graxpert/denoising.py", line 118, in denoise File "onnxruntime/capi/onnxruntime_inference_collection.py", line 220, in run onnxruntime.capi.onnxruntime_pybind11_state.InvalidArgument: [ONNXRuntimeError] : 2 : INVALID_ARGUMENT : Got invalid dimensions for input: gen_input_image for the following indices index: 3 Got: 4 Expected: 3 Please fix either the inputs or the model.

Im using 3.0.2 on Apple M3 MacBook. Any suggestion?