Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnicodeDecodeError: 'utf-8' codec can't decode byte 0x99 in position 22: invalid start byte #53

Open
blueevangelion opened this issue May 3, 2018 · 1 comment

Comments

@blueevangelion
Copy link

I had Compute the Matching Cost and be able to run with pretrained network.
I downloaded Middlebury dataset use ./download_middlebury.sh command.
I compile MiddEval3-SDK and installed ImageMagick.
I got the following error while i try to run preprocess_mb.py

Adirondack
Traceback (most recent call last):
File "preprocess_mb.py", line 166, in
disp0, scale0 = load_pfm(os.path.join(base2_imperfect, 'disp0.pfm'), True)
File "preprocess_mb.py", line 34, in load_pfm
header = file.readline().rstrip()
File "/usr/lib/python3.5/codecs.py", line 321, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x99 in position 22: invalid start byte

Opencv version:3.4.0
python version:3.5

@pannyl
Copy link

pannyl commented May 25, 2019

Hello, I have the same problem. Could you please tell me how to solved it ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants