Closed sora158 closed 1 year ago
self.vectors
is part of the 4D-decomposed feature grid and its weights need to be optimized as well. torch.randn((4, vectors_finest_resolution, feature_size), dtype=torch.float) * 0.1
is just a convenient way to initialize the weights.
self.vectors = torch.nn.Parameter( torch.randn((4, vectors_finest_resolution, feature_size), dtype=torch.float) * 0.1 ) However, I don't understand why xyzt_vectors is a random tensor but also have gradients.
And the next question is In tensor_composition.cu, why time dimension is also multipied by finest_resolution: