File size: 434 Bytes
78d2329
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from dataclasses import dataclass

from .view_sampler import ViewSamplerCfg


@dataclass
class DatasetCfgCommon:
    image_shape: list[int]
    background_color: list[float]
    cameras_are_circular: bool
    pose_align_middle_view: bool
    overfit_to_scene: str | None
    view_sampler: ViewSamplerCfg
    opencv_pose_format: bool | None

    test_start_idx: int  # skip the first N scenes during test (for scene-chunked SLURM jobs)