intel / openvino-ai-plugins-gimp

GIMP AI plugins with OpenVINO Backend
Apache License 2.0
470 stars 50 forks source link

OpenVINO not showing up in GIMP #117

Closed coolrecep closed 4 months ago

coolrecep commented 4 months ago

Did all the req steps in the guide but OpenVINO is not showing up.

https://github.com/intel/openvino-ai-plugins-gimp/blob/main/Docs/user_guide_for_windows_users.md

GIMP 2.10.38 NPU driver: 11.04.2024

Pyhton 3.9.13 Pyhton 3.10.6 Pyhton 3.12.3

gblong1 commented 4 months ago

Hi @coolrecep - you need to use gimp 2.99.14 (at least until gimp 3.0 is released). GIMP 2.10.xx versions are not supported.

coolrecep commented 4 months ago

Thank you. Now that I have the dev version and the Plugin is showing up but selecting Stable diffusion does nothing.

`File "C:\Users\Public\GIMP\openvino-ai-plugins-gimp\gimpopenvino\plugins\stable-diffusion-ov\stable-diffusion-ov.py", line 436, in run with open(os.path.join(config_path, "gimp_openvino_config.json"), "r") as file: FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\Public\GIMP\openvino-ai-plugins-gimp\gimpopenvino\plugins\stable-diffusion-ov\..\..\tools\gimp_openvino_config.json'

(stable-diffusion-ov.py:13412): LibGimp-WARNING **: 12:07:12.696: gimp_procedure_run: no return values, shouldn't happen C:\Users\Public\GIMP\openvino-ai-plugins-gimp\gimpopenvino\plugins\stable-diffusion-ov\stable-diffusion-ov.py:1166: Warning: g_error_new: assertion 'domain != 0' failed Gimp.main(StableDiffusion.gtype, sys.argv) gimp_plug_in_destroy_proxies: ERROR: GimpImage proxy with ID 1 was refed by plug-in, it MUST NOT do that! gimp_plug_in_destroy_proxies: ERROR: GimpLayer proxy with ID 2 was refed by plug-in, it MUST NOT do that!`

gblong1 commented 4 months ago

What is your plugin path that you put into GIMP? it should be something like: 'C:\Users\Public\GIMP\gimpenv3\Lib\site-packages\gimpopenvino\plugins

but i think you probably have: 'C:\Users\Public\GIMP\openvino-ai-plugins-gimp\gimpopenvino\plugins

Can you please double check it?

coolrecep commented 4 months ago

Yes, mine is: C:\Users\Public\GIMP\openvino-ai-plugins-gimp\gimpopenvino\plugins

gblong1 commented 4 months ago

Please change it to C:\Users\Public\GIMP\gimpenv3\Lib\site-packages\gimpopenvino\plugins

gblong1 commented 4 months ago

Hi @coolrecep - did changing the plugin path solve your issue?

coolrecep commented 4 months ago

Sadly I had to give up (was running out of time) and told that it should be integrated right into the software in my review.