Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QWTforGithub/T2LDM
/ functions
Functions
2,893 in github.com/QWTforGithub/T2LDM
⨍
Functions
2,893
◇
Types & classes
478
↓ 1 callers
Method
get_rel_indices
(self, num_patches: int)
timm/models/convit.py:129
↓ 1 callers
Function
get_semantic_and_description
从nuScenes中读取: Semantic Label Description Label
data/nuScenes/descriptor_plus.py:766
↓ 1 callers
Function
get_semantic_and_description
从nuScenes中读取: Semantic Label Description Label
data/nuScenes/descriptor.py:712
↓ 1 callers
Method
get_target
(self, x_0, steps, noise)
models/diffusion/base.py:147
↓ 1 callers
Function
get_text_decription
生成不同类型的Text Description.
data/nuScenes/descriptor_plus.py:1383
↓ 1 callers
Function
get_text_decription
生成不同类型的Text Description.
data/nuScenes/descriptor.py:1163
↓ 1 callers
Function
get_text_features
(text,text_null,device)
train_frozen_scrg_stage1.py:509
↓ 1 callers
Function
get_text_features
(text, text_null)
generate_multi_gpus.py:180
↓ 1 callers
Function
get_text_features
(text,text_null,device)
train_full_scrg.py:561
↓ 1 callers
Function
get_text_features
(text,text_null,device)
train_full_scrg_uncondtional_KITTI360_sample.py:502
↓ 1 callers
Function
get_text_features
(text,text_null,device)
train_frozen_scrg_stage2.py:539
↓ 1 callers
Function
get_timestep_embedding
This matches the implementation in Denoising Diffusion Probabilistic Models: From Fairseq. Build sinusoidal embeddings.
models/T2LDM.py:895
↓ 1 callers
Method
get_update_values
(self, num_updates: int)
timm/scheduler/scheduler.py:64
↓ 1 callers
Method
get_zero_conv
(self)
models/T2LDM.py:2291
↓ 1 callers
Function
grad_w
(img)
utils/common.py:410
↓ 1 callers
Function
hard_mish
Hard Mish Experimental, based on notes by Mish author Diganta Misra at https://github.com/digantamisra98/H-Mish/blob/0da20d4bc58e696b6803f2
timm/models/layers/activations.py:104
↓ 1 callers
Function
hard_mish_jit
Hard Mish Experimental, based on notes by Mish author Diganta Misra at https://github.com/digantamisra98/H-Mish/blob/0da20d4bc58e696b6803f2
timm/models/layers/activations_jit.py:77
↓ 1 callers
Function
hard_mish_jit_bwd
(x, grad_output)
timm/models/layers/activations_me.py:184
↓ 1 callers
Function
hard_mish_jit_fwd
(x)
timm/models/layers/activations_me.py:179
↓ 1 callers
Function
hard_sigmoid
(x, inplace: bool = False)
timm/models/layers/activations.py:88
↓ 1 callers
Function
hard_sigmoid_jit
(x, inplace: bool = False)
timm/models/layers/activations_jit.py:49
↓ 1 callers
Function
hard_sigmoid_jit_bwd
(x, grad_output)
timm/models/layers/activations_me.py:105
↓ 1 callers
Function
hard_sigmoid_jit_fwd
(x, inplace: bool = False)
timm/models/layers/activations_me.py:100
↓ 1 callers
Function
hard_swish
(x, inplace: bool = False)
timm/models/layers/activations.py:74
↓ 1 callers
Function
hard_swish_jit
(x, inplace: bool = False)
timm/models/layers/activations_jit.py:63
↓ 1 callers
Function
hard_swish_jit_bwd
(x, grad_output)
timm/models/layers/activations_me.py:140
↓ 1 callers
Function
hard_swish_jit_fwd
(x)
timm/models/layers/activations_me.py:135
↓ 1 callers
Function
hausdorff_distance
the HD is from MPU Parameters ---------- X Y Returns -------
eval/modules/chamfer3D/dist_chamfer_3D.py:80
↓ 1 callers
Function
hf_split
(hf_id)
timm/models/hub.py:63
↓ 1 callers
Function
ignore_label
Flattens predictions in the batch (binary case) Remove labels equal to 'ignore'
utils/common.py:447
↓ 1 callers
Method
init_weights
(self, zero_init_last=True)
timm/models/resnetv2.py:389
↓ 1 callers
Method
init_weights
(self)
timm/models/hrnet.py:674
↓ 1 callers
Method
init_weights
(self, zero_init_last: bool = False)
timm/models/byobnet.py:1000
↓ 1 callers
Method
init_weights
(self, mode='')
timm/models/nest.py:310
↓ 1 callers
Method
init_weights
(self, zero_init_last_bn=True)
timm/models/resnet.py:647
↓ 1 callers
Method
init_weights
(self, mode='')
timm/models/vision_transformer.py:306
↓ 1 callers
Function
initial_voxelize
(z, init_res, after_res)
eval/models/ts/utils.py:15
↓ 1 callers
Method
initialize_parameters
(self)
models/CLIP/clip/model.py:303
↓ 1 callers
Function
is_model
Check if a model name exists
timm/models/registry.py:94
↓ 1 callers
Function
is_model_in_modules
Check if a model exists within a subset of modules Args: model_name (str) - name of model to check module_names (tuple, list, set)
timm/models/registry.py:113
↓ 1 callers
Function
is_static_pad
(kernel_size: int, stride: int = 1, dilation: int = 1, **_)
timm/models/layers/padding.py:23
↓ 1 callers
Method
l_control
(self, n_x, l_x, temb=None)
models/T2LDM.py:2475
↓ 1 callers
Function
linear_beta_schedule
linear schedule, proposed in original ddpm paper
models/diffusion/discrete_time.py:13
↓ 1 callers
Function
load_cfg_from_json
(json_file: Union[str, os.PathLike])
timm/models/hub.py:71
↓ 1 callers
Function
load_checkpoint
(model, checkpoint_path, use_ema=False, strict=False)
timm/models/helpers.py:54
↓ 1 callers
Function
load_custom_pretrained
r"""Loads a custom (read non .pth) weight file Downloads checkpoint file into cache-dir like torch.hub based loaders, but calls a passed in c
timm/models/helpers.py:106
↓ 1 callers
Function
load_model_config_from_hf
(model_id: str)
timm/models/hub.py:83
↓ 1 callers
Function
load_pretrained
Load pretrained checkpoint Args: model (nn.Module) : PyTorch model module default_cfg (Optional[Dict]): default configuration fo
timm/models/helpers.py:167
↓ 1 callers
Method
load_pretrained_weights
(self, path)
eval/models/rangenet/model.py:330
↓ 1 callers
Function
load_state_dict
(checkpoint_path, use_ema=False)
timm/models/helpers.py:24
↓ 1 callers
Function
load_state_dict_from_hf
(model_id: str)
timm/models/hub.py:92
↓ 1 callers
Method
local_init
(self)
timm/models/convit.py:115
↓ 1 callers
Function
log_snr_schedule_cosine
( t: torch.Tensor, logsnr_min: float = -15, logsnr_max: float = 15, )
models/diffusion/continuous_time.py:24
↓ 1 callers
Method
logits
(self, x)
timm/models/senet.py:386
↓ 1 callers
Function
main
(args, cfg)
generate_multi_gpus.py:49
↓ 1 callers
Function
make_blocks
( block_fn, channels, block_repeats, inplanes, reduce_first=1, output_stride=32, down_kernel_s
timm/models/resnet.py:468
↓ 1 callers
Function
make_safe
(name)
timm/models/factory.py:18
↓ 1 callers
Function
midpoint_interpolate
(sparse_pts, up_rate=4, normal=False, only_FPS=False)
utils/common.py:1935
↓ 1 callers
Function
mish
Mish: A Self Regularized Non-Monotonic Neural Activation Function - https://arxiv.org/abs/1908.08681 NOTE: I don't have a working inplace variant
timm/models/layers/activations.py:29
↓ 1 callers
Function
mish_jit
Mish: A Self Regularized Non-Monotonic Neural Activation Function - https://arxiv.org/abs/1908.08681
timm/models/layers/activations_jit.py:26
↓ 1 callers
Function
mish_jit_bwd
(x, grad_output)
timm/models/layers/activations_me.py:66
↓ 1 callers
Function
mish_jit_fwd
(x)
timm/models/layers/activations_me.py:61
↓ 1 callers
Function
mnasnet_100
MNASNet B1, depth multiplier of 1.0.
timm/models/efficientnet.py:1158
↓ 1 callers
Function
model_entrypoint
Fetch a model entrypoint for specified model name
timm/models/registry.py:100
↓ 1 callers
Method
module_name
feature module name accessor
timm/models/features.py:72
↓ 1 callers
Method
n_denosing
(self, n_x, temb=None, cemb=None)
models/T2LDM.py:2317
↓ 1 callers
Method
no_weight_decay
(self)
timm/models/tnt.py:202
↓ 1 callers
Function
normalize_point_cloud
(input, centroid=None, furthest_distance=None)
utils/common.py:1920
↓ 1 callers
Function
optimizer_kwargs
cfg/argparse to kwargs helper Convert optimizer args in argparse args or cfg like object to keyword args for updated create fn.
timm/optim/optim_factory.py:46
↓ 1 callers
Method
p_loss
( self, x_0: torch.Tensor, steps: torch.Tensor, loss_mask: tor
models/diffusion/base.py:156
↓ 1 callers
Method
p_sample
( self, x_t: torch.Tensor, steps: torch.Tensor, rng: List[torch.Generator] | t
models/diffusion/discrete_time.py:126
↓ 1 callers
Function
pcd2bev_bin
(data_type, *args, voxel_size=0.5)
eval/metric_utils.py:264
↓ 1 callers
Function
pcd2bev_sum
(data_type, *args, voxel_size=VOXEL_SIZE)
eval/metric_utils.py:236
↓ 1 callers
Function
pcd2range
( pcd, size=(64, 1024), fov=(3, -25), depth_range=(1.0, 56.0), re
utils/common.py:1030
↓ 1 callers
Function
pcd2range
(pcd, size, fov, depth_range, remission=None, labels=None, **kwargs)
eval/metric_utils.py:72
↓ 1 callers
Function
preprocess_for_eval
Preprocesses the given image for evaluation. Args: image_bytes: `Tensor` representing an image binary of arbitrary size. use_bfloat16
timm/data/tf_preprocessing.py:161
↓ 1 callers
Function
preprocess_for_train
Preprocesses the given image for evaluation. Args: image_bytes: `Tensor` representing an image binary of arbitrary size. use_bfloat16
timm/data/tf_preprocessing.py:140
↓ 1 callers
Function
preprocess_image
Preprocesses the given image. Args: image_bytes: `Tensor` representing an image binary of arbitrary size. is_training: `bool` for whe
timm/data/tf_preprocessing.py:181
↓ 1 callers
Function
print_info
(save_infos=False)
data/nuScenes/descriptor_plus.py:1728
↓ 1 callers
Function
print_info
(save_infos=False)
data/nuScenes/descriptor.py:1508
↓ 1 callers
Function
process_scan
( range_img, log_scale=True, depth_range=(1.0, 56.0), )
utils/common.py:1162
↓ 1 callers
Method
q_sample
(self, x_0, steps, noise)
models/diffusion/base.py:141
↓ 1 callers
Method
qkv_attention
(self, qkv, gate_score=None)
models/T2LDM.py:763
↓ 1 callers
Method
qkv_attention_legacy
(self, qkv, gate_score=None)
models/T2LDM.py:748
↓ 1 callers
Function
quantize_float
Converts a float to closest non-zero int divisible by q.
timm/models/regnet.py:102
↓ 1 callers
Function
rand_augment_ops
(magnitude=10, hparams=None, transforms=None)
timm/data/auto_augment.py:634
↓ 1 callers
Function
rand_augment_transform
Create a RandAugment transform :param config_str: String defining configuration of random augmentation. Consists of multiple sections separa
timm/data/auto_augment.py:663
↓ 1 callers
Function
rand_bbox
Standard CutMix bounding-box Generates a random square bbox based on lambda value. This impl includes support for enforcing a border margin a
timm/data/mixup.py:30
↓ 1 callers
Function
rand_bbox_minmax
Min-Max CutMix bounding-box Inspired by Darknet cutmix impl, generates a random rectangular bbox based on min/max percent values applied to e
timm/data/mixup.py:54
↓ 1 callers
Function
range2pcd
( range_img, fov=(3, -25), depth_range=(1.0, 56.0), log_scale=True,
utils/common.py:1096
↓ 1 callers
Function
range2xyz
(range_img, fov, depth_range, depth_scale, log_scale=True, **kwargs)
eval/metric_utils.py:128
↓ 1 callers
Function
range_img_denormalize
(range_img, depth_range)
utils/common.py:1337
↓ 1 callers
Function
range_img_normalize
(range_img, depth_range)
utils/common.py:1334
↓ 1 callers
Function
ravel_hash
(x: np.ndarray)
eval/metric_utils.py:31
↓ 1 callers
Function
read_ply
( file_path )
utils/common.py:2104
↓ 1 callers
Method
reduction
feature reduction (output stride) accessor
timm/models/features.py:67
↓ 1 callers
Method
register_hook
(self, hook_fn_loc, hook_fn)
timm/utils/model.py:78
↓ 1 callers
Function
rel_pos_indices
(size)
timm/models/layers/lambda_layer.py:31
↓ 1 callers
Function
relative_position
获取简单的boxA在boxB的所处位置 boxA : 源盒子, (N,) boxB : 目标盒子,源盒子的参考系,(N,)
data/nuScenes/descriptor_plus.py:552
↓ 1 callers
Function
relative_position
获取简单的boxA在boxB的所处位置 boxA : 源盒子, (N,) boxB : 目标盒子,源盒子的参考系,(N,)
data/nuScenes/descriptor.py:510
← previous
next →
701–800 of 2,893, ranked by callers