MCPcopy Create free account

hub / github.com/Tencent-Hunyuan/Hunyuan3D-1 / functions

Functions479 in github.com/Tencent-Hunyuan/Hunyuan3D-1

↓ 16 callersFunctionexists
(val)
svrm/ldm/modules/x_transformer.py:54
↓ 15 callersMethodwrite
Write text to stdout (and a file) and optionally flush.
svrm/ldm/modules/rendering_neus/third_party/dnnlib/util.py:80
↓ 12 callersMethod__init__
(self, value, fn)
svrm/ldm/modules/x_transformer.py:118
↓ 11 callersMethod__init__
(self, dim_in, dim_out)
svrm/ldm/modules/attention.py:96
↓ 8 callersFunction_make_dinov2_model
( *, arch_name: str = "vit_large", img_size: int = 518, patch_size: int = 14, init_values:
svrm/ldm/modules/encoders/dinov2/hub/backbones.py:18
↓ 7 callersFunctiondefault
(val, d)
svrm/ldm/modules/attention.py:29
↓ 6 callersFunctiondefault
(val, d)
svrm/ldm/modules/x_transformer.py:58
↓ 6 callersMethodprepare_tokens_with_masks
(self, x, masks=None)
svrm/ldm/modules/encoders/dinov2/models/vision_transformer.py:216
↓ 4 callersFunctioncheck_bake_available
()
third_party/check.py:5
↓ 4 callersMethodfrom_pretrained
(cls, pretrained_model_name_or_path, *model_args, **kwargs)
mvd/hunyuan3d_mvd_std_pipeline.py:468
↓ 4 callersFunctionget_parameter_number
(model)
infer/utils.py:80
↓ 4 callersFunctioninstantiate_from_config
(config)
svrm/ldm/util.py:127
↓ 4 callersFunctionrender_func
obj_filename: path to obj file gif_dst_path: if set a path, will render n_views frames, then save it to a gif file
svrm/ldm/vis_util.py:30
↓ 4 callersFunctionseed_everything
seed everthing
infer/utils.py:37
↓ 4 callersFunctionset_parameter_grad_false
(model)
infer/utils.py:86
↓ 3 callersMethod_unwrap_uv
( self, xatlas_chart_options: dict = {}, xatlas_pack_options: dict = {} )
svrm/ldm/modules/rendering_neus/mesh.py:209
↓ 3 callersMethodalign_and_check
(self, src, dst, align_times=3)
third_party/mesh_baker.py:41
↓ 3 callersFunctioncreate_window
(window_size, channel)
svrm/ldm/modules/rendering_neus/third_party/pytorch_ssim/__init__.py:13
↓ 3 callersFunctionexists
(val)
svrm/ldm/modules/attention.py:21
↓ 3 callersMethodforward_points
(self, planes, points: torch.Tensor, chunk_size: int = 2**20)
svrm/ldm/modules/rendering_neus/synthesizer.py:251
↓ 3 callersFunctionget_obj_from_module
Traverses the object name and returns the last (rightmost) python object.
svrm/ldm/modules/rendering_neus/third_party/dnnlib/util.py:279
↓ 3 callersFunctionnamed_params_and_buffers
(module)
svrm/ldm/modules/rendering_neus/third_party/misc.py:153
↓ 3 callersFunctionpoints_transform
@param: H is homography matrix of dimension (3x3) @param: pt is the (x, y) point to be transformed Return: returns a transfo
third_party/dust3r_utils.py:156
↓ 3 callersMethodpredict
( self, intput_imgs, save_dir = "outputs/", image_input = None, tar
svrm/predictor.py:133
↓ 3 callersMethodrun_model
(self, planes, decoder, sample_coordinates, sample_directions, options)
svrm/ldm/modules/rendering_neus/utils/renderer.py:215
↓ 3 callersFunctionstr_to_bool
(s)
infer/utils.py:90
↓ 2 callersMethod__init__
(self, unet, scheduler)
mvd/hunyuan3d_mvd_std_pipeline.py:110
↓ 2 callersMethod__init__
(self, unet, train_sched, val_sched)
mvd/hunyuan3d_mvd_lite_pipeline.py:111
↓ 2 callersMethod_forward_pass
Additional filtering is applied to filter out-of-box samples. Modifications made by Zexin He.
svrm/ldm/modules/rendering_neus/utils/renderer.py:114
↓ 2 callersFunction_make_dinov2_model_name
(arch_name: str, patch_size: int, num_register_tokens: int = 0)
svrm/ldm/modules/encoders/dinov2/hub/utils.py:17
↓ 2 callersFunction_resize_pil_image
(img, long_edge_size)
third_party/dust3r_utils.py:41
↓ 2 callersFunction_ssim
(img1, img2, window, window_size, channel, use_padding, size_average=True)
svrm/ldm/modules/rendering_neus/third_party/pytorch_ssim/__init__.py:20
↓ 2 callersFunctionalways
(val)
svrm/ldm/modules/x_transformer.py:64
↓ 2 callersMethodcall
args: prompr: str seed: int steps: int return: rgb: PIL.Image
infer/text_to_image.py:68
↓ 2 callersMethodcall
(self, pil_img, seed=0, steps=50, guidance_scale=2.0)
infer/image_to_views.py:90
↓ 2 callersMethodcall
can set views_pil, cond_pil simutaously or set gif_pil only seed: int target_face_count: int save_fo
infer/views_to_mesh.py:76
↓ 2 callersMethodcall
(self, save_folder, force=False, front='auto', others=['180°'], align_times=3, seed=0)
third_party/mesh_baker.py:75
↓ 2 callersFunctioncheckpoint
Evaluate a function without caching intermediate activations, allowing for reduced memory at the expense of extra compute in the backward pas
svrm/ldm/modules/attention.py:45
↓ 2 callersFunctionclamp
(v, T=0.0001)
svrm/ldm/utils/ops.py:463
↓ 2 callersFunctiondot
(x, y)
svrm/ldm/modules/rendering_neus/mesh.py:9
↓ 2 callersFunctiondrop_add_residual_stochastic_depth
( x: Tensor, residual_func: Callable[[Tensor], Tensor], sample_drop_ratio: float = 0.0, )
svrm/ldm/modules/encoders/dinov2/layers/block.py:122
↓ 2 callersFunctiondrop_add_residual_stochastic_list
( x_list: List[Tensor], residual_func: Callable[[Tensor, Any], Tensor], sample_drop_ratio: float =
svrm/ldm/modules/encoders/dinov2/layers/block.py:197
↓ 2 callersMethodencode_condition_image
(self, image: torch.Tensor)
mvd/hunyuan3d_mvd_lite_pipeline.py:297
↓ 2 callersMethodencode_image
(self, image: torch.Tensor, scale_factor: bool = False)
mvd/hunyuan3d_mvd_std_pipeline.py:219
↓ 2 callersFunctionestimate_img_mask
(image)
svrm/utils/img_utils.py:56
↓ 2 callersFunctionestimate_img_mask
(image)
third_party/utils/img_utils.py:56
↓ 2 callersMethodflush
Flush written text to both stdout and a file, if open.
svrm/ldm/modules/rendering_neus/third_party/dnnlib/util.py:95
↓ 2 callersMethodforward_features_list
(self, x_list, masks_list)
svrm/ldm/modules/encoders/dinov2/models/vision_transformer.py:237
↓ 2 callersMethodforward_features_with_camera
(self, x, cam_cond, masks=None)
svrm/ldm/modules/encoders/dinov2/models/vision_transformer.py:297
↓ 2 callersFunctionget_attn_bias_and_cat
this will perform the index select, cat the tensors, and provide the attn_bias from cache
svrm/ldm/modules/encoders/dinov2/layers/block.py:173
↓ 2 callersFunctionget_module_from_obj_name
Searches for the underlying module behind the name to some python object. Returns the module and the object name (original name with module part r
svrm/ldm/modules/rendering_neus/third_party/dnnlib/util.py:238
↓ 2 callersFunctiongroup_dict_by_key
(cond, d)
svrm/ldm/modules/x_transformer.py:93
↓ 2 callersFunctiongroupby_prefix_and_trim
(prefix, d)
svrm/ldm/modules/x_transformer.py:110
↓ 2 callersMethodinterpolate
( self, attr: Float[Tensor, "B Nv C"], rast: Float[Tensor, "B H W 4"], tri: In
svrm/ldm/modules/rendering_neus/rasterize.py:58
↓ 2 callersFunctionmake_2tuple
(x)
svrm/ldm/modules/encoders/dinov2/layers/patch_embed.py:16
↓ 2 callersFunctionrecenter_img
(img, size=512, color=(255,255,255))
mvd/utils.py:61
↓ 2 callersFunctionrgba_to_rgb
(image, bg_color=[255, 255, 255])
third_party/utils/img_utils.py:21
↓ 2 callersFunctionsample_from_planes
(plane_axes, plane_features, coordinates, mode='bilinear', padding_mode='zeros', box_warp=None)
svrm/ldm/modules/rendering_neus/utils/renderer.py:62
↓ 2 callersMethodsample_stratified
Return depths of approximately uniformly spaced samples along rays.
svrm/ldm/modules/rendering_neus/utils/renderer.py:247
↓ 2 callersMethodstep
Performs a single optimization step. Args: closure (callable, optional): A closure that reevaluates the model and
svrm/ldm/util.py:174
↓ 2 callersFunctionsuppress_tracer_warnings
()
svrm/ldm/modules/rendering_neus/third_party/misc.py:73
↓ 2 callersFunctionto_rgb_image
convert a PIL.Image to rgb mode with white background maybe_rgba: PIL.Image return: PIL.Image
mvd/utils.py:28
↓ 1 callersFunctionNormalize
(in_channels)
svrm/ldm/modules/attention.py:134
↓ 1 callersMethod__init__
( self, in_features: int, hidden_features: Optional[int] = None, out_features:
svrm/ldm/modules/encoders/dinov2/layers/swiglu_ffn.py:15
↓ 1 callersMethod__init__
(self, n_features: int, hidden_dim: int = 64, num_layers: int = 2,
svrm/ldm/modules/rendering_neus/synthesizer.py:27
↓ 1 callersMethod__init__
(self, activation_factory)
svrm/ldm/modules/rendering_neus/utils/ray_marcher.py:39
↓ 1 callersMethod__init__
(self, v: np.ndarray, f: np.ndarray)
svrm/ldm/utils/ops.py:411
↓ 1 callersFunction_bias_act_cuda
Fast CUDA implementation of `bias_act()` using custom ops.
svrm/ldm/modules/rendering_neus/third_party/ops/bias_act.py:128
↓ 1 callersFunction_bias_act_ref
Slow reference implementation of `bias_act()` using standard TensorFlow ops.
svrm/ldm/modules/rendering_neus/third_party/ops/bias_act.py:93
↓ 1 callersMethod_build_activation_factory
(self)
svrm/ldm/modules/rendering_neus/utils/renderer.py:106
↓ 1 callersFunction_build_mlp
(nlayers, in_dim, bottleneck_dim, hidden_dim=None, use_bn=False, bias=True)
svrm/ldm/modules/encoders/dinov2/layers/dino_head.py:44
↓ 1 callersMethod_compute_edges
(self)
svrm/ldm/modules/rendering_neus/mesh.py:257
↓ 1 callersMethod_compute_vertex_normal
(self)
svrm/ldm/modules/rendering_neus/mesh.py:136
↓ 1 callersMethod_compute_vertex_tangent
(self)
svrm/ldm/modules/rendering_neus/mesh.py:164
↓ 1 callersMethod_encode_prompt
( self, prompt, device, num_images_per_prompt, do_classifier_free_guid
mvd/hunyuan3d_mvd_lite_pipeline.py:209
↓ 1 callersFunction_find_compiler_bindir
()
svrm/ldm/modules/rendering_neus/third_party/custom_ops.py:31
↓ 1 callersMethod_get_add_time_ids
( self, original_size, crops_coords_top_left, target_size, dtype, text_encoder_projection_dim=None
mvd/hunyuan3d_mvd_std_pipeline.py:246
↓ 1 callersMethod_get_inter_layers_not_chunked
(self, x, n=1)
svrm/ldm/modules/encoders/dinov2/models/vision_transformer.py:313
↓ 1 callersMethod_get_intermediate_layers_chunked
(self, x, n=1)
svrm/ldm/modules/encoders/dinov2/models/vision_transformer.py:325
↓ 1 callersFunction_get_mangled_gpu_name
()
svrm/ldm/modules/rendering_neus/third_party/custom_ops.py:46
↓ 1 callersMethod_get_pad
(self, size)
svrm/ldm/modules/encoders/dinov2/hub/utils.py:28
↓ 1 callersFunction_init
()
svrm/ldm/modules/rendering_neus/third_party/ops/bias_act.py:40
↓ 1 callersFunction_init
()
svrm/ldm/modules/rendering_neus/third_party/ops/grid_sample.py:14
↓ 1 callersMethod_laplacian_uniform
(self)
svrm/ldm/modules/rendering_neus/mesh.py:278
↓ 1 callersFunction_should_use_custom_op
()
svrm/ldm/modules/rendering_neus/third_party/ops/grid_sample_gradfix.py:35
↓ 1 callersMethodactivation_factory
(options: dict)
svrm/ldm/modules/rendering_neus/utils/renderer.py:107
↓ 1 callersMethodadd_extra
(self, k, v)
svrm/ldm/modules/rendering_neus/mesh.py:30
↓ 1 callersFunctionadd_margin
(pil_img, color, size=256)
svrm/ldm/util.py:34
↓ 1 callersFunctionadd_residual
(x, brange, residual, residual_scale_factor, scaling_vector=None)
svrm/ldm/modules/encoders/dinov2/layers/block.py:157
↓ 1 callersFunctionback_projection
( obj_file, init_texture_file, front_view_file, dst_dir, render_resolution=512, u
third_party/gen_baking.py:94
↓ 1 callersFunctionbuild_model
(args, only_teacher=False, img_size=224)
svrm/ldm/modules/encoders/dinov2/models/__init__.py:14
↓ 1 callersFunctioncall_func_by_name
Finds the python object with the given name and calls it as a function.
svrm/ldm/modules/rendering_neus/third_party/dnnlib/util.py:295
↓ 1 callersFunctionce_pq_loss
(p, q, weight=None)
svrm/ldm/utils/ops.py:462
↓ 1 callersMethodclose
Flush, close possible files, and remove stdout/stderr mirroring.
svrm/ldm/modules/rendering_neus/third_party/dnnlib/util.py:102
↓ 1 callersFunctioncompute_img_diff
(img1, img2, matches1, matches1_from_2, vis=False)
third_party/utils/img_utils.py:80
↓ 1 callersFunctionconvert_pose
(C2W)
svrm/ldm/utils/ops.py:325
↓ 1 callersFunctioncount_params
(model, verbose=False)
svrm/ldm/util.py:120
↓ 1 callersMethodcreate_camera_to_world_matrix
(self, elevation, azimuth, cam_dis=1.5)
svrm/predictor.py:70
↓ 1 callersFunctiondinov2_vitb14
DINOv2 ViT-B/14 model (optionally) pretrained on the LVD-142M dataset.
svrm/ldm/modules/encoders/dinov2/hub/backbones.py:71
↓ 1 callersFunctiondot
(x, y)
svrm/ldm/utils/ops.py:26
next →1–100 of 479, ranked by callers