MCPcopy Create free account

hub / github.com/aigc3d/LHM / functions

Functions3,669 in github.com/aigc3d/LHM

Method__call__
Perform data augmentation with random scaling & rotating.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/top_down_transform.py:165
Method__call__
(self, results)
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/top_down_transform.py:202
Method__call__
Generate the target heatmap.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/top_down_transform.py:553
Method__call__
Generate the target heatmap.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/top_down_transform.py:690
Method__call__
Perform data augmentation with random translation.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/top_down_transform.py:727
Method__call__
(self, results)
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/shared_transform.py:30
Method__call__
(self, results)
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/shared_transform.py:54
Method__call__
Call function to apply transforms sequentially. Args: data (dict): A result dict contains the data to transform. Returns
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/shared_transform.py:89
Method__call__
Performs the Collect formatting. Args: results (dict): The resulting dict to be modified and passed to the next tra
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/shared_transform.py:141
Method__call__
(self, results)
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/shared_transform.py:287
Method__call__
Call function to perform photometric distortion on images. Args: results (dict): Result dict from loading pipeline. Retu
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/shared_transform.py:376
Method__call__
(self, results)
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/shared_transform.py:438
Method__call__
(self, results)
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/shared_transform.py:462
Method__call__
(self, results)
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/shared_transform.py:493
Method__call__
Rename keys.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/pipelines/shared_transform.py:521
Method__call__
(self, results)
engine/pose_estimation/third-party/ViTPose/tests/test_pipelines/test_shared_transform.py:49
Method__call__
(self, x)
engine/SegmentAPI/base.py:45
Method__call__
(self, **inputs)
engine/SegmentAPI/SAM.py:487
Method__contains__
(self, name)
LHM/utils/registry.py:34
Method__contains__
(self, name)
engine/pose_estimation/third-party/ViTPose/tools/webcam/webcam_apis/utils/buffer.py:68
Method__delitem__
(self, *args, **kwargs)
LHM/outputs/base.py:64
Method__delitem__
(self, *args, **kwargs)
engine/ouputs.py:64
Method__enter__
(self)
LHM/utils/profiler.py:23
Method__enter__
(self)
LHM/runners/infer/base_inferrer.py:39
Method__enter__
(self)
LHM/models/rendering/smplx/transfer_model/utils/timer.py:31
Method__enter__
(self)
engine/pose_estimation/third-party/ViTPose/mmpose/utils/hooks.py:46
Method__exit__
(self, *args)
LHM/utils/profiler.py:26
Method__exit__
(self, exc_type, exc_val, exc_tb)
LHM/runners/infer/base_inferrer.py:42
Method__exit__
(self, type, value, traceback)
LHM/models/rendering/smplx/transfer_model/utils/timer.py:36
Method__exit__
(self, exc_type, exc_val, exc_tb)
engine/pose_estimation/third-party/ViTPose/mmpose/utils/hooks.py:49
Method__getattr__
(self, attr)
engine/pose_estimation/dinov2/dinov2/logging/helpers.py:33
Method__getitem__
Get a module
LHM/utils/registry.py:30
Method__getitem__
(self, k: Any)
LHM/outputs/base.py:84
Method__getitem__
(self, idx)
LHM/datasets/base.py:32
Method__getitem__
(self, idx)
LHM/datasets/mixer.py:68
Method__getitem__
(self, idx)
LHM/models/encoders/sapiens_warpper.py:76
Method__getitem__
(self, key)
LHM/models/rendering/smplx/smplx/utils.py:35
Method__getitem__
(self, index)
LHM/models/rendering/smplx/transfer_model/data/datasets/mesh.py:60
Method__getitem__
(self, key)
LHM/models/rendering/smplx_gsavatar/utils.py:35
Method__getitem__
(self, idx)
tools/metrics/compute_metric_ssim_lipis.py:117
Method__getitem__
(self, idx)
tools/metrics/compute_metric_ssim_lipis_anigs.py:118
Method__getitem__
(self, k: Any)
engine/ouputs.py:84
Method__getitem__
(self, it)
engine/pose_estimation/dinov2/dinov2/utils/utils.py:83
Method__getitem__
Get data.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/dataset_wrappers.py:25
Method__getitem__
Given index, get the data from train dataset and randomly sample an item from adversarial dataset. Return a dict containing data from
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/mesh/mesh_adv_dataset.py:32
Method__getitem__
Get the sample given index.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/mesh/mosh_dataset.py:59
Method__getitem__
Get the sample given index.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/mesh/mesh_base_dataset.py:151
Method__getitem__
Given index, sample the data from multiple datasets with the given proportion.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/mesh/mesh_mix_dataset.py:69
Method__getitem__
Get the sample for either training or testing given index.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/base/kpt_2d_sview_rgb_img_bottom_up_dataset.py:183
Method__getitem__
Get the sample given index.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/base/kpt_2d_sview_rgb_vid_top_down_dataset.py:185
Method__getitem__
Get the sample given index.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/base/kpt_3d_sview_rgb_img_top_down_dataset.py:242
Method__getitem__
Get the sample given index.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/base/kpt_3d_mview_rgb_img_direct_dataset.py:134
Method__getitem__
Get the sample given index.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/base/kpt_2d_sview_rgb_img_top_down_dataset.py:273
Method__getitem__
Get a sample with given index.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/base/kpt_3d_sview_kpt_2d_dataset.py:218
Method__getitem__
Given index, get the data from unlabeled dataset and randomly sample an item from labeled dataset. Return a dict containing data from
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/body3d/body3d_semi_supervision_dataset.py:31
Method__getitem__
Get the sample given index.
engine/pose_estimation/third-party/ViTPose/mmpose/datasets/datasets/body3d/body3d_mview_direct_panoptic_dataset.py:471
Method__getitem__
(self, idx)
engine/pose_estimation/third-party/ViTPose/tests/test_eval_hook.py:24
Method__getitem__
(self, idx)
engine/pose_estimation/third-party/ViTPose/tests/test_backward_compatibility/test_eval_hook_compatibility.py:17
Method__getitem__
(self, index)
engine/BiRefNet/dataset.py:114
Method__init__
(self, config: dict)
LHM/utils/hf_hub.py:22
Method__init__
(self, optimizer, warmup_iters: int, max_iters: int, initial_lr: float = 1e-10, last_iter: int = -1)
LHM/utils/scheduler.py:25
Method__init__
(self)
LHM/utils/profiler.py:20
Method__init__
:param save_dir: Base directory to store models.
LHM/utils/model_download_utils.py:55
Method__init__
(self)
LHM/utils/preprocess.py:27
Method__init__
(self, box, mode="whwh")
LHM/utils/bbox.py:16
Method__init__
(self, model_path, device)
LHM/utils/face_detector.py:71
Method__init__
Initialize the model switcher. Args: model_requirements (dict): {model_name: min_required_memory(MB)} get_mem
LHM/utils/model_query_utils.py:32
Method__init__
(self)
LHM/utils/registry.py:19
Method__init__
(self)
LHM/runners/abstract.py:22
Method__init__
(self)
LHM/runners/infer/human_lrm.py:357
Method__init__
(self)
LHM/runners/infer/base_inferrer.py:31
Method__init__
(self, root_dirs: str, meta_path: str)
LHM/datasets/base.py:20
Method__init__
( self, split: str, subsets: dict, **dataset_kwargs, )
LHM/datasets/mixer.py:28
Method__init__
(self, **kwargs)
LHM/models/modeling_human_lrm.py:527
Method__init__
(self)
LHM/models/transformer_dit.py:190
Method__init__
( self, dim: int, num_heads: int, eps: float, # num_attention_heads: i
LHM/models/transformer_dit.py:295
Method__init__
( self, dim: int, num_heads: int, eps: float, # num_attention_heads: i
LHM/models/transformer_dit.py:466
Method__init__
( self, dim: int, num_heads: int, eps: float, # num_attention_heads: i
LHM/models/transformer_dit.py:651
Method__init__
(self, inner_dim: int, cond_dim: int, num_heads: int, eps: float, attn_drop: float = 0., attn
LHM/models/block.py:58
Method__init__
(self, inner_dim: int, cond_dim: int, mod_dim: int, num_heads: int, eps: float, attn_drop: fl
LHM/models/block.py:95
Method__init__
Construct a PatchGAN discriminator Parameters: input_nc (int) -- the number of channels in input images ndf (int)
LHM/models/discriminator.py:71
Method__init__
(self, start, start_value, end_value, end)
LHM/models/utils.py:12
Method__init__
(self, v)
LHM/models/utils.py:34
Method__init__
(self, inplanes, planes, stride=1, downsample=None)
LHM/models/arcface_utils.py:45
Method__init__
(self, inplanes, planes, stride=1, downsample=None)
LHM/models/arcface_utils.py:134
Method__init__
(self, channel, reduction=16)
LHM/models/arcface_utils.py:181
Method__init__
( self, block="IRBlock", layers=[2, 2, 2, 2], use_se=False, pretrain_m
LHM/models/arcface_utils.py:211
Method__init__
(self, inner_dim: int, mod_dim: int, eps: float)
LHM/models/modulate.py:27
Method__init__
( self, scale, model_path, dni_weight=None, model=None, tile=0
LHM/models/ESRGANer_utils.py:54
Method__init__
(self, img_list, num_prefetch_queue)
LHM/models/ESRGANer_utils.py:344
Method__init__
( self, model_path="./pretrained_models/RealESRGAN_x4plus.pth", face_enhance=True )
LHM/models/ESRGANer_utils.py:387
Method__init__
( self, block_type: str, num_layers: int, num_heads: int, inner_dim: i
LHM/models/transformer.py:27
Method__init__
(self, raw_dim: int, embed_dim: int)
LHM/models/embedder.py:27
Method__init__
(self, model_name: str, freeze: bool = True, encoder_feat_dim: int = 384)
LHM/models/encoders/dino_wrapper.py:29
Method__init__
( self, model_name: str, modulation_dim: int = None, freeze: bool = True,
LHM/models/encoders/dinov2_dpt_wrapper.py:30
Method__init__
(self, model_name: str, modulation_dim: int = None, freeze: bool = True, encoder_feat_dim: int = 384)
LHM/models/encoders/dinov2_wrapper.py:28
Method__init__
(self, callable)
LHM/models/encoders/workpool.py:14
Method__init__
(self, func, *args, **kwargs)
LHM/models/encoders/workpool.py:36
Method__init__
Init. Args: features (int): number of features
LHM/models/encoders/dinov2_unet.py:151
Method__init__
Init. Args: features (int): number of features
LHM/models/encoders/dinov2_unet.py:210
← previousnext →1,801–1,900 of 3,669, ranked by callers