intel / openvino-ai-plugins-gimp

GIMP AI plugins with OpenVINO Backend
Apache License 2.0
447 stars 49 forks source link

[Ubuntu 22.04] openvino plugin cannot be show up in the Layer Menu - Skipping unknown file #54

Closed andyyeh75 closed 10 months ago

andyyeh75 commented 10 months ago

Hi team,

Thanks for providing this GitHub!

I tried to install this plugin under Ubuntu 22.04, but the openvino plugin cannot be show up in the Layer Menu. I am sure the file is in the path. Full log attached. Kindly help. Thanks.

NIT: gimp_real_restore Skipping unknown file '/home/u/openvino-ai-plugins-gimp/gimpenv3/pyvenv.cfg' in plug-in directory. Parsing '/home/u/.var/app/org.gimp.GIMP/config/GIMP/2.99/pluginrc' Querying plug-in: '/app/lib/gimp/2.99/plug-ins/file-rawtherapee/file-rawtherapee' Querying plug-in: '/app/lib/gimp/2.99/plug-ins/file-darktable/file-darktable' Initializing plug-in: '/app/lib/gimp/2.99/plug-ins/mail/mail' Initializing plug-in: '/app/lib/gimp/2.99/plug-ins/file-rawtherapee/file-rawtherapee' Initializing plug-in: '/app/lib/gimp/2.99/plug-ins/file-heif/file-heif' Initializing plug-in: '/app/lib/gimp/2.99/plug-ins/file-darktable/file-darktable' Writing '/home/u/.var/app/org.gimp.GIMP/config/GIMP/2.99/pluginrc'

file.txt

andyyeh75 commented 10 months ago

added the pyvenv.cfg content for reference

content: $ cat pyvenv.cfg home = /usr/bin implementation = CPython version_info = 3.10.12.final.0 virtualenv = 20.24.5 include-system-site-packages = false base-prefix = /usr base-exec-prefix = /usr base-executable = /usr/bin/python3

andyyeh75 commented 10 months ago

install_log.txt

Attached the installation logs. I observed many Cython compilation error but not sure whether those matter. Thanks.

For example:

          if n_used_bins <= 1:
              free(cat_infos)
              return

          qsort(cat_infos, n_used_bins, sizeof(categorical_info),
                compare_cat_infos)
                ^
RyanMetcalfeInt8 commented 10 months ago

Hi Andy,

Given this error message:

Skipping unknown file '/home/u/openvino-ai-plugins-gimp/gimpenv3/pyvenv.cfg' in plug-in directory.

It seems that perhaps you set the plugin path as /home/u/openvino-ai-plugins-gimp/gimpenv3/? Is this the case?

I think this should be:

/home/u/openvino-ai-plugins-gimp/gimpenv3/lib/site-packages/gimpopenvino/plugins

This path should be output by install.sh.

andyyeh75 commented 10 months ago

Issue resolved. And actually the path is below instead. /home/u/openvino-ai-plugins-gimp/gimpenv3/lib/python3.10/site-packages/gimpopenvino/plugins

but I also encountered another issue https://github.com/intel/openvino-ai-plugins-gimp/issues/55. Kindly help support further. Thanks.