MCPcopy Create free account
hub / github.com/YuxuanSnow/Human3Diffusion / Options

Class Options

core/options.py:6–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4
5@dataclass
6class Options:
7 input_size: int = 256
8 down_channels: Tuple[int, ...] = (64, 128, 256, 512, 1024, 1024)
9 down_attention: Tuple[bool, ...] = (False, False, False, True, True, True)
10 mid_attention: bool = True
11 up_channels: Tuple[int, ...] = (1024, 1024, 512, 256, 128)
12 up_attention: Tuple[bool, ...] = (True, True, True, False, False)
13 splat_size: int = 128
14 output_size: int = 512
15
16 data_mode: Literal['imagedream', 'lgm'] = 'imagedream'
17 fovy: float = 49.1
18 znear: float = 0.5
19 zfar: float = 2.5
20 num_views: int = 12
21 num_input_views: int = 4
22 cam_radius: float = 1.5
23 num_workers: int = 8
24
25 workspace: str = './workspace'
26 resume: Optional[str] = None
27 batch_size: int = 8
28 gradient_accumulation_steps: int = 1
29 num_epochs: int = 30
30 lambda_lpips: float = 1.0
31 lambda_distortion: float = 0.0
32 lambda_normal: float = 0.0
33 lambda_depth: float = 0.0
34 gradient_clip: float = 1.0
35 mixed_precision: str = 'fp16'
36 lr: float = 4e-4
37 prob_grid_distortion: float = 0.5
38 prob_cam_jitter: float = 0.5
39
40 test_path: Optional[str] = None
41
42 force_cuda_rast: bool = False
43 fancy_video: bool = False
44
45 tracker_project_name: str = None
46
47
48config_defaults: Dict[str, Options] = {}

Callers 6

mainFunction · 0.90
mainFunction · 0.90
mainFunction · 0.90
mainFunction · 0.90
mainFunction · 0.90
options.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected