nerfstudio-project / nerfacc

A General NeRF Acceleration Toolbox in PyTorch.
https://www.nerfacc.com/
Other
1.39k stars 115 forks source link

Change dummy variable in Grid to tensor instead of parameter. #83

Closed bennyguo closed 2 years ago

bennyguo commented 2 years ago

The dummy variable in Grid is defined as parameter, which is not used in training but may cause "unused parameter error" in some frameworks (for example when using DDP in pytorch-lightning).

liruilong940607 commented 2 years ago

LGTM thanks Yuanchen!