MCPcopy Create free account

hub / github.com/Tencent-Hunyuan/HY3D-Bench / functions

Functions516 in github.com/Tencent-Hunyuan/HY3D-Bench

↓ 1 callersMethod__init__
(self, step_frequency: int, num_samples: int = 1, mean: Opt
baselines/core/utils/trainings/mesh_log_callback.py:39
↓ 1 callersMethod__init__
(self, sigma=0.0)
baselines/core/models/diffusion/transport/path.py:45
↓ 1 callersMethod__init__
(self, embed_dim, num_experts=16, num_experts_per_tok=2, aux_loss_alpha=0.01)
baselines/core/models/denoisers/hunyuan3d_v21/moe_layers.py:44
↓ 1 callersMethod__init__
( self, *, num_latents: int, embed_dim: int, width: int, heads
baselines/core/models/autoencoders/model.py:239
↓ 1 callersMethod__update_settings
(self, settings={})
baselines/core/utils/visualizers/pythreejs_viewer.py:66
↓ 1 callersMethod_apply_augmentations
应用所有数据增强
baselines/core/data/dit_dataset.py:767
↓ 1 callersMethod_apply_blur
应用图像模糊
baselines/core/data/dit_dataset.py:903
↓ 1 callersMethod_apply_contour
应用轮廓增强
baselines/core/data/dit_dataset.py:872
↓ 1 callersMethod_apply_padding
应用图像填充
baselines/core/data/dit_dataset.py:890
↓ 1 callersMethod_apply_radial_distort
应用径向畸变
baselines/core/data/dit_dataset.py:857
↓ 1 callersMethod_apply_rotation
应用图像旋转
baselines/core/data/dit_dataset.py:883
↓ 1 callersFunction_cached_get_obj_from_str
(string)
baselines/core/utils/misc.py:32
↓ 1 callersMethod_compute_box_stat
Compute grid size, bounding box minimum coordinates, and bounding box size based on input bounds and resolution. Args:
baselines/core/models/autoencoders/surface_extractors.py:37
↓ 1 callersMethod_compute_rotation_result
根据方位角计算旋转结果
baselines/core/data/dit_dataset.py:704
↓ 1 callersFunction_connect_to_output
连接到材质输出节点
baselines/tools/render/render.py:370
↓ 1 callersFunction_create_base_color_mix_shader
创建基础色混合shader
baselines/tools/render/render.py:351
↓ 1 callersFunction_create_metallic_roughness_combine
创建金属度粗糙度组合RGB节点
baselines/tools/render/render.py:329
↓ 1 callersFunction_create_mr_bc_node_structure
创建完整的MR和BC节点结构
baselines/tools/render/render.py:297
↓ 1 callersMethod_extract_mask_and_composite
提取mask并合成到白色背景
baselines/core/data/dit_dataset.py:754
↓ 1 callersFunction_find_existing_custom_nodes
查找已存在的自定义节点
baselines/tools/render/render.py:271
↓ 1 callersFunction_find_required_nodes
查找BSDF和输出节点
baselines/tools/render/render.py:257
↓ 1 callersFunction_get_or_create_mr_bc_nodes
获取或创建MR和BC节点
baselines/tools/render/render.py:285
↓ 1 callersMethod_get_render_path_and_version
获取渲染路径和版本
baselines/core/data/dit_dataset.py:624
↓ 1 callersMethod_get_selection_and_augmentation_flags
获取所有数据选择和增强标志
baselines/core/data/dit_dataset.py:644
↓ 1 callersMethod_init_step_index
(self, timestep)
baselines/core/schedulers.py:223
↓ 1 callersMethod_init_step_index
(self, timestep)
baselines/core/schedulers.py:428
↓ 1 callersMethod_is_in_filter_dict
检查图像是否在过滤字典中
baselines/core/data/dit_dataset.py:694
↓ 1 callersMethod_process_images
处理所有选中的图像
baselines/core/data/dit_dataset.py:717
↓ 1 callersFunction_process_material
处理单个材质
baselines/tools/render/render.py:233
↓ 1 callersFunction_process_output_nodes
处理输出节点链接
baselines/tools/render/render.py:220
↓ 1 callersMethod_select_image
过滤并选择图像
baselines/core/data/dit_dataset.py:655
↓ 1 callersFunction_setup_scene_view_settings
设置场景视图
baselines/tools/render/render.py:214
↓ 1 callersMethod_should_skip_image
判断是否应该跳过该图像
baselines/core/data/dit_dataset.py:676
↓ 1 callersMethod_shuffle
Shuffle the data in the stream. This uses a buffer of size `bufsize`. Shuffling at startup is less random; this is traded off against
baselines/core/data/dit_dataset.py:1200
↓ 1 callersMethodadd_edges
(self, vertices, edges, shading={}, obj=None, **kwargs)
baselines/core/utils/visualizers/pythreejs_viewer.py:344
↓ 1 callersFunctionbase_plus_ext
Split off all file extensions. Returns base, allext. Args: path: path with extensions Returns: path with all extensions
baselines/core/data/tariterators.py:29
↓ 1 callersFunctioncenter_vertices
Translate the vertices so that bounding box is centered at zero.
baselines/core/models/autoencoders/surface_extractors.py:28
↓ 1 callersFunctionchamfer_distance_from_meshes
Compute Chamfer distance between predicted mesh and ground-truth mesh. pred_vertices/pred_faces: mesh A (prediction) gt_vertices/gt_face
baselines/tools/evaluation/chamfer_distance.py:107
↓ 1 callersMethodcheck_frequency
(self, batch_idx: int)
baselines/core/utils/trainings/callback.py:174
↓ 1 callersMethodcheck_frequency
(self, step: int)
baselines/core/utils/trainings/mesh_log_callback.py:226
↓ 1 callersFunctioncleanup_distributed
清理分布式环境
baselines/scripts_infer/infer.py:77
↓ 1 callersMethodcompute_d_alpha_alpha_ratio_t
Compute the ratio between d_alpha and alpha
baselines/core/models/diffusion/transport/path.py:56
↓ 1 callersMethodcompute_diffusion
Compute the diffusion term of the SDE Args: x: [batch_dim, ...], data point t: [batch_dim,], time vector form: s
baselines/core/models/diffusion/transport/path.py:70
↓ 1 callersMethodcompute_metric
compute ulip and uni3d score for a list of image and mesh paths image_paths: list of image paths mesh_paths: list of mesh pat
evaluate/run_metric.py:72
↓ 1 callersMethodcompute_mu_t
Compute the mean of time-dependent density p_t
baselines/core/models/diffusion/transport/path.py:139
↓ 1 callersMethodcompute_ulip
compute ulip score between point cloud and images pc: (1, N, 3) torch tensor images: list of PIL images
evaluate/run_metric.py:52
↓ 1 callersMethodcompute_uni3d
compute uni3d score between point cloud and images pc: (1, N, 3) torch tensor images: list of PIL images
evaluate/run_metric.py:62
↓ 1 callersMethodcompute_ut
Compute the vector field corresponding to p_t
baselines/core/models/diffusion/transport/path.py:152
↓ 1 callersMethodcompute_xt
Sample xt from time-dependent density p_t; rng is required
baselines/core/models/diffusion/transport/path.py:147
↓ 1 callersMethodcontain_uv_texture
(self)
baselines/core/utils/trainings/mesh.py:98
↓ 1 callersMethodcontain_vertex_colors
(self)
baselines/core/utils/trainings/mesh.py:101
↓ 1 callersFunctionconvert_to_meshes
Converts all objects in the scene to meshes. Returns: None
baselines/tools/render/render.py:842
↓ 1 callersMethodcopy_to
(self, model)
baselines/core/utils/ema.py:46
↓ 1 callersMethoddecode
(self, item)
baselines/core/data/dit_dataset.py:1066
↓ 1 callersFunctiondelete_invisible_objects
Deletes all invisible objects in the scene. Returns: None
baselines/tools/render/render.py:783
↓ 1 callersFunctionela_zero_check
(path)
baselines/core/data/dit_dataset.py:198
↓ 1 callersMethodema_scope
(self, context=None)
baselines/core/models/diffusion/flow_matching_sit.py:130
↓ 1 callersMethodenable_model_cpu_offload
r""" Offloads all models to CPU using accelerate, reducing memory usage with a low impact on performance. Compared to `enable_sequenti
baselines/core/pipelines.py:330
↓ 1 callersFunctionextract_near_surface_volume_fn
(input_tensor: torch.Tensor, alpha: float)
baselines/core/models/autoencoders/volume_decoders.py:29
↓ 1 callersFunctionfov_check
(trans_info,fov_range)
baselines/core/data/dit_dataset.py:204
↓ 1 callersMethodfrom_pretrained
( cls, model_path, device='cuda', dtype=torch.float16, use_safetensors
baselines/core/models/autoencoders/model.py:157
↓ 1 callersMethodfrom_single_file
( cls, ckpt_path, config_path, device='cuda', dtype=torch.float16,
baselines/core/pipelines.py:137
↓ 1 callersMethodfrom_single_file
( cls, ckpt_path, config_path, device='cuda', dtype=torch.float16,
baselines/core/models/denoisers/hunyuan3d_v21/hunyuandit.py:534
↓ 1 callersMethodfrom_single_file
( cls, ckpt_path, config_path, device='cuda', dtype=torch.float16,
baselines/core/models/autoencoders/model.py:122
↓ 1 callersFunctiongen_checkers
(n_checkers_x, n_checkers_y, width=256, height=256)
baselines/core/utils/visualizers/color_util.py:30
↓ 1 callersFunctiongen_circle
(width=256, height=256)
baselines/core/utils/visualizers/color_util.py:48
↓ 1 callersFunctionget_1d_sincos_pos_embed_from_grid
embed_dim: output dimension for each position pos: a list of positions to be encoded: size (M,) out: (M, D)
baselines/core/models/conditioner.py:38
↓ 1 callersFunctionget_1d_sincos_pos_embed_from_grid
embed_dim: output dimension for each position pos: a list of positions to be encoded: size (M,) out: (M, D)
baselines/core/models/denoisers/hunyuan3d_v21/hunyuandit.py:43
↓ 1 callersFunctionget_args
()
baselines/main_release.py:98
↓ 1 callersMethodget_dims
(self, input_dim)
baselines/core/models/autoencoders/attention_blocks.py:117
↓ 1 callersMethodget_drift
member function for obtaining the drift of the probability flow ODE
baselines/core/models/diffusion/transport/transport.py:202
↓ 1 callersFunctionget_experiment
()
baselines/core/utils/trainings/callback.py:42
↓ 1 callersMethodget_guidance_scale_embedding
See https://github.com/google-research/vdm/blob/dc27b98a554f65cdc654b800da5aa1846545d41b/model_vdm.py#L298 Args: timeste
baselines/core/pipelines.py:519
↓ 1 callersMethodget_img_dict
(self, imgdict_path)
baselines/core/data/dit_dataset.py:410
↓ 1 callersFunctionget_logger
(name)
baselines/core/utils/utils.py:22
↓ 1 callersFunctionget_obj_from_str
(string, reload=False)
baselines/core/pipelines.py:113
↓ 1 callersMethodget_rotation_dict
(self, rotationdict_path)
baselines/core/data/dit_dataset.py:405
↓ 1 callersMethodget_score
member function for obtaining score of x_t = alpha_t * x + sigma_t * eps
baselines/core/models/diffusion/transport/transport.py:237
↓ 1 callersMethodget_score_from_velocity
Wrapper function: transfrom velocity prediction model to score Args: velocity: [batch_dim, ...] shaped tensor; velocity model outp
baselines/core/models/diffusion/transport/path.py:95
↓ 1 callersFunctionget_transform_matrix
(obj: bpy.types.Object)
baselines/tools/render/render.py:933
↓ 1 callersFunctionget_world_size
()
baselines/core/utils/misc.py:100
↓ 1 callersFunctiongetdata_list
(meta_info, split_list)
baselines/core/data/dit_dataset.py:1307
↓ 1 callersFunctiongroup_by_keys
Group tarfile contents by keys and yield samples. Args: data: iterator over tarfile contents keys: function that takes a file nam
baselines/core/data/tariterators.py:337
↓ 1 callersFunctionguess_batchsize
Guess the batch size by looking at the length of the first element in a tuple.
baselines/core/data/utils.py:62
↓ 1 callersFunctionhalton_sequence
(dim, n)
baselines/tools/render/render.py:67
↓ 1 callersFunctionhammersley_sequence
(dim, n, num_samples)
baselines/tools/render/render.py:70
↓ 1 callersMethodindex_for_timestep
(self, timestep, schedule_timesteps=None)
baselines/core/schedulers.py:414
↓ 1 callersFunctioninit_camera
()
baselines/tools/render/render.py:694
↓ 1 callersMethodinit_from_ckpt_scale_up
(self, path, ignore_keys=())
baselines/core/models/diffusion/flow_matching_sit.py:168
↓ 1 callersFunctioninit_lighting
()
baselines/tools/render/render.py:708
↓ 1 callersFunctioninit_nodes
(save_depth=False, save_normal=False, save_albedo=False, save_mr = False, save_mist=False)
baselines/tools/render/render.py:587
↓ 1 callersFunctioninit_render
(engine='CYCLES', resolution=512, geo_mode=False)
baselines/tools/render/render.py:565
↓ 1 callersFunctioninit_scene
Resets the scene to a clean state. Returns: None
baselines/tools/render/render.py:672
↓ 1 callersMethodload_data
(self)
baselines/scripts_infer/infer.py:28
↓ 1 callersFunctionload_mesh
(path)
baselines/core/postprocessors.py:28
↓ 1 callersFunctionload_model
加载模型(单卡推理,不进行模型并行)
baselines/scripts_infer/infer.py:82
↓ 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
baselines/tools/render/render.py:742
↓ 1 callersMethodload_render
主函数:加载渲染图像
baselines/core/data/dit_dataset.py:597
↓ 1 callersFunctionload_surface
Normalize the mesh, sample points and normals from its surface, and randomly select a subset. Args: mesh (trimesh.Trimesh): Input me
baselines/core/surface_loaders.py:67
↓ 1 callersMethodload_surface_sdf_points
(self, rng, random_surface, sharpedge_surface, sdf_vol, sdf_near, sdf_sharpedge, uid,
baselines/core/data/dit_dataset.py:443
← previousnext →101–200 of 516, ranked by callers