question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

patch_match compiling failed

See original GitHub issue

I have installed opencv via pip install opencv-python but 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 <module> 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 <undefined>

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
lkwq007commented, Oct 1, 2022

Seems to be encoding issues. I have updated the app.py.

By the way, “patch_match compiling failed” is expected on windows

0reactions
lkwq007commented, Oct 3, 2022

@lkwq007 Where should I extract these?

@JamesIV4 The latest version of this project can automatically download and load these DLL libraries. Please try the latest version. (Note that git pull might not work correctly due to a git submodule change. You may need to re-clone the repo)

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to run PATCHMATCH source code for inpainting
Consider that this source code was written in 2009 (by the name), which is 11 years ago. · Removing -inline should be fine....
Read more >
PatchMatch: A Fast Randomized Matching Algorithm with ...
We quantify the error for each dataset as the mean and 95th percentile of the per-patch difference between the algorithm's RMS patch distance...
Read more >
Solved: Error while installing patch - HPE Community
NOTE: The patch match operation failed to find patches for target software on "mrktst0u" which passed the filter.
Read more >
Frequently Asked Questions — COLMAP 3.8 documentation
Compiling against COLMAP as a library is described here. ... Sometimes COLMAP fails to reconstruct all images into the same model and hence...
Read more >
plugin with dependency to skeleton.h does not compile
... /home/p0086679/sofa/v16.08/build/install/include/CImg/CImg.h:9341:21: fatal error: plugins/skeleton.h: No such file or directory ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found