You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
4. Create an intel directory under `/opt` and move the extracted files to that directory
12
-
```sh
13
-
sudo mkdir /opt/intel
14
-
sudo chown <user>:<group> /opt/intel
15
-
mv <ov-release-name> /opt/intel/.
16
-
```
17
-
5. Link the release as `openvino` under `/opt/intel`
18
-
```sh
19
-
cd /opt/intel
20
-
ln -sf <ov-release-name> openvino
21
-
```
22
-
23
1
# Build GIMP
24
2
1. Create a directory where you will download and build all of the sources for GIMP
25
3
```sh
@@ -73,25 +51,20 @@
73
51
2. Run install script, and download models. The following steps will create the virtual environment "gimpenv3", install all required packages and will also walk you through models setup.
74
52
```sh
75
53
chmod +x openvino-ai-plugins-gimp/install.sh
76
-
source /opt/intel/openvino/setupvars.sh
77
54
./openvino-ai-plugins-gimp/install.sh
78
55
```
79
56
At the end of plugin setup, you will be prompted to setup the AI models used with OpenVINO™. Before proceeding, make note of the plugin directory and add that to the plugin path for GIMP before proceeding with model download.
80
57
Start the GIMP application (`gimp-2.99`), and add the gimpenv3 path that was printed when running the above step to the list of plugin folders [Edit-> Preferences-> Folders-> Plugins].
-[OpenVINO™ 2023.2](https://storage.openvinotoolkit.org/repositories/openvino/packages/2023.2/windows/w_openvino_toolkit_windows_2023.2.0.13089.cfd42bd2cb0_x86_64.zip) or later version
24
23
-[GIMP AI plugins with OpenVINO™ Backend](https://github.com/intel/openvino-ai-plugins-gimp) from Github.
25
24
26
25
27
-
### Install OpenVINO™
28
-
29
-
>__Notes:__ Use OpenVINO™ `2023.2` as an example.
30
-
31
-
Please following below steps to download and install the OpenVINO™ package.
32
-
33
-
- Check download [page](https://www.intel.com/content/www/us/en/developer/tools/openvino-toolkit/download.html?VERSION=v_2023_2_0&OP_SYSTEM=WINDOWS&DISTRIBUTION=ARCHIVE) of OpenVINO™ website, then click "Download Archives"
> This is an example that will create a `GIMP` folder in`C:\Users\Public\`, and then download the package to `C:\Users\Public\GIMP`, you still can define where to place this package by yourself.
129
108
130
-
- Use same command prompt that used in previous step to include OpenVINO™ environment by below command.
> - Folder name of `w_openvino_toolkit_windows_2023.2.0.13089.cfd42bd2cb0_x86_64` is for OpenVINO™ `2023.2` version and it depends on OpenVINO™ version.
137
-
> - Please ensure the OpenVINO™ environment is set, otherwise, NPU will not work for GIMP AI plugins with OpenVINO™ Backend.
138
-
139
109
- Use same command prompt that used in previous steps and follow the command below to install it.
> - The downloaded models include FP16 and INT8 precision, and INT8 precision can be executed on MTL NPU.
167
137
> - Weights is saved at `C:\Users\\<user_name>\openvino-ai-plugins-gimp\weights`.
168
138
169
-
## Set up GIMP AI plugins with OpenVINO™ Backend on GIMP
139
+
## Set up GIMP AI plugins
170
140
171
141
Please follow below steps to setup plugin at first time and then you can use GIMP to execute GIMP AI plugins with OpenVINO™ Backend to run Stable-Diffusion or other features.
172
142
@@ -194,34 +164,7 @@ With previous section, the GIMP AI plugins with OpenVINO™ Backend is installed
194
164
195
165
## Execute GIMP
196
166
197
-
To make GIMP AI plugins with OpenVINO™ Backend can work with GIMP, please choose one of below two methods to execute it.
198
-
199
-
### Execute by commands in cmd prompt
200
-
201
-
Open command prompt, then follow below command to execute GIMP incommand prompt.
[1] Provides a set of OpenVINO™ based plugins that add AI features to GIMP. <br>
@@ -22,13 +20,8 @@ Please raise a PR for any new features, modifications, or bug fixes.
22
20

23
21
24
22
## Installation Steps
25
-
26
-
### Install OpenVINO™
27
-
- Download and install [OpenVINO™](https://github.com/openvinotoolkit/openvino/releases) for your operating system. Please follow the instructions to download and install OpenVINO™ from the archive. **Do not use pypi for installation.**
28
-
- Note that these plugins have been tested with 2023.1.0 and 2023.2.0
29
-
30
23
### Windows
31
-
For detailed steps and tips please refer [User guide for Windows](./Docs/user_guide_for_windos_users.md).
24
+
For detailed steps and tips please refer [User guide for Windows](./Docs/user_guide_for_windows_users.md).
32
25
33
26
### Linux
34
27
This plugin is tested on Ubuntu 22.04. Building GIMP from source is recommended.<br>
@@ -108,18 +101,7 @@ _Note that the screenshots below are based on the previous UI_
108
101
### OpenVINO™ Super Resolution Plugin
109
102

110
103
111
-
### OpenVINO™ Style Transfer Plugin
112
-

113
-
114
-
### OpenVINO™ Inpainting Plugin
115
-
1. Open an image in GIMP.
116
-
2. Make sure there is alpha channel added to the image by right clicking on the image from layer section and selecting “Add alpha channel”
117
-
3. Add a new transparent layer of the same size as original image.
118
-
4. Select paint brush with white foreground color and black background color. Choose the thickness of the brush
119
-
10. Now paint the object that you want to remove from the image.
120
-
11. Select the new layer and image at the same. You should see “two items selected in layer section”
0 commit comments