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

about argument "z_vals" in "batchify_rays" function #11

Open
2j1ejyu opened this issue Jul 20, 2022 · 0 comments
Open

about argument "z_vals" in "batchify_rays" function #11

2j1ejyu opened this issue Jul 20, 2022 · 0 comments

Comments

@2j1ejyu
Copy link

2j1ejyu commented Jul 20, 2022

In function "batchify_rays" from the code, you put 'z_vals' in "render_rays" with shape (N_rays, ~) while the chunked 'ray_batch' has the shape of (chunk, ~). Therefore, an error occurs with the issue of size mismatch at the line "pts = rays_o[...,None,:] + rays_d[...,None,:] * z_vals[...,:,None]" in 'render_rays'

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

1 participant