Replies: 8 comments
-
|
Seems to be encoding issues. I have updated the By the way, "patch_match compiling failed" is expected on windows |
Beta Was this translation helpful? Give feedback.
-
|
installing opencv python will not help entirely with patch match because patch match is built with opencv C++/C library |
Beta Was this translation helpful? Give feedback.
-
|
you also have to compile it and load it manually because the scripts are written for linux |
Beta Was this translation helpful? Give feedback.
-
Have a link? |
Beta Was this translation helpful? Give feedback.
-
the modifications that need to be made to the C code are https://github.com/badcode6/PyPatchMatchWin/tree/master/csrc here. you need to build this with Visual Studio, under a DLL project. you do need the entire opencv library as stated in #27 . https://docs.opencv.org/4.x/dd/d6e/tutorial_windows_visual_studio_opencv.html this link should help you with that |
Beta Was this translation helpful? Give feedback.
-
Actually I have tried compiling the dll library in last week. Not sure whether this compiled dll works or not. On my windows pc, I have to load the |
Beta Was this translation helpful? Give feedback.
-
|
@lkwq007 Where should I extract these? |
Beta Was this translation helpful? Give feedback.
-
@JamesIV4 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have installed opencv via
pip install opencv-pythonbut seem to be encountering a patch_match issue. Not sure whats causing it. Cheers.(sd-inf) C:\Users\wstob\stablediffusion-infinity>python app.py
patch_match compiling failed
Traceback (most recent call last):
File "C:\Users\wstob\stablediffusion-infinity\app.py", line 221, in
frame = gr.HTML(test(2), visible=False)
File "C:\Users\wstob\stablediffusion-infinity\app.py", line 31, in test
x = load_html()
File "C:\Users\wstob\stablediffusion-infinity\app.py", line 23, in load_html
canvaspy = f.read()
File "C:\Users\wstob\anaconda3\envs\sd-inf\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x8f in position 347: character maps to
Beta Was this translation helpful? Give feedback.
All reactions