intel / openvino-ai-plugins-gimp

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

inference fails (win10) #18

Closed RhynarAI closed 1 year ago

RhynarAI commented 1 year ago

I created an empty 512x512 image, started the SD Plugin via Layer Menu, entered "dog" as keyword and hit run...

Plugin quits with an error - open command window says:

FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\username\openvino-ai-plugins-gimp\gimpenv3\Lib\site-packages\gimpopenvino\tools\gimp_openvino_config.json'

This file indeed is in:

C:\Users\username\openvino-ai-plugins-gimp\gimpopenvino\tools\gimp_openvino_config.json

fajterini commented 1 year ago

I had the same issue, you have. Running the install bat file from wrong folder. In my case i did run install.bat directly from the folder, I think they will rework the install script to be better. delete old folders and follow the readme guide. open terminal/cmd and change directory to folder you want to use. the run this commands

:: clone this repo: git clone https://github.com/intel/openvino-ai-plugins-gimp.git

:: run install script openvino-ai-plugins-gimp\install.bat

:: Copy the openvino models to user weights folder Xcopy /E /I .\openvino-ai-plugins-gimp\weights %userprofile%\openvino-ai-plugins-gimp\weights\

RhynarAI commented 1 year ago

Thank you for commenting. Thats not the issue - the installer script is reported in another Issue and is easily solvable. This is about running the inference, people on discord have reported the same isse. If you l ook closely, the base Directory is not the problem here - the plugin is looking for a file burried much deeper in the directory tree than where it actually is - not an issue of base directory.

fajterini commented 1 year ago

I had the same issue last week, check here https://github.com/intel/openvino-ai-plugins-gimp/issues/15

RhynarAI commented 1 year ago

Thank you, will check it out :)

RhynarAI commented 1 year ago

Running the install freshly from outside the directory helped, its working now :)