MCPcopy Create free account

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

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

↓ 1 callersFunctiondrop_path
(x, drop_prob: float = 0.0, training: bool = False)
svrm/ldm/modules/encoders/dinov2/layers/drop_path.py:14
↓ 1 callersFunctionequals
(val)
svrm/ldm/modules/x_transformer.py:76
↓ 1 callersFunctionexists
(x)
svrm/ldm/util.py:102
↓ 1 callersMethodexport_mesh_with_uv
do_texture_mapping: True for ray texture, False for vertices texture
svrm/ldm/models/svrm.py:127
↓ 1 callersMethodforward
(self, x)
svrm/ldm/modules/attention.py:100
↓ 1 callersMethodforward
(self, x: Tensor, cam_emb: Tensor)
svrm/ldm/modules/encoders/dinov2/layers/block.py:94
↓ 1 callersMethodforward
(self, x: Tensor)
svrm/ldm/modules/encoders/dinov2/layers/attention.py:56
↓ 1 callersMethodforward_grid
(self, planes, grid_size: int, aabb: torch.Tensor = None)
svrm/ldm/modules/rendering_neus/synthesizer.py:219
↓ 1 callersMethodforward_nested
x_list contains a list of tensors to nest together and run
svrm/ldm/modules/encoders/dinov2/layers/block.py:221
↓ 1 callersMethodforward_sdf
(self, plane_axes, planes, points_offset, options)
svrm/ldm/modules/rendering_neus/synthesizer.py:103
↓ 1 callersFunctiongaussian
(window_size, sigma)
svrm/ldm/modules/rendering_neus/third_party/pytorch_ssim/__init__.py:8
↓ 1 callersMethodgaussian_weighted_distance
(self, query: torch.Tensor, sigma)
svrm/ldm/utils/ops.py:450
↓ 1 callersFunctiongen_save_folder
(max_size=30)
app.py:134
↓ 1 callersFunctiongenerate_planes
Defines planes by the three vectors that form the "axes" of the plane. Should work with arbitrary number of planes and planes of arbitrar
svrm/ldm/modules/rendering_neus/utils/renderer.py:28
↓ 1 callersMethodget_alpha
(self, sdf, normal, dirs, dists)
svrm/ldm/modules/rendering_neus/utils/ray_marcher.py:44
↓ 1 callersFunctionget_args
()
main.py:49
↓ 1 callersFunctionget_args
()
infer/text_to_image.py:90
↓ 1 callersFunctionget_args
()
infer/gif_render.py:65
↓ 1 callersFunctionget_args
()
infer/image_to_views.py:106
↓ 1 callersFunctionget_args
()
infer/views_to_mesh.py:122
↓ 1 callersFunctionget_args
()
infer/removebg.py:84
↓ 1 callersFunctionget_branges_scales
(x, sample_drop_ratio=0.0)
svrm/ldm/modules/encoders/dinov2/layers/block.py:148
↓ 1 callersFunctionget_example_img_list
()
app.py:89
↓ 1 callersFunctionget_example_txt_list
()
app.py:93
↓ 1 callersFunctionget_obj_by_name
Finds the python object with the given name.
svrm/ldm/modules/rendering_neus/third_party/dnnlib/util.py:289
↓ 1 callersFunctionget_obj_from_str
(string, reload=False)
svrm/ldm/util.py:137
↓ 1 callersFunctionget_projection_matrix_gaussian
(znear, zfar, fovX, fovY, device="cuda")
svrm/ldm/utils/ops.py:333
↓ 1 callersFunctionget_triangle_to_triangle
(tri_1, tri_2, img_refined)
third_party/gen_baking.py:68
↓ 1 callersFunctioninfer_match
(images, model, vis=False, niter=300, lr=0.01, schedule='cosine', device="cuda:0")
third_party/dust3r_utils.py:81
↓ 1 callersFunctioninfer_warp_mesh_img
(src, dst, model, vis=False)
third_party/dust3r_utils.py:334
↓ 1 callersMethodinit_
(self)
svrm/ldm/modules/x_transformer.py:31
↓ 1 callersMethodinit_
(self)
svrm/ldm/modules/x_transformer.py:595
↓ 1 callersMethodinit_model
(self, ckpt_path, cfg_path)
svrm/predictor.py:57
↓ 1 callersMethodinit_weights
(self)
svrm/ldm/modules/encoders/dinov2/models/vision_transformer.py:179
↓ 1 callersMethodinitialize_context
( self, context_type: str, device: torch.device )
svrm/ldm/modules/rendering_neus/rasterize.py:12
↓ 1 callersMethodinitialize_weights
(self)
svrm/ldm/modules/attention.py:446
↓ 1 callersMethodinterpolate_one
( self, attr: Float[Tensor, "Nv C"], rast: Float[Tensor, "B H W 4"], tri: Inte
svrm/ldm/modules/rendering_neus/rasterize.py:70
↓ 1 callersMethodinterpolate_pos_encoding
(self, x, w, h)
svrm/ldm/modules/encoders/dinov2/models/vision_transformer.py:186
↓ 1 callersFunctionis_top_level_function
Determine whether the given object is a top-level function, i.e., defined at module scope using 'def'.
svrm/ldm/modules/rendering_neus/third_party/dnnlib/util.py:314
↓ 1 callersFunctionis_url
Determine whether the given object is a valid URL string.
svrm/ldm/modules/rendering_neus/third_party/dnnlib/util.py:380
↓ 1 callersMethodload_data
(self, intput_imgs)
svrm/predictor.py:121
↓ 1 callersMethodload_images_and_cameras
(self, input_imgs, elevation_list, azimuth_list)
svrm/predictor.py:102
↓ 1 callersFunctionload_objs_as_meshes_fast
( verts, faces, aux, device: Optional[Device] = None, load_textures: bool = True, crea
third_party/gen_baking.py:46
↓ 1 callersMethodload_pretrained
(self, ckpt_path)
svrm/ldm/modules/encoders/dinov2_mod.py:47
↓ 1 callersFunctionmake_cache_dir_path
(*paths: str)
svrm/ldm/modules/rendering_neus/third_party/dnnlib/util.py:126
↓ 1 callersFunctionmax_neg_value
(tensor)
svrm/ldm/modules/x_transformer.py:82
↓ 1 callersFunctionmesh_warp_frame
@param: frame is the current frame @param: x_motion_mesh is the motion_mesh to be warped on frame along x-direction @param: y
third_party/dust3r_utils.py:282
↓ 1 callersFunctionmesh_warp_points
(points, x_motion_mesh, y_motion_mesh, img_size)
third_party/dust3r_utils.py:258
↓ 1 callersFunctionmodulate
(x, shift, scale)
svrm/ldm/modules/attention.py:367
↓ 1 callersFunctionmotion_propagate
@param: old_points are points in old_frame that are matched feature points with new_frame @param: new_points are points in new_fr
third_party/dust3r_utils.py:170
↓ 1 callersFunctionnamed_apply
(fn: Callable, module: nn.Module, name="", depth_first=True, include_root=False)
svrm/ldm/modules/encoders/dinov2/models/vision_transformer.py:26
↓ 1 callersFunctionnan_to_num
(input, nan=0.0, posinf=None, neginf=None, *, out=None)
svrm/ldm/modules/rendering_neus/third_party/misc.py:51
↓ 1 callersMethodnormalize_mesh
(self, target_scale=0.5)
svrm/ldm/utils/ops.py:429
↓ 1 callersFunctionnot_equals
(val)
svrm/ldm/modules/x_transformer.py:70
↓ 1 callersFunctionpoint_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:142
↓ 1 callersFunctionpredict_match_success_human
(info)
svrm/utils/img_utils.py:177
↓ 1 callersFunctionpredict_match_success_human
(info)
third_party/utils/img_utils.py:173
↓ 1 callersMethodprepare
(self)
mvd/hunyuan3d_mvd_std_pipeline.py:214
↓ 1 callersMethodprepare_extra_step_kwargs
(self, generator, eta)
mvd/hunyuan3d_mvd_std_pipeline.py:266
↓ 1 callersMethodprepare_extra_step_kwargs
(self, generator, eta)
mvd/hunyuan3d_mvd_lite_pipeline.py:193
↓ 1 callersMethodprepare_latents
(self, batch_size, num_channels_latents, height, width, dtype, device, generator, latents=None)
mvd/hunyuan3d_mvd_std_pipeline.py:224
↓ 1 callersMethodprepare_latents
(self, batch_size, num_channels_latents, height, width, dtype, device, generator, latents=None)
mvd/hunyuan3d_mvd_lite_pipeline.py:202
↓ 1 callersFunctionpreprocess
(rgba_img, size=(512,512), ratio=1.15)
infer/removebg.py:53
↓ 1 callersFunctionproject_onto_planes
Does a projection of a 3D point onto a batch of 2D planes, returning 2D plane coordinates. Takes plane axes of shape n_planes, 3, 3
svrm/ldm/modules/rendering_neus/utils/renderer.py:46
↓ 1 callersMethodrasterize
( self, pos: Float[Tensor, "B Nv 4"], tri: Integer[Tensor, "Nf 3"], resolution
svrm/ldm/modules/rendering_neus/rasterize.py:30
↓ 1 callersMethodrasterize_one
( self, pos: Float[Tensor, "Nv 4"], tri: Integer[Tensor, "Nf 3"], resolution:
svrm/ldm/modules/rendering_neus/rasterize.py:39
↓ 1 callersFunctionrefine_mesh
(vtx_refine, faces_refine)
svrm/ldm/models/svrm.py:86
↓ 1 callersFunctionremap_points
(img_size, match, size=512)
third_party/utils/camera_utils.py:66
↓ 1 callersFunctionrescale_noise_cfg
(noise_cfg, noise_pred_text, guidance_rescale=0.0)
mvd/hunyuan3d_mvd_lite_pipeline.py:82
↓ 1 callersFunctionresize_images
open and convert all images in a list or folder to proper input format for DUSt3R
third_party/dust3r_utils.py:50
↓ 1 callersFunctionresize_with_aspect_ratio
(image1, image2, pad_value=[255, 255, 255])
third_party/utils/img_utils.py:37
↓ 1 callersMethodrun_forward
(self, colors, sdfs, depths, normals, ray_directions, rendering_options, bgcolor=None, real_normals=None)
svrm/ldm/modules/rendering_neus/utils/ray_marcher.py:71
↓ 1 callersMethodsample_importance
Return depths of importance sampled points along rays. See NeRF importance sampling for more.
svrm/ldm/modules/rendering_neus/utils/renderer.py:272
↓ 1 callersMethodsample_pdf
Sample @N_importance samples from @bins with distribution defined by @weights. Inputs: bins: (N_rays, N_samples_+1) where
svrm/ldm/modules/rendering_neus/utils/renderer.py:292
↓ 1 callersFunctionsave_gif
(pils, save_path, df=False)
infer/image_to_views.py:42
↓ 1 callersFunctionscale_tensor
( dat: Num[Tensor, "... D"], inp_scale: ValidScale, tgt_scale: ValidScale )
svrm/ldm/utils/ops.py:37
↓ 1 callersMethodunify_samples
(self, depths1, colors1, densities1, depths2, colors2, densities2)
svrm/ldm/modules/rendering_neus/utils/renderer.py:235
↓ 1 callersFunctionunscale_image
(image)
mvd/hunyuan3d_mvd_std_pipeline.py:87
↓ 1 callersFunctionunscale_image
(image )
mvd/hunyuan3d_mvd_lite_pipeline.py:79
↓ 1 callersFunctionunscale_image_2
(image)
mvd/hunyuan3d_mvd_std_pipeline.py:88
↓ 1 callersFunctionunscale_latents
(latents)
mvd/hunyuan3d_mvd_std_pipeline.py:84
↓ 1 callersFunctionunscale_latents
(latents)
mvd/hunyuan3d_mvd_lite_pipeline.py:78
↓ 1 callersFunctionunwrap_uv
(v_pos, t_pos_idx)
svrm/ldm/models/svrm.py:76
↓ 1 callersFunctionuv_padding
(image, hole_mask, uv_padding_size = 2)
svrm/ldm/models/svrm.py:47
↓ 1 callersFunctionwhite_out_background
(pil_img)
infer/removebg.py:38
↓ 1 callersFunctionwhite_out_background
(pil_img, is_gray_fg=True)
mvd/utils.py:45
↓ 1 callersMethodwinding_number
(self, query: torch.Tensor)
svrm/ldm/utils/ops.py:441
Method__call__
(self, *args, **kwargs)
infer/text_to_image.py:57
Method__call__
( self, obj_filename, elev=0, azim=None, resolution=512,
infer/gif_render.py:39
Method__call__
(self, *args, **kwargs)
infer/image_to_views.py:79
Method__call__
(self, *args, **kwargs)
infer/views_to_mesh.py:65
Method__call__
args: rgb_maybe: PIL.Image, with RGB mode or RGBA mode force: bool, if input is RGBA mode, covert to RGB
infer/removebg.py:14
Method__call__
(self, attn, hidden_states, encoder_hidden_states=None, attention_mask=None, mode="w", ref_dict=None)
mvd/hunyuan3d_mvd_std_pipeline.py:100
Method__call__
( self, image: Image.Image = None, guidance_scale = 2.0, output_type: Optional
mvd/hunyuan3d_mvd_std_pipeline.py:294
Method__call__
(self, attn, hidden_states, encoder_hidden_states=None, attention_mask=None, mode="w", ref_dict=None)
mvd/hunyuan3d_mvd_lite_pipeline.py:99
Method__call__
(self, image=None, width=640, height=960, num_inference_
mvd/hunyuan3d_mvd_lite_pipeline.py:300
Method__call__
(self, *args, **kwargs)
third_party/mesh_baker.py:64
Method__delattr__
(self, name: str)
svrm/ldm/modules/rendering_neus/third_party/dnnlib/util.py:54
Method__enter__
(self)
svrm/ldm/modules/rendering_neus/third_party/dnnlib/util.py:74
Method__exit__
(self, exc_type: Any, exc_value: Any, traceback: Any)
svrm/ldm/modules/rendering_neus/third_party/dnnlib/util.py:77
← previousnext →101–200 of 479, ranked by callers