MCPcopy Create free account

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

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

Method__getattr__
(self, name: str)
svrm/ldm/modules/rendering_neus/third_party/dnnlib/util.py:45
Method__getattr__
(self, name: str)
mvd/hunyuan3d_mvd_std_pipeline.py:125
Method__getattr__
(self, name: str)
mvd/hunyuan3d_mvd_lite_pipeline.py:124
Method__init__
(self, ckpt_path, cfg_path, elevation=15, number_view=60, render_size=256, device="cuda:0")
svrm/predictor.py:39
Method__init__
AdamW that saves EMA versions of the parameters.
svrm/ldm/util.py:147
Method__init__
(self, dim, max_seq_len)
svrm/ldm/modules/x_transformer.py:26
Method__init__
(self, dim)
svrm/ldm/modules/x_transformer.py:40
Method__init__
(self, fn)
svrm/ldm/modules/x_transformer.py:129
Method__init__
(self, dim, eps=1e-5)
svrm/ldm/modules/x_transformer.py:140
Method__init__
(self, dim, eps=1e-8)
svrm/ldm/modules/x_transformer.py:152
Method__init__
(self, dim)
svrm/ldm/modules/x_transformer.py:169
Method__init__
(self, dim_in, dim_out)
svrm/ldm/modules/x_transformer.py:185
Method__init__
(self, dim, dim_out=None, mult=4, glu=False, dropout=0.)
svrm/ldm/modules/x_transformer.py:195
Method__init__
( self, dim, dim_head=DEFAULT_DIM_HEAD, heads=8, c
svrm/ldm/modules/x_transformer.py:216
Method__init__
( self, dim, depth, heads=8, causal=False,
svrm/ldm/modules/x_transformer.py:371
Method__init__
(self, **kwargs)
svrm/ldm/modules/x_transformer.py:542
Method__init__
( self, *, num_tokens, max_seq_len, attn_layers,
svrm/ldm/modules/x_transformer.py:549
Method__init__
(self, dim, dim_out=None, mult=4, glu=False, dropout=0.)
svrm/ldm/modules/attention.py:106
Method__init__
(self, dim, heads=4, dim_head=32)
svrm/ldm/modules/attention.py:139
Method__init__
(self, in_channels)
svrm/ldm/modules/attention.py:158
Method__init__
(self, query_dim, context_dim=None, heads=8, dim_head=64, dropout=0.)
svrm/ldm/modules/attention.py:211
Method__init__
(self, query_dim, context_dim=None, heads=8, dim_head=64, dropout=0.)
svrm/ldm/modules/attention.py:247
Method__init__
(self, query_dim, context_dim=None, heads=8, dim_head=64, dropout=0.0)
svrm/ldm/modules/attention.py:286
Method__init__
(self, dim, n_heads, d_head, dropout=0., context_dim=None, gated_ff=True, checkpoint=True, di
svrm/ldm/modules/attention.py:336
Method__init__
(self, *args, **kwargs)
svrm/ldm/modules/attention.py:372
Method__init__
(self, dim)
svrm/ldm/modules/attention.py:379
Method__init__
(self, dim, n_heads, d_head, dropout=0., context_dim=None, gated_ff=True, \ checkpoint=True)
svrm/ldm/modules/attention.py:394
Method__init__
(self, query_dim, n_heads, d_head, depth=1, dropout=0., context_dim=None, triplane_size=64)
svrm/ldm/modules/attention.py:435
Method__init__
( self, version='dinov2_vitb14', ckpt_path=None, lrm_mode='pla
svrm/ldm/modules/encoders/dinov2_mod.py:28
Method__init__
(self, multiple)
svrm/ldm/modules/encoders/dinov2/hub/utils.py:24
Method__init__
(self, drop_prob=None)
svrm/ldm/modules/encoders/dinov2/layers/drop_path.py:29
Method__init__
( self, dim: int, num_heads: int, mlp_ratio: float = 4.0, qkv_bias: bo
svrm/ldm/modules/encoders/dinov2/layers/block.py:49
Method__init__
( self, in_dim, out_dim, use_bn=False, nlayers=3, hidden_dim=2
svrm/ldm/modules/encoders/dinov2/layers/dino_head.py:13
Method__init__
( self, dim: int, init_values: Union[float, Tensor] = 1e-5, inplace: bool = Fa
svrm/ldm/modules/encoders/dinov2/layers/layer_scale.py:16
Method__init__
( self, dim: int, num_heads: int = 8, qkv_bias: bool = False, proj_bia
svrm/ldm/modules/encoders/dinov2/layers/attention.py:37
Method__init__
( self, in_features: int, hidden_features: Optional[int] = None, out_features:
svrm/ldm/modules/encoders/dinov2/layers/mlp.py:17
Method__init__
( self, in_features: int, hidden_features: Optional[int] = None, out_features:
svrm/ldm/modules/encoders/dinov2/layers/swiglu_ffn.py:55
Method__init__
( self, img_size: Union[int, Tuple[int, int]] = 224, patch_size: Union[int, Tuple[int,
svrm/ldm/modules/encoders/dinov2/layers/patch_embed.py:37
Method__init__
Args: img_size (int, tuple): input image size patch_size (int, tuple): patch size in_chans (int): number
svrm/ldm/modules/encoders/dinov2/models/vision_transformer.py:45
Method__init__
(self, triplane_dim: int, samples_per_ray: int, osg_decoder='default')
svrm/ldm/modules/rendering_neus/synthesizer.py:156
Method__init__
(self, context_type: str, device: torch.device)
svrm/ldm/modules/rendering_neus/rasterize.py:8
Method__init__
( self, v_pos: Float[Tensor, "Nv 3"], t_pos_idx: Integer[Tensor, "Nf 3"], v_rgb: Integer[Tensor, "Nf 3
svrm/ldm/modules/rendering_neus/mesh.py:13
Method__init__
(self)
svrm/ldm/modules/rendering_neus/utils/renderer.py:100
Method__init__
(self)
svrm/ldm/modules/rendering_neus/utils/ray_sampler.py:23
Method__init__
(self, init_val)
svrm/ldm/modules/rendering_neus/utils/ray_marcher.py:25
Method__init__
(self, dataset, rank=0, num_replicas=1, shuffle=True, seed=0, window_size=0.5)
svrm/ldm/modules/rendering_neus/third_party/misc.py:114
Method__init__
(self, window_size=11, use_padding=True, size_average=True)
svrm/ldm/modules/rendering_neus/third_party/pytorch_ssim/__init__.py:50
Method__init__
(self, file_name: str = None, file_mode: str = "w", should_flush: bool = True)
svrm/ldm/modules/rendering_neus/third_party/dnnlib/util.py:61
Method__init__
( self, pos_emb_size=32, pos_emb_dim=1024, cam_cond_dim=20, n_heads=16
svrm/ldm/modules/translator/img_to_triplane.py:39
Method__init__
(self, guide_shape)
svrm/ldm/utils/ops.py:474
Method__init__
( self, img_encoder_config, img_to_triplane_config, render_config, dev
svrm/ldm/models/svrm.py:110
Method__init__
save_memory: if GPU memory is low, can set it
infer/text_to_image.py:35
Method__init__
(self, device="cuda:0")
infer/gif_render.py:35
Method__init__
(self, device="cuda:0", use_lite=False, save_memory=False, std_pretrain='./weights/mv
infer/image_to_views.py:51
Method__init__
mv23d_cfg_path: config yaml file mv23d_ckt_path: path to ckpt use_lite: lite version save_memory: cp
infer/views_to_mesh.py:42
Method__init__
(self, name="u2net")
infer/removebg.py:10
Method__init__
(self, chained_proc, enabled=False, name=None)
mvd/hunyuan3d_mvd_std_pipeline.py:94
Method__init__
( self, vae: AutoencoderKL, unet: UNet2DConditionModel, scheduler: KarrasDiffu
mvd/hunyuan3d_mvd_std_pipeline.py:188
Method__init__
(self, chained_proc, enabled=False, name=None)
mvd/hunyuan3d_mvd_lite_pipeline.py:93
Method__init__
( self, vae: AutoencoderKL, text_encoder: CLIPTextModel, tokenizer: CLIPTokeni
mvd/hunyuan3d_mvd_lite_pipeline.py:156
Method__init__
( self, align_model = "third_party/weights/DUSt3R_ViTLarge_BaseDecoder_512_dpt", devi
third_party/mesh_baker.py:23
Method__iter__
(self)
svrm/ldm/modules/rendering_neus/third_party/misc.py:127
Method__setattr__
(self, name: str, value: Any)
svrm/ldm/modules/rendering_neus/third_party/dnnlib/util.py:51
Method__setstate__
(self, state)
svrm/ldm/util.py:168
Method_basic_init
(module)
svrm/ldm/modules/attention.py:448
Method_forward
(self, x, context=None)
svrm/ldm/modules/attention.py:355
Method_forward
(self, x, context=None, cam_emb=None)
svrm/ldm/modules/attention.py:419
Method_init_weights
(self, m)
svrm/ldm/modules/encoders/dinov2/layers/dino_head.py:30
Methodantialias
( self, color: Float[Tensor, "B H W C"], rast: Float[Tensor, "B H W 4"], pos:
svrm/ldm/modules/rendering_neus/rasterize.py:49
Functionask_yes_no
Ask the user the question until the user inputs a valid answer.
svrm/ldm/modules/rendering_neus/third_party/dnnlib/util.py:169
Functionassert_shape
(tensor, ref_shape)
svrm/ldm/modules/rendering_neus/third_party/misc.py:84
Methodattn_residual_func
(x: Tensor, cam_emb: Tensor = None)
svrm/ldm/modules/encoders/dinov2/layers/block.py:95
Methodattn_residual_func
(x: Tensor, cam_emb: Tensor, attn_bias=None)
svrm/ldm/modules/encoders/dinov2/layers/block.py:229
Functionauto_amp_inference
with torch.cuda.amp.autocast()" xxx
infer/utils.py:67
Methodbackward
(ctx, *output_grads)
svrm/ldm/modules/attention.py:74
Methodbackward
(ctx, grad_output)
svrm/ldm/modules/rendering_neus/third_party/ops/grid_sample_gradfix.py:50
Methodbackward
(ctx, grad2_grad_input, grad2_grad_grid)
svrm/ldm/modules/rendering_neus/third_party/ops/grid_sample_gradfix.py:66
Methodbackward
(ctx, dy)
svrm/ldm/modules/rendering_neus/third_party/ops/bias_act.py:160
Methodbackward
(ctx, d_dx)
svrm/ldm/modules/rendering_neus/third_party/ops/bias_act.py:188
Methodbackward
(ctx, grad_output)
svrm/ldm/modules/rendering_neus/third_party/ops/grid_sample.py:57
Methodbackward
(ctx, grad2_grad_input, grad2_grad_grid)
svrm/ldm/modules/rendering_neus/third_party/ops/grid_sample.py:80
Methodbackward
(ctx, grad_output)
svrm/ldm/modules/rendering_neus/third_party/ops/grid_sample.py:109
Methodbackward
(ctx, grad2_grad_input, grad2_grad_grid)
svrm/ldm/modules/rendering_neus/third_party/ops/grid_sample.py:133
Methodbackward
(ctx, g)
svrm/ldm/utils/ops.py:62
Methodbackward
(ctx, grad_scale)
svrm/ldm/utils/ops.py:79
Functionbias_act
r"""Fused bias and activation function. Adds bias `b` to activation tensor `x`, evaluates activation function `act`, and scales the result by
svrm/ldm/modules/rendering_neus/third_party/ops/bias_act.py:54
Functionbinary_cross_entropy
F.binary_cross_entropy is not numerically stable in mixed-precision training.
svrm/ldm/utils/ops.py:382
Functionbuild_model_from_cfg
(cfg, only_teacher=False)
svrm/ldm/modules/encoders/dinov2/models/__init__.py:42
Functioncheck_ddp_consistency
(module, ignore_regex=None)
svrm/ldm/modules/rendering_neus/third_party/misc.py:182
Functioncheck_image_available
(image)
app.py:190
Functionchunk_batch
(func: Callable, chunk_size: int, triplane=None, *args, **kwargs)
svrm/ldm/utils/ops.py:123
Functioncompute_extrinsic_matrix
(elevation, azimuth, camera_distance)
svrm/utils/camera_utils.py:4
Functioncompute_extrinsic_matrix
(elevation, azimuth, camera_distance)
third_party/utils/camera_utils.py:4
Functioncompute_fov
(intrinsic_matrix)
svrm/utils/camera_utils.py:41
Functioncompute_fov
(intrinsic_matrix)
third_party/utils/camera_utils.py:41
Functioncompute_img_diff
(img1, img2, matches1, matches1_from_2, vis=False)
svrm/utils/img_utils.py:84
Functionconstant
(value, shape=None, dtype=None, device=None, memory_format=None)
svrm/ldm/modules/rendering_neus/third_party/misc.py:24
Functionconstruct_class_by_name
Finds the python class with the given name and constructs it with the given arguments.
svrm/ldm/modules/rendering_neus/third_party/dnnlib/util.py:303
Functioncopy_files_and_create_dirs
Takes in a list of tuples of (src, dst) paths and copies files. Will create all necessary directories.
svrm/ldm/modules/rendering_neus/third_party/dnnlib/util.py:364
Functioncopy_params_and_buffers
(src_module, dst_module, require_all=False)
svrm/ldm/modules/rendering_neus/third_party/misc.py:157
← previousnext →201–300 of 479, ranked by callers