MCPcopy Create free account

hub / github.com/TencentARC/Pixal3D / functions

Functions865 in github.com/TencentARC/Pixal3D

↓ 1 callersFunctionhammersley_sequence
(dim, n, num_samples)
data_toolkit/utils.py:34
↓ 1 callersFunctionhammersley_sequence
(dim, n, num_samples)
pixal3d/utils/random_utils.py:19
↓ 1 callersFunctioninit_camera
()
data_toolkit/blender_script/render_cond.py:84
↓ 1 callersMethodinit_models_and_more
Initialize models and more.
pixal3d/trainers/basic.py:220
↓ 1 callersFunctioninit_pipeline
(model_path=MODEL_PATH, device="cuda", low_vram=False)
inference.py:74
↓ 1 callersFunctioninit_random_lighting
(camera_dir: np.ndarray)
data_toolkit/blender_script/render_cond.py:130
↓ 1 callersFunctioninit_render
(engine='CYCLES', resolution=512)
data_toolkit/blender_script/render_cond.py:38
↓ 1 callersFunctioninit_scene
Resets the scene to a clean state. Returns: None
data_toolkit/blender_script/dump_pbr.py:28
↓ 1 callersFunctioninit_scene
Resets the scene to a clean state. Returns: None
data_toolkit/blender_script/dump_mesh.py:27
↓ 1 callersFunctioninit_scene
Resets the scene to a clean state. Returns: None
data_toolkit/blender_script/render_cond.py:61
↓ 1 callersFunctioninit_uniform_lighting
()
data_toolkit/blender_script/render_cond.py:99
↓ 1 callersMethodinitialize_weights
(self)
pixal3d/models/sparse_structure_flow.py:172
↓ 1 callersMethodinitialize_weights
(self)
pixal3d/models/structured_latent_flow.py:118
↓ 1 callersMethodinitialize_weights
(self)
pixal3d/models/sc_vaes/sparse_unet_vae.py:364
↓ 1 callersMethodinitialize_weights
(self)
pixal3d/models/sc_vaes/sparse_unet_vae.py:469
↓ 1 callersFunctionintrinsics_to_projection
OpenCV intrinsics to OpenGL perspective matrix Args: intrinsics (torch.Tensor): [3, 3] OpenCV intrinsics matrix near (float)
pixal3d/renderers/mesh_renderer.py:8
↓ 1 callersFunctionintrinsics_to_projection
OpenCV intrinsics to OpenGL perspective matrix Args: intrinsics (torch.Tensor): [3, 3] OpenCV intrinsics matrix near (float)
pixal3d/renderers/pbr_mesh_renderer.py:65
↓ 1 callersFunctionis_valid_sparse_tensor
(tensor)
data_toolkit/encode_pbr_latent.py:20
↓ 1 callersFunctionis_valid_sparse_tensor
(tensor)
data_toolkit/encode_pbr_latent_view.py:23
↓ 1 callersFunctionl2_loss
(network_output, gt)
pixal3d/utils/loss_utils.py:18
↓ 1 callersFunctionlatlong_to_cubemap
(latlong_map, res)
pixal3d/renderers/pbr_mesh_renderer.py:20
↓ 1 callersFunctionlinear_to_srgb
Standard linear-to-sRGB conversion matching Blender's sRGB display transform. Applies the official sRGB EOTF inverse: - For values
pixal3d/renderers/pbr_mesh_renderer.py:194
↓ 1 callersMethodload_data
Load data.
pixal3d/trainers/basic.py:963
↓ 1 callersFunctionload_envmaps
Load HDRI environment maps from assets/.
data_toolkit/visualize_pbr_latent.py:50
↓ 1 callersFunctionload_moge_model
(device="cuda", model_name=MOGE_MODEL_NAME)
inference.py:66
↓ 1 callersFunctionload_object
Loads a model with a supported file extension into the scene. Args: object_path (str): Path to the model file. Raises: Value
data_toolkit/blender_script/dump_pbr.py:51
↓ 1 callersFunctionload_object
Loads a model with a supported file extension into the scene. Args: object_path (str): Path to the model file. Raises: Value
data_toolkit/blender_script/dump_mesh.py:50
↓ 1 callersFunctionload_object
Loads a model with a supported file extension into the scene. Args: object_path (str): Path to the model file. Raises: Value
data_toolkit/blender_script/render_cond.py:184
↓ 1 callersFunctionmain
()
data_toolkit/visualize_shape_latent.py:29
↓ 1 callersFunctionmain
()
data_toolkit/build_texverse_metadata.py:46
↓ 1 callersFunctionmain
()
data_toolkit/visualize_pbr_latent.py:63
↓ 1 callersFunctionmain
(arg)
data_toolkit/blender_script/dump_pbr.py:301
↓ 1 callersFunctionmain
(arg)
data_toolkit/blender_script/dump_mesh.py:176
↓ 1 callersFunctionmain
(arg)
data_toolkit/blender_script/render_cond.py:417
↓ 1 callersFunctionmake_master_params
Copy model parameters into a inflated tensor of full-precision parameters.
pixal3d/trainers/utils.py:21
↓ 1 callersFunctionmodel_params_to_master_params
Copy the model parameter data into the master parameters.
pixal3d/trainers/utils.py:40
↓ 1 callersFunctionnearest_power_of_two
(n: int)
pixal3d/datasets/sparse_voxel_pbr.py:23
↓ 1 callersFunctionnested_contexts
(*contexts)
pixal3d/utils/general_utils.py:122
↓ 1 callersFunctionnormalize_scene
Normalizes the scene by scaling and translating it to fit in a unit cube centered at the origin. Mostly taken from the Point-E / Shap-E rende
data_toolkit/blender_script/dump_pbr.py:140
↓ 1 callersFunctionnormalize_scene
Normalizes the scene by scaling and translating it to fit in a unit cube centered at the origin. Mostly taken from the Point-E / Shap-E rende
data_toolkit/blender_script/dump_mesh.py:139
↓ 1 callersFunctionnormalize_scene
Normalizes the scene by scaling and translating it to fit in a unit cube centered at the origin. Mostly taken from the Point-E / Shap-E rende
data_toolkit/blender_script/render_cond.py:315
↓ 1 callersFunctionnotes_on_image
(img, notes=None)
data_toolkit/utils.py:251
↓ 1 callersFunctionnotes_on_image
(img, notes=None)
pixal3d/utils/general_utils.py:156
↓ 1 callersFunctionpack_state
(shape_slat, tex_slat, res)
app.py:250
↓ 1 callersFunctionpca_color
Apply PCA to the features and return the first three principal components.
pixal3d/utils/vis_utils.py:9
↓ 1 callersFunctionpixel_shuffle_3d
3D pixel shuffle.
pixal3d/modules/spatial.py:4
↓ 1 callersMethodpostprocess_mesh
( self, mesh: trimesh.Trimesh, pbr_voxel: SparseTensor, resolution: int = 1024
pixal3d/pipelines/trellis2_texturing.py:287
↓ 1 callersMethodprepare_dataloader
Prepare dataloader.
pixal3d/trainers/basic.py:289
↓ 1 callersFunctionprepare_pbr_dump
Prepare PBR dump data for processing. Consistent with voxelize_pbr.py preprocessing. Args: dump: raw PBR dump data Returns:
data_toolkit/voxelize_pbr_view.py:148
↓ 1 callersMethodpreprocess_image
Preprocess the input image. Args: input: Input image (RGB or RGBA). bg_color: Background color (R, G, B) in
pixal3d/pipelines/trellis2_image_to_3d.py:131
↓ 1 callersMethodpreprocess_image
Preprocess the input image.
pixal3d/pipelines/trellis2_texturing.py:122
↓ 1 callersMethodpreprocess_mesh
Preprocess the input mesh.
pixal3d/pipelines/trellis2_texturing.py:106
↓ 1 callersMethodprod
(self, dim: Optional[Union[int, Tuple[int,...]]] = None, keepdim: bool = False)
pixal3d/modules/sparse/basic.py:292
↓ 1 callersMethodprofile
Profile the training loop.
pixal3d/trainers/basic.py:1281
↓ 1 callersFunctionproj_camera_to_render_params
Convert proj camera parameters to renderer-compatible extrinsics + intrinsics. The proj camera (Blender convention) views from the front
pixal3d/utils/render_utils.py:126
↓ 1 callersMethodquery_attrs
(self, xyz)
pixal3d/representations/mesh/base.py:222
↓ 1 callersFunctionradical_inverse
(base, n)
data_toolkit/utils.py:20
↓ 1 callersFunctionradical_inverse
(base, n)
pixal3d/utils/random_utils.py:5
↓ 1 callersMethodread_dual_grid
(self, root, instance)
pixal3d/datasets/flexi_dual_grid.py:128
↓ 1 callersMethodread_mesh
(self, root, instance)
pixal3d/datasets/flexi_dual_grid.py:106
↓ 1 callersMethodread_mesh_with_texture
(self, root, instance)
pixal3d/datasets/sparse_voxel_pbr.py:181
↓ 1 callersMethodregister_memory_controller
(self, memory_controller: MemoryController)
pixal3d/utils/elastic_utils.py:173
↓ 1 callersFunctionrender_video
Render a turntable video of the sample. Args: start_yaw: Starting yaw angle in radians. If None, defaults to π/2. start_
pixal3d/utils/render_utils.py:83
↓ 1 callersFunctionrun_inference
( image_path: str, output_path: str, seed: int = 42, ss_guidance_strength: float = 7.5, ss
inference.py:161
↓ 1 callersMethodsample
(self, directions: torch.Tensor)
pixal3d/renderers/pbr_mesh_renderer.py:55
↓ 1 callersFunctionsample_features
Sample features from feature map at specified NDC coordinates. Args: fmap: torch.Tensor, shape [B, C, H, W], feature map
pixal3d/trainers/flow_matching/mixins/image_conditioned_proj.py:111
↓ 1 callersMethodsample_once
Sample x_{t-1} from the model using Euler method. Args: model: The model to sample from. x_t: The [N
pixal3d/pipelines/samplers/flow_euler.py:54
↓ 1 callersMethodsample_shape_slat
Sample structured latent with the given conditioning. Args: cond (dict): The conditioning information.
pixal3d/pipelines/pixal3d_image_to_3d.py:350
↓ 1 callersMethodsample_sparse_structure
Sample sparse structures with the given conditioning. Args: cond (dict): The conditioning information.
pixal3d/pipelines/trellis2_image_to_3d.py:199
↓ 1 callersMethodsample_sparse_structure
Sample sparse structures with the given conditioning. Args: cond (dict): The conditioning information.
pixal3d/pipelines/pixal3d_image_to_3d.py:301
↓ 1 callersMethodsample_tex_slat
Sample texture structured latent with the given conditioning. Args: cond (dict): The conditioning information.
pixal3d/pipelines/pixal3d_image_to_3d.py:510
↓ 1 callersMethodsample_tex_slat
Sample structured latent with the given conditioning. Args: cond (dict): The conditioning information.
pixal3d/pipelines/trellis2_texturing.py:224
↓ 1 callersFunctionsave_image_with_notes
Save an image with notes.
pixal3d/utils/general_utils.py:336
↓ 1 callersFunctionscreen_space_ambient_occlusion
Screen space ambient occlusion (SSAO) Args: depth (torch.Tensor): [H, W, 1] depth image normal (torch.Tensor): [H, W, 3] nor
pixal3d/renderers/pbr_mesh_renderer.py:93
↓ 1 callersFunctionsetup_dist
(rank, local_rank, world_size, master_addr, master_port)
pixal3d/utils/dist_utils.py:10
↓ 1 callersFunctionsetup_rng
(rank)
train.py:42
↓ 1 callersMethodshade
(self, gb_pos, gb_normal, kd, ks, view_pos, specular=True)
pixal3d/renderers/pbr_mesh_renderer.py:52
↓ 1 callersMethodsimplify
(self, target=1000000, verbose: bool=False, options: dict={})
pixal3d/representations/mesh/base.py:71
↓ 1 callersMethodsnapshot_dataset
Sample images from the dataset.
pixal3d/trainers/basic.py:574
↓ 1 callersFunctionsparse_cat
Concatenate a list of sparse tensors. Args: inputs (List[SparseTensor]): List of sparse tensors to concatenate.
pixal3d/modules/sparse/basic.py:797
↓ 1 callersFunctionsparse_unbind
Unbind a sparse tensor along a dimension. Args: input (SparseTensor): Sparse tensor to unbind. dim (int): Dimension to u
pixal3d/modules/sparse/basic.py:824
↓ 1 callersFunctionsphere_hammersley_sequence
(n, num_samples, offset=(0, 0))
data_toolkit/utils.py:37
↓ 1 callersFunctionsphere_hammersley_sequence
(n, num_samples, offset=(0, 0), remap=False)
pixal3d/utils/random_utils.py:22
↓ 1 callersMethodsplit_attrs
(self)
pixal3d/representations/voxel/voxel_model.py:26
↓ 1 callersFunctionstr_to_dtype
(dtype_str: str)
pixal3d/trainers/utils.py:8
↓ 1 callersMethodtimestep_embedding
Create sinusoidal timestep embeddings. Args: t: a 1-D Tensor of N indices, one per batch element. These
pixal3d/models/sparse_structure_flow.py:26
↓ 1 callersMethodto
(self, device: str)
pixal3d/pipelines/rembg/BiRefNet.py:22
↓ 1 callersMethodtraining_losses
Compute training losses.
pixal3d/trainers/basic.py:957
↓ 1 callersFunctiontransform_mesh
Apply multi-view transform to mesh vertices based on camera transform matrix.
data_toolkit/utils.py:496
↓ 1 callersFunctiontransform_normals
Apply multi-view transform to normals (rotation only). Consistent with test_ovoxel_pbr_transform.py implementation. Args: normal
data_toolkit/voxelize_pbr_view.py:78
↓ 1 callersFunctiontransform_pbr_dump
Apply multi-view transform to entire PBR dump data. Processing flow (based on test_ovoxel_pbr_transform.py): 1. Box normalize all vertic
data_toolkit/voxelize_pbr_view.py:189
↓ 1 callersFunctiontransform_vertices
Apply multi-view transform to vertices based on camera transform matrix. Args: vertices: torch.Tensor, shape [N, 3], vertex coordina
data_toolkit/voxelize_pbr_view.py:25
↓ 1 callersFunctiontry_extract_factor
Tries to extract a factor from a math node link. Supported sub tree modes: - color: ANY -> MIX(MULTIPLY) -> - scalar:
data_toolkit/blender_script/dump_pbr.py:256
↓ 1 callersFunctiontry_extract_image
Tries to extract an image from a texture node link. Supported sub tree modes: - RGB: TEX_IMAGE -> - R, G, B: TEX_
data_toolkit/blender_script/dump_pbr.py:209
↓ 1 callersFunctionunflatten_master_params
Unflatten the master parameters to look like model_params.
pixal3d/trainers/utils.py:33
↓ 1 callersFunctionunpack_state
(state_path)
app.py:262
↓ 1 callersMethodupdate_ema
Update exponential moving average. Should only be called by the rank 0 process.
pixal3d/trainers/basic.py:862
↓ 1 callersFunctionvarlen_unbind
Unbind a varlen tensor along a dimension. Args: input (VarLenTensor): Varlen tensor to unbind. dim (int): Dimension to u
pixal3d/modules/sparse/basic.py:328
↓ 1 callersMethodwith_mem_ratio
Context manager for training with a reduced memory ratio compared to the full memory usage. Returns: float: The
pixal3d/utils/elastic_utils.py:207
↓ 1 callersFunctionwrap_line
Wrap a single line of text into multiple lines such that each line's width (measured at the given scale) does not exceed max_width.
data_toolkit/utils.py:293
← previousnext →301–400 of 865, ranked by callers