Fyusion / LLFF

Code release for Local Light Field Fusion at SIGGRAPH 2019
https://fyusion.com/LLFF
GNU General Public License v3.0
1.55k stars 250 forks source link

UnicodeDecodeError #76

Open codecy-12 opened 1 year ago

codecy-12 commented 1 year ago

when I run imgs2poses.py, I got this error:

['points3D.bin', 'cameras.bin', 'images.bin'] Don't need to run COLMAP Post-colmap Cameras 5 Traceback (most recent call last): File "/data1/w/LLFF-master/imgs2poses.py", line 19, in gen_poses(args.scenedir, args.match_type) File "/data1/w/LLFF-master/llff/poses/pose_utils.py", line 276, in gen_poses poses, pts3d, perm = load_colmap_data(basedir) File "/data1/w/LLFF-master/llff/poses/pose_utils.py", line 26, in load_colmap_data imdata = read_model.read_images_binary(imagesfile) File "/data1/w/LLFF-master/llff/poses/colmap_read_model.py", line 187, in read_images_binary image_name += current_char.decode("utf-8") UnicodeDecodeError: 'utf-8' codec can't decode byte 0xeb in position 0: unexpected end of data

SaadatKhan commented 1 year ago

did you check your image file names? just don't include any special character.