MCPcopy Create free account
hub / github.com/VAST-AI-Research/TriplaneGaussian / CustomImageDataModuleConfig

Class CustomImageDataModuleConfig

tgs/data.py:40–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38
39@dataclass
40class CustomImageDataModuleConfig:
41 image_list: Any = ""
42 background_color: Tuple[float, float, float] = field(
43 default_factory=lambda: (1.0, 1.0, 1.0)
44 )
45
46 relative_pose: bool = False
47 cond_height: int = 512
48 cond_width: int = 512
49 cond_camera_distance: float = 1.6
50 cond_fovy_deg: float = 40.0
51 cond_elevation_deg: float = 0.0
52 cond_azimuth_deg: float = 0.0
53 num_workers: int = 16
54
55 eval_height: int = 512
56 eval_width: int = 512
57 eval_batch_size: int = 1
58 eval_elevation_deg: float = 0.0
59 eval_camera_distance: float = 1.6
60 eval_fovy_deg: float = 40.0
61 n_test_views: int = 120
62 num_views_output: int = 120
63 only_3dgs: bool = False
64
65class CustomImageOrbitDataset(Dataset):
66 def __init__(self, cfg: Any) -> None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected