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

Usage of code_multi #47

Open
sonnefred opened this issue Mar 14, 2024 · 3 comments
Open

Usage of code_multi #47

sonnefred opened this issue Mar 14, 2024 · 3 comments

Comments

@sonnefred
Copy link

Hi, thanks for the code release of multi objects, and I have downloaded it and want to have a try. But I encountered a problem, which is as follows. Could you tell me whether the code can work now or how can I solve this problem? Thanks!
图片

@213120632
Copy link

213120632 commented May 8, 2024

I have encountered the same error as you. You can solve it by adding a bracket at the end of line 169 of file lotd_nerf.py and reinstall nr3d_lib.

@213120632
Copy link

213120632 commented May 9, 2024 via email

@ushio2021
Copy link

The function torch.no_grad() cannot be called without the bracket, i try to debug the code, but this bug is hard to locate. 发自我的iPhone

在 2024年5月9日,00:00,ushio2021 @.***> 写道:  I have encountered the same error as you. You can solve it by adding a bracket at the end of line 169 of file lotd_nerf.py and reinstall nr3d_lib. Hi, do you know the exact reason? It seems @torch.no_grad can be used without the bracket? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.

Alright, I found that it can be called without the bracket only after PyTorch 2.1.

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

3 participants