File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
gimpopenvino/tools/openvino_common/models_ov Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -291,7 +291,7 @@ def __call__(
291291 # 3. Preprocess image
292292 image = image .convert ("RGB" )
293293 pose = self .pose_estimator (image )
294- pose . save ( "C: \\ Users \\ lab_admin \\ Desktop \\ pose.png" )
294+
295295
296296 orig_width , orig_height = pose .size
297297
@@ -393,7 +393,7 @@ def __call__(
393393 if output_type == "pil" :
394394 image = self .numpy_to_pil (image )
395395 image = [img .resize ((orig_width , orig_height ), Image .Resampling .LANCZOS ) for img in image ]
396- image [ 0 ]. save ( "C: \\ Users \\ lab_admin \\ Desktop \\ openpose-result.png" )
396+
397397 else :
398398 image = [cv2 .resize (img , (orig_width , orig_width ))
399399 for img in image ]
Original file line number Diff line number Diff line change 33 echo **** openvino-ai-plugins-gimp Setup started ****
44 python -m pip install virtualenv | find /V " already satisfied"
55 python -m virtualenv gimpenv3
6- gimpenv3\Scripts\python.exe -m pip install transformers> =4.21.1 diffusers> =0.14.0 controlnet-aux> =0.0.6 tqdm== 4.64.0 openvino== 2022.3.0 huggingface_hub streamlit== 1.12.0 watchdog== 2.1.9 ftfy== 6.1.1 | find /V " already satisfied"
6+ gimpenv3\Scripts\python.exe -m pip install safetensors == 0.3.2 transformers== 4.31.0 diffusers> =0.14.0 controlnet-aux> =0.0.6 tqdm== 4.64.0 openvino== 2022.3.0 huggingface_hub streamlit== 1.12.0 watchdog== 2.1.9 ftfy== 6.1.1 | find /V " already satisfied"
77 gimpenv3\Scripts\python.exe -m pip install openvino-ai-plugins-gimp\.
88 echo *** openvino-ai-plugins-gimp Installed ***
99 gimpenv3\Scripts\python.exe -c " import gimpopenvino; gimpopenvino.setup_python_weights()"
Original file line number Diff line number Diff line change @@ -22,7 +22,9 @@ torchvision==0.14.1+cpu; sys_platform == 'linux' or platform_system == 'Windows'
2222#paddlepaddle>=2.4.0
2323
2424
25- transformers>=4.21.1
25+ safetensors==0.3.2
26+ transformers==4.31.0
27+ #transformers>=4.21.1
2628
2729
2830
You can’t perform that action at this time.
0 commit comments