MCPcopy Create free account
hub / github.com/microsoft/TRELLIS / __init__

Method __init__

trellis/datasets/structured_latent2render.py:22–36  ·  view source on GitHub ↗
(
        self,
        roots: str,
        image_size: int,
        latent_model: str,
        min_aesthetic_score: float = 5.0,
        max_num_voxels: int = 32768,
    )

Source from the content-addressed store, hash-verified

20 max_num_voxels (int): maximum number of voxels
21 """
22 def __init__(
23 self,
24 roots: str,
25 image_size: int,
26 latent_model: str,
27 min_aesthetic_score: float = 5.0,
28 max_num_voxels: int = 32768,
29 ):
30 self.image_size = image_size
31 self.latent_model = latent_model
32 self.min_aesthetic_score = min_aesthetic_score
33 self.max_num_voxels = max_num_voxels
34 self.value_range = (0, 1)
35
36 super().__init__(roots)
37
38 def filter_metadata(self, metadata):
39 stats = {}

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected