ashawkey / torch-ngp

A pytorch CUDA extension implementation of instant-ngp (sdf and nerf), with a GUI.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using temporal basis to model dynamic scene

haonanhe opened this issue · comments

commented

Hi, I'm trying to run the code using temporal basis to model dynamic scenes. The sigma and color output of sigma net and color net are multiplied with time basis as shown below:

        # torch-ngp/dnerf/network_basis.py 
        # sigma 
        sigma = trunc_exp(h[..., :self.sigma_basis_dim] @ sigma_basis)  
        # sigmoid activation for RGB 
        rgbs = torch.sigmoid(h.view(-1, 3, self.color_basis_dim) @ color_basis) 

I was just wondering which paper this code refers to. It would be very helpful if you could give me some hints.