MCPcopy Create free account

hub / github.com/Yukun-Huang/DreamCube / functions

Functions331 in github.com/Yukun-Huang/DreamCube

Functionrun
Run Equi2Cube params: - equi (torch.Tensor): 4 dims (b, c, h, w) - rots (List[dict]): dict of ('yaw', 'pitch', 'roll') - w_face (int)
external/equilib/equi2cube/torch.py:112
Functionrun
Call Equi2Cube params: - equi (np.ndarray) - rots (List[Dict[str, float]]) - w_face (int) - cube_format (str): ('horizon', 'list'
external/equilib/equi2cube/numpy.py:123
Functionrun
Run Equi2Pers params: - equi (torch.Tensor): 4 dims (b, c, h, w) - rots (List[dict]): dict of ('yaw', 'pitch', 'roll') - height, widt
external/equilib/equi2pers/torch.py:106
Functionrun
Run Equi2Pers params: - equi (np.ndarray): 4 dims (b, c, h, w) - rot (List[dict]): dict of ('yaw', 'pitch', 'roll') - height, width (
external/equilib/equi2pers/numpy.py:120
Functionrun
Run Equi2Equi params: - src (torch.Tensor): 4 dims (b, c, h, w) - rot (List[dict]): dict of ('yaw', 'pitch', 'roll') - z_down (bool)
external/equilib/equi2equi/torch.py:55
Functionrun
Run Equi2Equi params: - src (np.ndarray): 4 dims (b, c, h, w) - rot (List[dict]): dict of ('yaw', 'pitch', 'roll') - z_down (bool)
external/equilib/equi2equi/numpy.py:75
Functionsafe_eval
(input_string)
utils/__init__.py:10
Functionsample_cubefaces
(cube_faces, tp, coor_y, coor_x, order)
external/py360convert/utils.py:135
Functionsample_equirec
(e_img, coor_xy, order)
external/py360convert/utils.py:125
Methodsave_as_video
(self, save_path, seconds: int = 8, fps: int = 25, fov: float = 90.0, phi: float = 0.0, height: int = 512, wid
utils/cube.py:539
Functionsetup_sync_conv2d_processor
(module, **kwargs)
models/multiplane_sync/sync_conv2d.py:414
Methodshow
(self, cube_format='dice')
utils/cube.py:549
Methodshow
(self)
utils/equi.py:78
Functionsizeof
Get the size of a tensor
external/equilib/torch_utils/func.py:6
Functionswitch_custom_processors_for_vae
(model, enable_sync_gn: bool, enable_sync_conv2d: bool, enable_sync_attn: bool)
models/multiplane_sync_legacy.py:451
Methodto_cubemap
(self, face_w=256, mode='bilinear')
utils/equi.py:57
Methodto_perspective_mvdiffusion
(self, fov, theta, phi, hw=None, align=True)
utils/cube.py:466
Functionunpad_cube
Args: cube: torch.Tensor, [b*m, c, h, w] or [b, m, c, h, w] padding: int
utils/cube.py:54
Functionunpad_equi
(pano_pad: torch.Tensor, padding: int)
utils/equi.py:40
Methodunpad_image
(image: torch.Tensor, padding: Tuple[int, int])
utils/depth.py:126
Functionuv2coor
uv: ndarray in shape of [..., 2] h: int, height of the equirectangular image w: int, width of the equirectangular image
external/py360convert/utils.py:104
Functionuv2unitxyz
(uv)
external/py360convert/utils.py:94
Methodvisualize_depth_one
(img, idx=None)
utils/depth.py:395
Methodvisualize_normals
Visualizes surface normals, such as predictions of the `MarigoldNormalsPipeline`. Args: normals (`Union[np.ndarray, torc
utils/depth.py:467
Methodvisualize_normals_one
(img, idx=None)
utils/depth.py:504
Methodvisualize_uncertainty
Visualizes dense uncertainties, such as produced by `MarigoldDepthPipeline` or `MarigoldNormalsPipeline`. Args: uncertai
utils/depth.py:528
Methodvisualize_uncertainty_one
(img, idx=None)
utils/depth.py:549
Methodwrite
(self, image: Image.Image)
utils/video.py:110
Functionxyz2uv
xyz: ndarray in shape of [..., 3]
external/py360convert/utils.py:82
Functionxyzcube
Return the xyz cordinates of the unit cube in [F R B L U D] format.
external/py360convert/utils.py:5
Functionxyzpers
(h_fov, v_fov, u, v, out_hw, in_rot)
external/py360convert/utils.py:67
← previous301–331 of 331, ranked by callers