↓ 13 callersFunctionread_next_bytesRead and unpack the next bytes from a binary file. :param fid: :param num_bytes: Sum of combination of {2, 4, 8}, e.g. 2, 6, 16, 30, etc.
scripts/colmap_to_mega_nerf.py:98
↓ 2 callersMethod__init__(self, pos_xyz_dim: int, pos_dir_dim: int, layers: int, skip_layers: List[int], layer_dim: int,
mega_nerf/models/nerf.py:46
Method__init__(self, image_path: Path, c2w: torch.Tensor, W: int, H: int, intrinsics: torch.Tensor, image_index: int,
mega_nerf/image_metadata.py:12
Method__init__(self, metadata_items: List[ImageMetadata], near: float, far: float, ray_altitude_range: List[float],
mega_nerf/datasets/memory_dataset.py:14
Method__init__(self, metadata_items: List[ImageMetadata], near: float, far: float, ray_altitude_range: List[float],
mega_nerf/datasets/filesystem_dataset.py:25
Method__init__(self, sub_modules: List[nn.Module], centroids: torch.Tensor, boundary_margin: float, xyz_real: bool,
mega_nerf/models/mega_nerf.py:8