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

AttributeError: 'Renderer' object has no attribute 'call_depth_function' #19

Open
wen-yuan-zhang opened this issue Sep 14, 2022 · 0 comments

Comments

@wen-yuan-zhang
Copy link

wen-yuan-zhang commented Sep 14, 2022

Thanks for your excellent work!
I have a small question about the training mode of "onsurf_render", in the line 323 in model/rendering.py:

self.model.eval()
with torch.no_grad():
    d_i = self.call_depth_function(camera_world, ray_vector, self.model, it=8, n_steps=[int(512),int(512)+1], check_unitsphere_intersection=True, rad=rad)

It seems that there is no implementation for "self.call_depth_function" here. Could you please tell me where is the source code of "call_depth_function" or how does this function work?
Thanks a lot!

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