File size: 303 Bytes
cfb7702
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
datasets = {}


def register(name):
    def decorator(cls):
        datasets[name] = cls
        return cls

    return decorator


def make(name, config):
    dataset = datasets[name](config)
    return dataset


from . import blender, colmap, dtu, ortho, videonvs, videonvs_co3d, v3d