nsvf.py 360 Bytes
Newer Older
Nianchen Deng's avatar
sync    
Nianchen Deng committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from .nerf import *
from utils.geometry import *


class NSVF(NeRF):

    SamplerClass = VoxelSampler

    def __init__(self, args0: dict, args1: dict = {}):
        """
        Initialize a NSVF model

        :param args0 `dict`: basic arguments
        :param args1 `dict`: extra arguments, defaults to {}
        """
        super().__init__(args0, args1)