DeepSkyForge / GraXpert4PixInsight

Support for PixInsight GraXpert plugin.
1 stars 0 forks source link

Denoise ERROR ai_version: provided version neither found locally or remotely; available locally: [1.0.1] #26

Closed james474789 closed 2 months ago

james474789 commented 2 months ago

I am getting the following error when trying to use denoise. Background extraction works as expected, but when I attempt to use denoise with either 1.1.0 or 2.0.0 specified for the ai model I get the following: 2024-05-06 13:44:31,570 MainProcess root ERROR usage: GraXpert Denoising [-h] [-cli] [-cmd {background-extraction,denoising}] 2024-05-06 13:44:31,570 MainProcess root ERROR [-output [OUTPUT]] 2024-05-06 13:44:31,570 MainProcess root ERROR [-preferences_file [PREFERENCES_FILE]] [-v] 2024-05-06 13:44:31,570 MainProcess root ERROR [-ai_version [AI_VERSION]] 2024-05-06 13:44:31,570 MainProcess root ERROR [-strength [DENOISE_STRENGTH]] 2024-05-06 13:44:31,571 MainProcess root ERROR [-batch_size [AI_BATCH_SIZE]] 2024-05-06 13:44:31,571 MainProcess root ERROR filename 2024-05-06 13:44:31,571 MainProcess root ERROR GraXpert Denoising: error: argument -ai_version/--ai_version: provided version neither found locally or remotely; available locally: [1.0.1], available remotely: [1.0.1, 1.0.0]

james474789 commented 2 months ago

Looks like this was resolved by upgrading from graxpert 3.0.0 to 3.0.2

DeepSkyForge commented 2 months ago

Yes there was a confusion in GraXpert 3.0.0 about BGE and Denoise AI versions. That why GraXpert logs mention AI version 1.0.1, 1.0.0 while in fact there is no 1.0.1 AI Denoise model. This has been fixed in GraXpert 3.0.1 pre-release, last official release is 3.0.2.

Don't forget that you have to run GraXpert Application to see and download new AI models (process an image to force doanload). After download you can launch or restart PixInsight to get the new version as default in dropdown list.