MCPcopy Create free account

hub / github.com/TencentARC/Pixal3D / functions

Functions865 in github.com/TencentARC/Pixal3D

Methodsnapshot
(self, suffix=None, num_samples=64, batch_size=1, verbose=False)
pixal3d/trainers/vae/sparse_structure_vae.py:95
Functionsparse_conv3d_forward
(self, x: SparseTensor)
pixal3d/modules/sparse/conv/conv_torchsparse.py:11
Functionsparse_conv3d_forward
(self, x: SparseTensor)
pixal3d/modules/sparse/conv/conv_flex_gemm.py:37
Functionsparse_conv3d_forward
(self, x: SparseTensor)
pixal3d/modules/sparse/conv/conv_spconv.py:22
Functionsparse_conv3d_init
(self, in_channels, out_channels, kernel_size, stride=1, dilation=1, padding=None, bias=True, indice_key=None)
pixal3d/modules/sparse/conv/conv_torchsparse.py:7
Functionsparse_conv3d_init
(self, in_channels, out_channels, kernel_size, stride=1, dilation=1, padding=None, bias=True, indice_key=None)
pixal3d/modules/sparse/conv/conv_flex_gemm.py:10
Functionsparse_conv3d_init
(self, in_channels, out_channels, kernel_size, stride=1, dilation=1, padding=None, bias=True, indice_key=None)
pixal3d/modules/sparse/conv/conv_spconv.py:8
Functionsparse_inverse_conv3d_forward
(self, x: SparseTensor)
pixal3d/modules/sparse/conv/conv_torchsparse.py:24
Functionsparse_inverse_conv3d_forward
(self, x: SparseTensor)
pixal3d/modules/sparse/conv/conv_flex_gemm.py:67
Functionsparse_inverse_conv3d_forward
(self, x: SparseTensor)
pixal3d/modules/sparse/conv/conv_spconv.py:55
Functionsparse_inverse_conv3d_init
(self, in_channels, out_channels, kernel_size, stride=1, dilation=1, bias=True, indice_key=None)
pixal3d/modules/sparse/conv/conv_torchsparse.py:20
Functionsparse_inverse_conv3d_init
(self, *args, **kwargs)
pixal3d/modules/sparse/conv/conv_flex_gemm.py:63
Functionsparse_inverse_conv3d_init
(self, in_channels, out_channels, kernel_size, stride=1, dilation=1, bias=True, indice_key=None)
pixal3d/modules/sparse/conv/conv_spconv.py:50
Functionsparse_windowed_scaled_dot_product_cross_attention
Apply windowed scaled dot product cross attention to two sparse tensors. Args: q (SparseTensor): [N, *, H, C] sparse tensor containi
pixal3d/modules/sparse/attention/windowed_attn.py:133
Methodspatial_shape
(self)
pixal3d/modules/sparse/basic.py:491
Methodstate_dict
(self)
pixal3d/utils/grad_clip_utils.py:29
Methodstate_dict
(self)
pixal3d/utils/elastic_utils.py:33
Methodstate_dict
(self)
pixal3d/utils/elastic_utils.py:130
Functiontext_image
Draw text on an image of the given resolution. The text is automatically wrapped and scaled so that it fits completely within the image while
data_toolkit/utils.py:261
Functiontext_image
Draw text on an image of the given resolution. The text is automatically wrapped and scaled so that it fits completely within the image while
pixal3d/utils/general_utils.py:166
Methodto
(self, device)
pixal3d/modules/image_feature_extractor.py:72
Methodto
(self, dtype: torch.dtype, *, non_blocking: bool = False, copy: bool = False)
pixal3d/modules/sparse/basic.py:576
Methodto
(self, device)
pixal3d/trainers/flow_matching/mixins/image_conditioned_proj.py:687
Methodto
(self, device)
pixal3d/trainers/flow_matching/mixins/image_conditioned.py:74
Methodto
(self, device, non_blocking=False)
pixal3d/representations/mesh/base.py:112
Methodto
(self, device, non_blocking=False)
pixal3d/representations/mesh/base.py:145
Methodto
(self, device, non_blocking=False)
pixal3d/representations/mesh/base.py:180
Methodto
(self, device, non_blocking=False)
pixal3d/representations/mesh/base.py:210
Methodto_dense
Convert a VarLenTensor to a dense representation without for-loop. Returns: dense (torch.Tensor): (N, L, C) dens
pixal3d/modules/sparse/basic.py:180
Methodto_dense
(self)
pixal3d/modules/sparse/basic.py:679
Methodto_tensor_list
Convert a VarLenTensor to a list of tensors.
pixal3d/modules/sparse/basic.py:55
Methodto_tensor_list
Convert a SparseTensor to list of tensors.
pixal3d/modules/sparse/basic.py:447
Methodtraining_losses
Compute training losses. Args: vertices (SparseTensor): vertices of each active voxel intersected (SparseTen
pixal3d/trainers/vae/shape_vae.py:162
Methodtraining_losses
Compute training losses. Args: x (SparseTensor): Input sparse tensor for pbr materials. mesh (List[MeshWithP
pixal3d/trainers/vae/pbr_vae.py:152
Methodtraining_losses
Compute training losses. Args: ss: The [N x 1 x H x W x D] tensor of binary sparse structure. Returns:
pixal3d/trainers/vae/sparse_structure_vae.py:58
Methodtraining_losses
Compute training losses for a single timestep. Args: x_0: The [N x ... x C] sparse tensor of the inputs. con
pixal3d/trainers/flow_matching/sparse_flow_matching.py:83
Methodtraining_losses
Compute training losses for a single timestep. Overridden to pass coords from x_0 to get_cond for sparse feature extraction.
pixal3d/trainers/flow_matching/sparse_flow_matching.py:377
Methodtraining_losses
Compute training losses for a single timestep. Args: x_0: The [N x C x ...] tensor of noiseless inputs. cond
pixal3d/trainers/flow_matching/flow_matching.py:145
Methodtraining_losses
Compute training losses for a single timestep. Overridden to avoid passing extra kwargs to the model. Args:
pixal3d/trainers/flow_matching/flow_matching.py:399
Functiontriangulate_meshes
Triangulates all meshes in the scene. Returns: None
data_toolkit/blender_script/render_cond.py:271
Methodtype
(self, dtype)
pixal3d/modules/sparse/basic.py:604
Methodunbind
(self, dim: int)
pixal3d/modules/sparse/basic.py:635
Functionunhide_all_objects
Unhides all objects in the scene. Returns: None
data_toolkit/blender_script/render_cond.py:248
Functionunpatchify
Unpatchify a tensor. Args: x (torch.Tensor): (N, C, *spatial) tensor patch_size (int): Patch size
pixal3d/modules/spatial.py:34
Functionunwrap_dist
Unwrap the model from distributed training.
pixal3d/utils/dist_utils.py:55
Functionvarlen_cat
Concatenate a list of varlen tensors. Args: inputs (List[VarLenTensor]): List of varlen tensors to concatenate.
pixal3d/modules/sparse/basic.py:305
Methodvis_cond
Visualize the conditioning data.
pixal3d/trainers/flow_matching/mixins/image_conditioned_proj.py:1476
Methodvis_cond
Visualize the conditioning data.
pixal3d/trainers/flow_matching/mixins/image_conditioned.py:171
Methodvis_cond
Visualize the conditioning data.
pixal3d/trainers/flow_matching/mixins/image_conditioned.py:233
Functionvis_sparse_tensor
( x: sp.SparseTensor, num_frames: int = 300, )
pixal3d/utils/vis_utils.py:20
Methodvisualize_projection
Visualize the projected 3D grid points on the input image. This is a convenience method that delegates to ProjGrid.visualize
pixal3d/trainers/flow_matching/mixins/image_conditioned_proj.py:569
Methodvisualize_sample
Convert a sample to images, including GT camera view if available. Args: sample: Either a SparseTensor or dict c
pixal3d/trainers/flow_matching/sparse_flow_matching.py:514
Methodvisualize_sample
Convert a sample to images, including GT camera view if available. Args: sample: Either a tensor or dict contain
pixal3d/trainers/flow_matching/flow_matching.py:563
Methodvisualize_sample
(self, x: Union[sp.SparseTensor, dict])
pixal3d/datasets/sparse_voxel_pbr.py:38
Methodvisualize_sample
Visualize shape samples. Args: x_0: SparseTensor or dict containing 'x_0' camera_angle_x: Optional [
pixal3d/datasets/structured_latent_shape.py:30
Methodvisualize_sample
(self, sample: dict)
pixal3d/datasets/structured_latent_svpbr.py:95
Methodvisualize_sample
Visualize sparse structure samples. Args: x_0: Latent tensor [B, C, D, H, W] or dict containing 'x_0'
pixal3d/datasets/sparse_structure_latent.py:59
Methodvisualize_sample
(self, x_0: Union[SparseTensor, dict])
pixal3d/datasets/structured_latent.py:58
Methodvisualize_sample
(self, x: dict)
pixal3d/datasets/flexi_dual_grid.py:16
Methodwith_mem_ratio
(self, mem_ratio=1.0)
pixal3d/models/sparse_elastic_mixin.py:13
Functionworker
(metadatum)
data_toolkit/asset_stats.py:63
Functionworker
(instance: str)
data_toolkit/datasets/ABO.py:41
Functionwrite_pbr_ply
Write a mesh to a PLY file, with the option to save in ASCII or binary format, and optional per-vertex colors. Args: filenam
pixal3d/utils/mesh_utils.py:216
Functionwrite_ply
Write a mesh to a PLY file, with the option to save in ASCII or binary format. Args: filename (str): The filename to write to.
data_toolkit/utils.py:162
Functionwrite_ply
Write a mesh to a PLY file, with the option to save in ASCII or binary format, and optional per-vertex colors. Args: filenam
pixal3d/utils/mesh_utils.py:120
← previous801–865 of 865, ranked by callers