MVSNet icon indicating copy to clipboard operation
MVSNet copied to clipboard

UnicodeDecodeError

Open KevinLee752 opened this issue 5 years ago • 2 comments

Hi! I'm trying to run the test code under Python3. Then I got this error when it run to "image = scipy.misc.imread(image_file, mode='RGB')" in the MVSGenerator class:

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte.

Can I please get some advice from you (or any others)? Thank you.

KevinLee752 avatar May 13 '19 07:05 KevinLee752

There might be some problems using python3. Can python2 successfully pass this part?

You can try using cv2.imread() to replace scipy.misc.imread()

YoYo000 avatar May 24 '19 03:05 YoYo000

Yes, it can. The test code works fine with python2 on my machine. Thanks for your advice. But sorry to bother you again, Does the input image size for test.py has to be 1152x864 for '3DCNN' or 1600x1200 for GRU‘?What if I want to test other sizes of images?

KevinLee752 avatar May 27 '19 01:05 KevinLee752