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

关于深度和mask的一个问题 #48

Open
hhl134 opened this issue Feb 23, 2023 · 2 comments
Open

关于深度和mask的一个问题 #48

hhl134 opened this issue Feb 23, 2023 · 2 comments

Comments

@hhl134
Copy link

hhl134 commented Feb 23, 2023

在depths, masks = load_colmap(image_list, args.datadir,args.depth_H, args.depth_W)这个函数里

def load_point_vis(path, masks):
with open(path, 'rb') as f:
n = struct.unpack('<Q', f.read(8))[0]
print('point number: {}'.format(n))
for i in range(n):
m = struct.unpack('<I', f.read(4))[0]
for j in range(m):
idx, u, v = struct.unpack('<III', f.read(4 * 3))
masks[idx][v, u] = 1

由于在linux装colmap没有装成功,所以在windows用colmap生成之后然后移过去,就没有用你们的脚本跑
但是在跑的时候在这一段出错了
微信图片_20230223132416
请问您有遇到过吗 不知道是生成的数据的问题(没有在linux上用你们的脚本跑 但是我在windows下跑的时候也按照你们给定的参数设置了)

@hhl134
Copy link
Author

hhl134 commented Feb 23, 2023

@weiyithu

@czg-first
Copy link

因为用的不是作者提供的这个版本的colmap

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