MCPcopy Create free account

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

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

Functionddp_sync
(module, sync)
svrm/ldm/modules/rendering_neus/third_party/misc.py:171
Functiondecorator
(*args, **kwargs)
svrm/ldm/modules/rendering_neus/third_party/misc.py:103
Functiondecorator
(func)
infer/utils.py:51
Functiondefault
(val, d)
svrm/ldm/util.py:106
Functiondinov2_vitb14_reg
DINOv2 ViT-B/14 model with registers (optionally) pretrained on the LVD-142M dataset.
svrm/ldm/modules/encoders/dinov2/hub/backbones.py:113
Functiondinov2_vitg14
DINOv2 ViT-g/14 model (optionally) pretrained on the LVD-142M dataset.
svrm/ldm/modules/encoders/dinov2/hub/backbones.py:85
Functiondinov2_vitg14_reg
DINOv2 ViT-g/14 model with registers (optionally) pretrained on the LVD-142M dataset.
svrm/ldm/modules/encoders/dinov2/hub/backbones.py:143
Functiondinov2_vitl14
DINOv2 ViT-L/14 model (optionally) pretrained on the LVD-142M dataset.
svrm/ldm/modules/encoders/dinov2/hub/backbones.py:78
Functiondinov2_vitl14_reg
DINOv2 ViT-L/14 model with registers (optionally) pretrained on the LVD-142M dataset.
svrm/ldm/modules/encoders/dinov2/hub/backbones.py:128
Functiondinov2_vits14
DINOv2 ViT-S/14 model (optionally) pretrained on the LVD-142M dataset.
svrm/ldm/modules/encoders/dinov2/hub/backbones.py:64
Functiondinov2_vits14_reg
DINOv2 ViT-S/14 model with registers (optionally) pretrained on the LVD-142M dataset.
svrm/ldm/modules/encoders/dinov2/hub/backbones.py:98
Methoddo_classifier_free_guidance
(self)
mvd/hunyuan3d_mvd_std_pipeline.py:290
Methodedges
(self)
svrm/ldm/modules/rendering_neus/mesh.py:131
Functionerode_mask
(src_mask, p=1 / 20.0)
third_party/gen_baking.py:38
Methodf
(*args, **kwargs)
svrm/ldm/modules/encoders/dinov2/models/vision_transformer.py:137
Methodffn_residual_func
(x: Tensor, cam_emb: Tensor = None)
svrm/ldm/modules/encoders/dinov2/layers/block.py:98
Methodffn_residual_func
(x: Tensor, cam_emb: Tensor, attn_bias=None)
svrm/ldm/modules/encoders/dinov2/layers/block.py:232
Methodflops
(self)
svrm/ldm/modules/encoders/dinov2/layers/patch_embed.py:83
Functionformat_time
Convert the seconds to human readable string with days, hours, minutes and seconds.
svrm/ldm/modules/rendering_neus/third_party/dnnlib/util.py:141
Functionformat_time_brief
Convert the seconds to human readable string with days, hours, minutes and seconds.
svrm/ldm/modules/rendering_neus/third_party/dnnlib/util.py:155
Methodforward
(self, x)
svrm/ldm/modules/x_transformer.py:34
Methodforward
(self, x, seq_dim=1, offset=0)
svrm/ldm/modules/x_transformer.py:45
Methodforward
(self, x, **kwargs)
svrm/ldm/modules/x_transformer.py:123
Methodforward
(self, x, **kwargs)
svrm/ldm/modules/x_transformer.py:134
Methodforward
(self, x)
svrm/ldm/modules/x_transformer.py:146
Methodforward
(self, x)
svrm/ldm/modules/x_transformer.py:158
Methodforward
(self, x, residual)
svrm/ldm/modules/x_transformer.py:164
Methodforward
(self, x, residual)
svrm/ldm/modules/x_transformer.py:173
Methodforward
(self, x)
svrm/ldm/modules/x_transformer.py:189
Methodforward
(self, x)
svrm/ldm/modules/x_transformer.py:210
Methodforward
( self, x, context=None, mask=None, context_mask=N
svrm/ldm/modules/x_transformer.py:268
Methodforward
( self, x, context=None, mask=None, context_mask=N
svrm/ldm/modules/x_transformer.py:481
Methodforward
( self, x, return_embeddings=False, mask=None, ret
svrm/ldm/modules/x_transformer.py:598
Methodforward
(ctx, run_function, length, *args)
svrm/ldm/modules/attention.py:64
Methodforward
(self, x)
svrm/ldm/modules/attention.py:121
Methodforward
(self, x)
svrm/ldm/modules/attention.py:146
Methodforward
(self, x)
svrm/ldm/modules/attention.py:184
Methodforward
(self, x, context=None, mask=None)
svrm/ldm/modules/attention.py:226
Methodforward
(self, x, context=None, mask=None)
svrm/ldm/modules/attention.py:267
Methodforward
(self, x, context=None, mask=None)
svrm/ldm/modules/attention.py:306
Methodforward
(self, x, context=None)
svrm/ldm/modules/attention.py:352
Methodforward
(self, x)
svrm/ldm/modules/attention.py:374
Methodforward
(self, x, c)
svrm/ldm/modules/attention.py:387
Methodforward
(self, x, context=None, cam_emb=None)
svrm/ldm/modules/attention.py:415
Methodforward
(self, x, context=None, cam_emb=None)
svrm/ldm/modules/attention.py:460
Methodforward
(self, x, *args, **kwargs)
svrm/ldm/modules/encoders/dinov2_mod.py:64
Methodforward
(self, x)
svrm/ldm/modules/encoders/dinov2/hub/utils.py:36
Methodforward
(self, x)
svrm/ldm/modules/encoders/dinov2/layers/drop_path.py:33
Methodforward
(self, x_or_x_list, cam_emb_or_cam_emb_list)
svrm/ldm/modules/encoders/dinov2/layers/block.py:261
Methodforward
(self, x)
svrm/ldm/modules/encoders/dinov2/layers/dino_head.py:36
Methodforward
(self, x: Tensor)
svrm/ldm/modules/encoders/dinov2/layers/layer_scale.py:26
Methodforward
(self, x: Tensor, attn_bias=None)
svrm/ldm/modules/encoders/dinov2/layers/attention.py:73
Methodforward
(self, x: Tensor)
svrm/ldm/modules/encoders/dinov2/layers/mlp.py:34
Methodforward
(self, x: Tensor)
svrm/ldm/modules/encoders/dinov2/layers/swiglu_ffn.py:30
Methodforward
(self, x: Tensor)
svrm/ldm/modules/encoders/dinov2/layers/patch_embed.py:68
Methodforward
(self, x)
svrm/ldm/modules/encoders/dinov2/models/vision_transformer.py:38
Methodforward
(self, *args, is_training=False, **kwargs)
svrm/ldm/modules/encoders/dinov2/models/vision_transformer.py:365
Methodforward
(self, ray_directions, sample_coordinates, plane_axes, planes, options)
svrm/ldm/modules/rendering_neus/synthesizer.py:54
Methodforward
(self, planes, ray_origins, ray_directions, render_size, bgcolor=None)
svrm/ldm/modules/rendering_neus/synthesizer.py:178
Methodforward
(self, planes, decoder, ray_origins, ray_directions, rendering_options, bgcolor=None)
svrm/ldm/modules/rendering_neus/utils/renderer.py:159
Methodforward
Create batches of rays and return origins and directions. cam2world_matrix: (N, 4, 4) intrinsics: (N, 3, 3) render_s
svrm/ldm/modules/rendering_neus/utils/ray_sampler.py:28
Methodforward
(self, x)
svrm/ldm/modules/rendering_neus/utils/ray_marcher.py:34
Methodforward
(self, colors, sdfs, depths, normals, ray_directions, rendering_options, bgcolor=None, real_normals=None)
svrm/ldm/modules/rendering_neus/utils/ray_marcher.py:137
Methodforward
(ctx, input, grid)
svrm/ldm/modules/rendering_neus/third_party/ops/grid_sample_gradfix.py:42
Methodforward
(ctx, grad_output, input, grid)
svrm/ldm/modules/rendering_neus/third_party/ops/grid_sample_gradfix.py:59
Methodforward
(ctx, x, b)
svrm/ldm/modules/rendering_neus/third_party/ops/bias_act.py:146
Methodforward
(ctx, dy, x, b, y)
svrm/ldm/modules/rendering_neus/third_party/ops/bias_act.py:179
Methodforward
(ctx, input, grid, padding_mode=0, align_corners=True)
svrm/ldm/modules/rendering_neus/third_party/ops/grid_sample.py:43
Methodforward
(ctx, grad_output, input, grid, padding_mode=0, align_corners=True)
svrm/ldm/modules/rendering_neus/third_party/ops/grid_sample.py:64
Methodforward
(ctx, input, grid, padding_mode=0, align_corners=True)
svrm/ldm/modules/rendering_neus/third_party/ops/grid_sample.py:95
Methodforward
(ctx, grad_output, input, grid, padding_mode=0, align_corners=True)
svrm/ldm/modules/rendering_neus/third_party/ops/grid_sample.py:118
Methodforward
(self, img1, img2)
svrm/ldm/modules/rendering_neus/third_party/pytorch_ssim/__init__.py:58
Methodforward
Apply the model to an input batch. :param x: an [N x C x ...] Tensor of inputs. :param timesteps: a 1-D batch of timesteps.
svrm/ldm/modules/translator/img_to_triplane.py:96
Methodforward
(ctx, x)
svrm/ldm/utils/ops.py:56
Methodforward
(ctx, input_tensor, gt_grad)
svrm/ldm/utils/ops.py:72
Methodforward
(self, xyzs, sigmas)
svrm/ldm/utils/ops.py:493
Methodforward
( self, sample: torch.FloatTensor, timestep: Union[torch.Tensor, float, int],
mvd/hunyuan3d_mvd_std_pipeline.py:131
Methodforward
(self, sample, timestep, encoder_hidden_states, *args, cross_attention_kwargs, **kwargs)
mvd/hunyuan3d_mvd_lite_pipeline.py:130
Methodforward_features
(self, x, masks=None)
svrm/ldm/modules/encoders/dinov2/models/vision_transformer.py:279
Methodforward_features_list_with_camera
(self, x_list, cam_cond_list, masks_list)
svrm/ldm/modules/encoders/dinov2/models/vision_transformer.py:257
Functiongen_pipe
(text, image=None, do_removebg=True, sseed=0, sstep=25, SSEED=0, SSTEP=50, color='face', bake=False,
app.py:148
Functionget_activation
(name)
svrm/ldm/utils/ops.py:88
Functionget_cam_info_gaussian
(c2w, fovx, fovy, znear, zfar)
svrm/ldm/utils/ops.py:364
Functionget_dtype_and_ctype
Given a type name string (or an object having a __name__ attribute), return matching Numpy and ctypes types that have the same size in bytes.
svrm/ldm/modules/rendering_neus/third_party/dnnlib/util.py:203
Functionget_fov_gaussian
(P)
svrm/ldm/utils/ops.py:356
Functionget_full_projection_matrix
( c2w: Float[Tensor, "B 4 4"], proj_mtx: Float[Tensor, "B 4 4"] )
svrm/ldm/utils/ops.py:318
Functionget_input_imgs_path
(input_data_dir)
svrm/utils/img_utils.py:8
Functionget_input_imgs_path
(input_data_dir)
third_party/utils/img_utils.py:8
Methodget_intermediate_layers
( self, x: torch.Tensor, n: Union[int, Sequence] = 1, # Layers or n last layers to ta
svrm/ldm/modules/encoders/dinov2/models/vision_transformer.py:339
Functionget_module_dir_by_obj_name
Get the directory path of the module containing the given object name.
svrm/ldm/modules/rendering_neus/third_party/dnnlib/util.py:308
Functionget_mvp_matrix
( c2w: Float[Tensor, "B 4 4"], proj_mtx: Float[Tensor, "B 4 4"] )
svrm/ldm/utils/ops.py:304
Functionget_plugin
(module_name, sources, headers=None, source_dir=None, **build_kwargs)
svrm/ldm/modules/rendering_neus/third_party/custom_ops.py:61
Functionget_projection_matrix
( fovy: Float[Tensor, "B"], aspect_wh: float, near: float, far: float )
svrm/ldm/utils/ops.py:289
Functionget_rank
()
svrm/ldm/utils/ops.py:16
Functionget_ray_directions
Get ray directions for all pixels in camera coordinate. Reference: https://www.scratchapixel.com/lessons/3d-basic-rendering/ r
svrm/ldm/utils/ops.py:202
Functionget_ray_limits_box
Author: Petr Kellnhofer Intersects rays with the [-1, 1] NDC volume. Returns min and max distance of entry. Returns -1 for no interse
svrm/ldm/modules/rendering_neus/utils/math_utils.py:46
Functionget_rays
( directions: Float[Tensor, "... 3"], c2w: Float[Tensor, "... 4 4"], keepdim=False, noise_scal
svrm/ldm/utils/ops.py:242
Methodget_shifted_sdf
( self, points, sdf )
svrm/ldm/modules/rendering_neus/synthesizer.py:119
Functionget_top_level_function_name
Return the fully-qualified name of a top-level function.
svrm/ldm/modules/rendering_neus/third_party/dnnlib/util.py:319
Functiongrid_sample
(input, grid)
svrm/ldm/modules/rendering_neus/third_party/ops/grid_sample_gradfix.py:28
← previousnext →301–400 of 479, ranked by callers