We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am trying to implement a depth loss, in nerf/utils.py/Trainer.train_step.
outputs = self.model.render(rays_o, rays_d, staged=False, bg_color=bg_color, perturb=True, force_all_rays=False if self.opt.patch_size == 1 else True, **vars(self.opt))
the outputs['depth'] always return 0 or nan during training.
depth = outputs['depth'] print(depth[~depth.isnan()].sum()) --> always 0.
With self.model.eval(), I get an appropriate depth result with some non zero values, but unable to backprop.
Any idea what is going on?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am trying to implement a depth loss, in nerf/utils.py/Trainer.train_step.
the outputs['depth'] always return 0 or nan during training.
depth = outputs['depth']
print(depth[~depth.isnan()].sum()) --> always 0.
With self.model.eval(), I get an appropriate depth result with some non zero values, but unable to backprop.
Any idea what is going on?
The text was updated successfully, but these errors were encountered: