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 #76

Open
codecy-12 opened this issue Jan 13, 2023 · 1 comment
Open

UnicodeDecodeError #76

codecy-12 opened this issue Jan 13, 2023 · 1 comment

Comments

@codecy-12
Copy link

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
Copy link

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

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