intel / openvino-ai-plugins-gimp

GIMP AI plugins with OpenVINO Backend
Apache License 2.0
486 stars 52 forks source link

Undefined variable and no exit #5

Closed multiflexi closed 1 year ago

multiflexi commented 1 year ago

This issue affects Linux users. When ~/openvino-ai-plugins-gimp with weights exists, the script complete_install.py in gimpopenvino/tools raises error because variable digest is not defined. Also after all weights are downloaded (after yolo), the script just hangs. I identified that it happens when it gets to line 82: supported_devices = ie.available_devices

RyanMetcalfeInt8 commented 1 year ago

Hi @multiflexi, thanks for the report and the PR! I'll take a look. Which OS are you running, and which version of GIMP did you try this with?

multiflexi commented 1 year ago

Hi, I am running this:

Distributor ID: ManjaroLinux
Release:    22.1.0

CPU: AMD Ryzen 7600X GPU: Intel Arc A380

The GIMP I have is 2.99.14 but I think it is not relevant because I get stuck during the installation. Same thing happens when I run python /opt/intel/openvino/samples/python/hello_query_device/hello_query_device.py as described here. It is just stuck and nothing happens.

RyanMetcalfeInt8 commented 1 year ago

Hmm, strange. Which version of python are you using?

multiflexi commented 1 year ago

3.10

RyanMetcalfeInt8 commented 1 year ago

Hi @multiflexi, as this seems like an openvino-specific issue you might have better luck to get some help from those folks (https://github.com/openvinotoolkit/openvino/issues). They are usually quite responsive.

multiflexi commented 1 year ago

I created openvinotoolkit/openvino#17190. When that gets sorted, I will test it and we can move on.

RyanMetcalfeInt8 commented 1 year ago

Closing this one for now as it doesn't seem to be related to these plugins. Feel free to re-open once fundamental OpenVINO issues are resolved and if you still need help.