MCPcopy Create free account

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

Functions375 in github.com/Tencent-Hunyuan/Hunyuan3D-2

Method__call__
(self, attn, q, k, v)
hy3dgen/shapegen/models/autoencoders/attention_processors.py:39
Method__enter__
Context manager entry: start timing.
hy3dgen/shapegen/utils.py:60
Method__exit__
Context manager exit: stop timing and log results.
hy3dgen/shapegen/utils.py:68
Method__getattr__
(self, attr)
api_server.py:106
Method__getattr__
(self, name: str)
hy3dgen/texgen/hunyuanpaint/unet/modules.py:98
Method__init__
(self, logger, log_level=logging.INFO)
api_server.py:100
Method__init__
(self, model_path='tencent/Hunyuan3D-2mini', tex_model_path='tencent/Hunyuan
api_server.py:147
Method__init__
( self, model_path="Tencent-Hunyuan/HunyuanDiT-v1.1-Diffusers-Distilled", device='cuda
hy3dgen/text2image.py:31
Method__init__
(self)
hy3dgen/rembg.py:20
Method__init__
(self, light_remover_ckpt_path, multiview_ckpt_path, subfolder_name)
hy3dgen/texgen/pipelines.py:35
Method__init__
(self, config)
hy3dgen/texgen/pipelines.py:89
Method__init__
(self, config)
hy3dgen/texgen/utils/multiview_utils.py:26
Method__init__
(self, config)
hy3dgen/texgen/utils/imagesuper_utils.py:19
Method__init__
(self)
hy3dgen/texgen/utils/counter_utils.py:17
Method__init__
(self, config)
hy3dgen/texgen/utils/dehighlight_utils.py:23
Method__init__
(self, device)
hy3dgen/texgen/utils/alignImg4Tex_utils.py:22
Method__init__
(self, )
hy3dgen/texgen/utils/alignImg4Tex_utils.py:72
Method__init__
( self, camera_distance=1.45, camera_type='orth', default_resolution=1024, texture_siz
hy3dgen/texgen/differentiable_renderer/mesh_render.py:121
Method__init__
( self, vae: AutoencoderKL, text_encoder: CLIPTextModel, tokenizer: CLIPTokeni
hy3dgen/texgen/hunyuanpaint/pipeline.py:195
Method__init__
(self, transformer: BasicTransformerBlock,layer_name,use_ma=True,use_ra=True,is_turbo=False)
hy3dgen/texgen/hunyuanpaint/unet/modules.py:47
Method__init__
(self, size=512, border_ratio=None)
hy3dgen/shapegen/preprocessors.py:126
Method__init__
(self, name=None)
hy3dgen/shapegen/utils.py:57
Method__init__
( self, num_train_timesteps: int = 1000, shift: float = 1.0, use_dynamic_shift
hy3dgen/shapegen/schedulers.py:79
Method__init__
( self, num_train_timesteps: int = 1000, pcm_timesteps: int = 50, )
hy3dgen/shapegen/schedulers.py:335
Method__init__
( self, vae, model, scheduler, conditioner, image_processor,
hy3dgen/shapegen/pipelines.py:234
Method__init__
(self, num_points=8192)
hy3dgen/shapegen/surface_loaders.py:120
Method__init__
(self, num_uniform_points=8192, num_sharp_points=8192, **kwargs)
hy3dgen/shapegen/surface_loaders.py:142
Method__init__
(self, executable: str = None)
hy3dgen/shapegen/postprocessors.py:180
Method__init__
( self, version=None, config=None, use_cls_token=True, image_size=224,
hy3dgen/shapegen/models/conditioner.py:135
Method__init__
( self, main_image_encoder, additional_image_encoder, )
hy3dgen/shapegen/models/conditioner.py:215
Method__init__
( self, main_image_encoder, )
hy3dgen/shapegen/models/conditioner.py:240
Method__init__
(self, in_dim: int, hidden_dim: int)
hy3dgen/shapegen/models/denoisers/hunyuan3ddit.py:73
Method__init__
(self, dim: int)
hy3dgen/shapegen/models/denoisers/hunyuan3ddit.py:84
Method__init__
(self, dim: int)
hy3dgen/shapegen/models/denoisers/hunyuan3ddit.py:96
Method__init__
( self, dim: int, num_heads: int = 8, qkv_bias: bool = False, )
hy3dgen/shapegen/models/denoisers/hunyuan3ddit.py:108
Method__init__
(self, dim: int, double: bool)
hy3dgen/shapegen/models/denoisers/hunyuan3ddit.py:139
Method__init__
( self, hidden_size: int, num_heads: int, mlp_ratio: float, qkv_bias:
hy3dgen/shapegen/models/denoisers/hunyuan3ddit.py:156
Method__init__
( self, hidden_size: int, num_heads: int, mlp_ratio: float = 4.0, qk_s
hy3dgen/shapegen/models/denoisers/hunyuan3ddit.py:226
Method__init__
(self, hidden_size: int, patch_size: int, out_channels: int)
hy3dgen/shapegen/models/denoisers/hunyuan3ddit.py:271
Method__init__
( self, in_channels: int = 64, context_in_dim: int = 1536, hidden_size: int =
hy3dgen/shapegen/models/denoisers/hunyuan3ddit.py:285
Method__init__
(self, num_channels: int, downscale_freq_shift: float = 0.0,
hy3dgen/shapegen/models/denoisers/hunyuandit.py:51
Method__init__
(self, hidden_size, frequency_embedding_size=256, cond_proj_dim=None, out_size=None)
hy3dgen/shapegen/models/denoisers/hunyuandit.py:84
Method__init__
( self, qdim, kdim, num_heads, qkv_bias=True, qk_norm=False,
hy3dgen/shapegen/models/denoisers/hunyuandit.py:126
Method__init__
( self, dim, num_heads, qkv_bias=True, qk_norm=False, norm_lay
hy3dgen/shapegen/models/denoisers/hunyuandit.py:235
Method__init__
( self, hidden_size, c_emb_size, num_heads, text_states_dim=1024,
hy3dgen/shapegen/models/denoisers/hunyuandit.py:292
Method__init__
(self, spacial_dim: int, embed_dim: int, num_heads: int, output_dim: int = None)
hy3dgen/shapegen/models/denoisers/hunyuandit.py:396
Method__init__
(self, final_hidden_size, out_channels)
hy3dgen/shapegen/models/denoisers/hunyuandit.py:442
Method__init__
( self, input_size=1024, in_channels=4, hidden_size=1024, context_dim=
hy3dgen/shapegen/models/denoisers/hunyuandit.py:457
Method__init__
(self, dim, num_experts=8, moe_top_k=2, activation_fn="gelu", dropout=0.0, final_dropout=Fals
hy3dgen/shapegen/models/denoisers/moe_layers.py:94
Method__init__
(self, mesh_v=None, mesh_f=None)
hy3dgen/shapegen/models/autoencoders/surface_extractors.py:24
Method__init__
The initialization
hy3dgen/shapegen/models/autoencoders/attention_blocks.py:74
Method__init__
(self, drop_prob: float = 0., scale_by_keep: bool = True)
hy3dgen/shapegen/models/autoencoders/attention_blocks.py:138
Method__init__
( self, *, heads: int, n_data: Optional[int] = None, width=None,
hy3dgen/shapegen/models/autoencoders/attention_blocks.py:186
Method__init__
( self, *, width: int, heads: int, qkv_bias: bool = True, n_da
hy3dgen/shapegen/models/autoencoders/attention_blocks.py:220
Method__init__
( self, *, n_data: Optional[int] = None, width: int, heads: int,
hy3dgen/shapegen/models/autoencoders/attention_blocks.py:265
Method__init__
( self, *, heads: int, n_ctx: int, width=None, qk_norm=False,
hy3dgen/shapegen/models/autoencoders/attention_blocks.py:303
Method__init__
( self, *, n_ctx: int, width: int, heads: int, qkv_bias: bool,
hy3dgen/shapegen/models/autoencoders/attention_blocks.py:333
Method__init__
( self, *, n_ctx: int, width: int, heads: int, qkv_bias: bool
hy3dgen/shapegen/models/autoencoders/attention_blocks.py:367
Method__init__
( self, *, n_ctx: int, width: int, layers: int, heads: int,
hy3dgen/shapegen/models/autoencoders/attention_blocks.py:399
Method__init__
( self, *, num_latents: int, out_channels: int, fourier_embedder: Four
hy3dgen/shapegen/models/autoencoders/attention_blocks.py:438
Method__init__
( self, *, num_latents: int, downsample_ratio: float, pc_size: int, pc
hy3dgen/shapegen/models/autoencoders/attention_blocks.py:513
Method__init__
(self, topk_mode='mean')
hy3dgen/shapegen/models/autoencoders/volume_decoders.py:281
Method__init__
(self, parameters: Union[torch.Tensor, List[torch.Tensor]], deterministic=False, feat_dim=1)
hy3dgen/shapegen/models/autoencoders/model.py:31
Method__init__
( self, volume_decoder=None, surface_extractor=None )
hy3dgen/shapegen/models/autoencoders/model.py:158
Method__init__
(self, topk=None)
hy3dgen/shapegen/models/autoencoders/attention_processors.py:36
Method__len__
(self)
hy3dgen/shapegen/schedulers.py:320
Method__len__
(self)
hy3dgen/shapegen/schedulers.py:479
Method_execution_device
r""" Returns the device on which the pipeline's models will be executed. After calling [`~DiffusionPipeline.enable_sequential_cpu_offl
hy3dgen/shapegen/pipelines.py:313
Method_sigma_to_t
(self, sigma)
hy3dgen/shapegen/schedulers.py:379
Methodadd_value
(self, value)
hy3dgen/texgen/utils/counter_utils.py:24
Functionappend_dims
Appends dimensions to the end of a tensor until it has target_dims dimensions.
hy3dgen/texgen/hunyuanpaint/pipeline.py:76
Methodbackward
(ctx, grad_output)
hy3dgen/shapegen/models/denoisers/moe_layers.py:23
Methodbake_texture
(self, colors, elevs, azims, camera_distance=None, center=None, exp=6, weights=None)
hy3dgen/texgen/differentiable_renderer/mesh_render.py:759
Methodbegin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
hy3dgen/shapegen/schedulers.py:110
Methodbegin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
hy3dgen/shapegen/schedulers.py:362
Methodcat_recursive
(a, b, c)
hy3dgen/shapegen/pipelines.py:435
Methodcolor_rgb_to_srgb
(self, image)
hy3dgen/texgen/differentiable_renderer/mesh_render.py:309
Methodconvert_normal_map
(self, image)
hy3dgen/texgen/differentiable_renderer/mesh_render.py:493
Methodconvert_pil_list_to_tensor
(images)
hy3dgen/texgen/hunyuanpaint/pipeline.py:281
Methodddim_step
(self, pred_x0, pred_noise, timestep_index, N_gen)
hy3dgen/texgen/hunyuanpaint/pipeline.py:159
Methoddraw
(self, context)
blender_addon.py:305
Methodextra_repr
(self)
hy3dgen/shapegen/models/autoencoders/attention_blocks.py:162
Methodflat_and_mask
(bgr, a)
hy3dgen/texgen/utils/dehighlight_utils.py:40
Methodflush
(self)
api_server.py:123
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
hy3dgen/texgen/hunyuanpaint/unet/modules.py:104
Methodforward
( self, sample, timestep, encoder_hidden_states, *args, down_intrablock_additional_residuals=N
hy3dgen/texgen/hunyuanpaint/unet/modules.py:498
Methodforward
(self, image, mask=None, value_range=(-1, 1), **kwargs)
hy3dgen/shapegen/models/conditioner.py:91
Methodforward
(self, image, mask=None, value_range=(-1, 1), view_idxs=None)
hy3dgen/shapegen/models/conditioner.py:154
Methodforward
(self, image, mask=None, **kwargs)
hy3dgen/shapegen/models/conditioner.py:224
Methodforward
(self, image, mask=None, **kwargs)
hy3dgen/shapegen/models/conditioner.py:247
Methodforward
(self, x: Tensor)
hy3dgen/shapegen/models/denoisers/hunyuan3ddit.py:68
Methodforward
(self, x: Tensor)
hy3dgen/shapegen/models/denoisers/hunyuan3ddit.py:79
Methodforward
(self, x: Tensor)
hy3dgen/shapegen/models/denoisers/hunyuan3ddit.py:88
Methodforward
(self, q: Tensor, k: Tensor, v: Tensor)
hy3dgen/shapegen/models/denoisers/hunyuan3ddit.py:101
Methodforward
(self, x: Tensor, pe: Tensor)
hy3dgen/shapegen/models/denoisers/hunyuan3ddit.py:122
Methodforward
(self, vec: Tensor)
hy3dgen/shapegen/models/denoisers/hunyuan3ddit.py:145
Methodforward
(self, img: Tensor, txt: Tensor, vec: Tensor, pe: Tensor)
hy3dgen/shapegen/models/denoisers/hunyuan3ddit.py:189
Methodforward
(self, x: Tensor, vec: Tensor, pe: Tensor)
hy3dgen/shapegen/models/denoisers/hunyuan3ddit.py:254
Methodforward
(self, x: Tensor, vec: Tensor)
hy3dgen/shapegen/models/denoisers/hunyuan3ddit.py:277
Methodforward
( self, x, t, contexts, **kwargs, )
hy3dgen/shapegen/models/denoisers/hunyuan3ddit.py:381
← previousnext →201–300 of 375, ranked by callers