MCPcopy Create free account

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

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

Functiongrid_sample_2d
(input, grid, padding_mode='zeros', align_corners=True)
svrm/ldm/modules/rendering_neus/third_party/ops/grid_sample.py:28
Functiongrid_sample_3d
(input, grid, padding_mode='zeros', align_corners=True)
svrm/ldm/modules/rendering_neus/third_party/ops/grid_sample.py:33
Functiongroup_by_key_prefix
(prefix, d)
svrm/ldm/modules/x_transformer.py:106
Methodguidance_scale
(self)
mvd/hunyuan3d_mvd_std_pipeline.py:282
Functioninit_
(tensor)
svrm/ldm/modules/attention.py:39
Functioninit_weights_vit_timm
ViT weight initialization, original timm impl (for reproducibility)
svrm/ldm/modules/encoders/dinov2/models/vision_transformer.py:374
Functioninner
(*args, **kwargs)
svrm/ldm/modules/x_transformer.py:65
Methodinterrupt
(self)
mvd/hunyuan3d_mvd_std_pipeline.py:286
Methodinv_std
(self)
svrm/ldm/modules/rendering_neus/utils/ray_marcher.py:30
Functionis_pickleable
(obj: Any)
svrm/ldm/modules/rendering_neus/third_party/dnnlib/util.py:226
Functionisimage
(x)
svrm/ldm/util.py:96
Functionismap
(x)
svrm/ldm/util.py:90
Methodlaplacian
(self)
svrm/ldm/modules/rendering_neus/mesh.py:305
Functionlinspace
Creates a tensor of shape [num, *start.shape] whose values are evenly spaced from start to end, inclusive. Replicates but the multi-dimension
svrm/ldm/modules/rendering_neus/utils/math_utils.py:101
Functionlist_dir_recursively_with_ignore
List all files recursively in a given directory while ignoring given file and directory names. Returns list of tuples containing both absolute and
svrm/ldm/modules/rendering_neus/third_party/dnnlib/util.py:331
Functionload_and_preprocess
:param input_im (PIL Image). :return image (H, W, 3) array in [0, 1].
svrm/ldm/util.py:41
Functionlog_txt_as_img
(wh, xc, size=10)
svrm/ldm/util.py:66
Functionmax_neg_value
(t)
svrm/ldm/modules/attention.py:35
Functionmean_flat
https://github.com/openai/guided-diffusion/blob/27c20a8fab9cb472df5d6bdd6c8d11c8f430b924/guided_diffusion/nn.py#L86 Take the mean over all no
svrm/ldm/util.py:112
Methodnormal_consistency
(self)
svrm/ldm/modules/rendering_neus/mesh.py:271
Functionnormalize_vecs
Normalize vector lengths.
svrm/ldm/modules/rendering_neus/utils/math_utils.py:33
Functionopen_url
Download the given URL and return a binary-mode file object to access the data.
svrm/ldm/modules/rendering_neus/third_party/dnnlib/util.py:398
Functionparams_and_buffers
(module)
svrm/ldm/modules/rendering_neus/third_party/misc.py:149
Functionperpendicular_component
(x: Float[Tensor, "B C H W"], y: Float[Tensor, "B C H W"])
svrm/ldm/utils/ops.py:518
Functionpick_and_pop
(keys, d)
svrm/ldm/modules/x_transformer.py:88
Functionpil_rectangle_crop
(im)
svrm/ldm/util.py:14
Functionpost_hook
(mod, _inputs, outputs)
svrm/ldm/modules/rendering_neus/third_party/misc.py:208
Functionpre_hook
(_mod, _inputs)
svrm/ldm/modules/rendering_neus/third_party/misc.py:206
Functionpredict_match_success
(info, model=None)
svrm/utils/img_utils.py:208
Functionpredict_match_success
(info, model=None)
third_party/utils/img_utils.py:204
Functionprint_module_summary
(module, inputs, max_nesting=3, skip_redundant=True)
svrm/ldm/modules/rendering_neus/third_party/misc.py:198
Functionprofiled_function
(fn)
svrm/ldm/modules/rendering_neus/third_party/misc.py:102
Functionquaternion_to_rotation_matrix
(quaternion)
svrm/utils/camera_utils.py:61
Functionquaternion_to_rotation_matrix
(quaternion)
third_party/utils/camera_utils.py:61
Methodrefine_mask
(self, mask, k=16)
svrm/predictor.py:94
Functionreflect
(x, n)
svrm/ldm/utils/ops.py:30
Functionremap_points
(img_size, match, size=512)
svrm/utils/camera_utils.py:66
Methodremove_outlier
(self, outlier_n_faces_threshold: Union[int, float])
svrm/ldm/modules/rendering_neus/mesh.py:33
Methodrequires_grad
(self)
svrm/ldm/modules/rendering_neus/mesh.py:99
Functionresize_with_aspect_ratio
(image1, image2, pad_value=[255, 255, 255])
svrm/utils/img_utils.py:37
Functionrgba_to_rgb
(image, bg_color=[255, 255, 255])
svrm/utils/img_utils.py:21
Functionrotation_matrix_to_quaternion
(rotation_matrix)
svrm/utils/camera_utils.py:56
Functionrotation_matrix_to_quaternion
(rotation_matrix)
third_party/utils/camera_utils.py:56
Methodrun_model_activated
(self, planes, decoder, sample_coordinates, sample_directions, options)
svrm/ldm/modules/rendering_neus/utils/renderer.py:223
Functionsample_from_3dgrid
Expects coordinates in shape (batch_size, num_points_per_batch, 3) Expects grid in shape (1, channels, H, W, D) (Also works if grid has b
svrm/ldm/modules/rendering_neus/utils/renderer.py:78
Methodsave_pretrained
(self, save_directory)
mvd/hunyuan3d_mvd_std_pipeline.py:461
Functionscale_image
(image)
mvd/hunyuan3d_mvd_std_pipeline.py:85
Functionscale_image_2
(image)
mvd/hunyuan3d_mvd_std_pipeline.py:86
Functionscale_latents
(latents)
mvd/hunyuan3d_mvd_std_pipeline.py:83
Functionset_cache_dir
(path: str)
svrm/ldm/modules/rendering_neus/third_party/dnnlib/util.py:122
Methodset_vertex_color
(self, v_rgb)
svrm/ldm/modules/rendering_neus/mesh.py:253
Functionshifted_cosine_decay
(a, b, c, r)
svrm/ldm/utils/ops.py:514
Functionshifted_expotional_decay
(a, b, c, r)
svrm/ldm/utils/ops.py:510
Methodsort_samples
(self, all_depths, all_colors, all_densities)
svrm/ldm/modules/rendering_neus/utils/renderer.py:228
Functionssim
SSIM only defined at intensity channel. For RGB or YUV or other image format, this function computes SSIm at each channel and averge them. :pa
svrm/ldm/modules/rendering_neus/third_party/pytorch_ssim/__init__.py:76
Functionstring_begins_with
(prefix, str)
svrm/ldm/modules/x_transformer.py:102
Functionsuppress_output
(func)
third_party/dust3r_utils.py:28
Methodt_tex_idx
(self)
svrm/ldm/modules/rendering_neus/mesh.py:121
Functiontet_sdf_diff
( vert_sdf: Float[Tensor, "Nv 1"], tet_edges: Integer[Tensor, "Ne 2"] )
svrm/ldm/utils/ops.py:389
Functiontiming_decorator
timing_decorator: record time
infer/utils.py:47
Functiontorch_dot
Dot product of two tensors.
svrm/ldm/modules/rendering_neus/utils/math_utils.py:39
Functiontransform_camera_pose
(im_pose, ori_pose, new_pose)
svrm/utils/camera_utils.py:31
Functiontransform_camera_pose
(im_pose, ori_pose, new_pose)
third_party/utils/camera_utils.py:31
Functiontransform_vectors
Left-multiplies MxM @ NxM. Returns NxM.
svrm/ldm/modules/rendering_neus/utils/math_utils.py:25
Functiontuple_product
Calculate the product of the tuple elements.
svrm/ldm/modules/rendering_neus/third_party/dnnlib/util.py:179
Functiontxt_to_img
(text, font=cv2.FONT_HERSHEY_SIMPLEX, font_scale=1, font_thickness=2, img_width=1000, img_height=100, text_col
svrm/utils/log_utils.py:4
Functionuniq
(arr)
svrm/ldm/modules/attention.py:25
Methodunwrap_uv
( self, xatlas_chart_options: dict = {}, xatlas_pack_options: dict = {} )
svrm/ldm/modules/rendering_neus/mesh.py:246
Functionupdate_mode
(mode)
app.py:212
Methodv_nrm
(self)
svrm/ldm/modules/rendering_neus/mesh.py:103
Methodv_tex
(self)
svrm/ldm/modules/rendering_neus/mesh.py:115
Methodv_tng
(self)
svrm/ldm/modules/rendering_neus/mesh.py:109
Functionvalidate_empty_rays
(ray_indices, t_start, t_end)
svrm/ldm/utils/ops.py:531
Methodvertex_transform
( self, verts: Float[Tensor, "Nv 3"], mvp_mtx: Float[Tensor, "B 4 4"] )
svrm/ldm/modules/rendering_neus/rasterize.py:22
Functionvit_base
(patch_size=16, num_register_tokens=0, **kwargs)
svrm/ldm/modules/encoders/dinov2/models/vision_transformer.py:404
Functionvit_small
(patch_size=16, num_register_tokens=0, **kwargs)
svrm/ldm/modules/encoders/dinov2/models/vision_transformer.py:390
Functionwrapper
(*args, **kwargs)
infer/utils.py:54
Functionwrapper
(*args, **kwargs)
third_party/dust3r_utils.py:29
Functionzero_module
Zero out the parameters of a module and return it.
svrm/ldm/modules/attention.py:125
← previous401–479 of 479, ranked by callers