MCPcopy Create free account

hub / github.com/QWTforGithub/T2LDM / functions

Functions2,893 in github.com/QWTforGithub/T2LDM

↓ 4 callersMethod__init__
(self, dim, input_resolution, depth, num_heads, window_size, mlp_ratio=4., qkv_bias=True, dro
timm/models/swin_transformer.py:378
↓ 4 callersMethod__init__
Args: img_size (int, tuple): input image size in_chans (int): number of input channels patch_size (int):
timm/models/nest.py:217
↓ 4 callersMethod__init__
(self, inplace: bool = False)
timm/models/layers/activations_jit.py:41
↓ 4 callersMethod__init__
(self, inplace: bool = False)
timm/models/layers/activations_me.py:92
↓ 4 callersFunction_cfg
(url='', **kwargs)
timm/models/inception_v3.py:16
↓ 4 callersFunction_create_inception_v3
(variant, pretrained=False, **kwargs)
timm/models/inception_v3.py:426
↓ 4 callersFunction_gen_efficientnetv2_base
Creates an EfficientNet-V2 base model Ref impl: https://github.com/google/automl/tree/master/efficientnetv2 Paper: `EfficientNetV2: Smaller
timm/models/efficientnet.py:919
↓ 4 callersFunction_gen_efficientnetv2_l
Creates an EfficientNet-V2 Large model Ref impl: https://github.com/google/automl/tree/master/efficientnetv2 Paper: `EfficientNetV2: Smaller
timm/models/efficientnet.py:1017
↓ 4 callersFunction_gen_efficientnetv2_m
Creates an EfficientNet-V2 Medium model Ref impl: https://github.com/google/automl/tree/master/efficientnetv2 Paper: `EfficientNetV2: Smalle
timm/models/efficientnet.py:987
↓ 4 callersFunction_gen_mnasnet_a1
Creates a mnasnet-a1 model. Ref impl: https://github.com/tensorflow/tpu/tree/master/models/official/mnasnet Paper: https://arxiv.org/pdf/1807
timm/models/efficientnet.py:574
↓ 4 callersFunction_gen_mnasnet_b1
Creates a mnasnet-b1 model. Ref impl: https://github.com/tensorflow/tpu/tree/master/models/official/mnasnet Paper: https://arxiv.org/pdf/1807
timm/models/efficientnet.py:610
↓ 4 callersFunction_gen_mobilenet_v2
Generate MobileNet-V2 network Ref impl: https://github.com/tensorflow/models/blob/master/research/slim/nets/mobilenet/mobilenet_v2.py Paper:
timm/models/efficientnet.py:675
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, groups, reduction, stride=1, downsample_kernel_size=1, downs
timm/models/senet.py:351
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride=1, use_se=True, aa_layer=None)
timm/models/tresnet.py:214
↓ 4 callersMethod_make_layer
(self, planes, blocks, stride=1)
models/CLIP/clip/model.py:133
↓ 4 callersFunction_ntuple
(n)
timm/models/layers/helpers.py:10
↓ 4 callersMethod_params_per_elem
(self, batch_size)
timm/data/mixup.py:121
↓ 4 callersFunctionadapt_input_conv
(in_chans, conv_weight)
timm/models/helpers.py:142
↓ 4 callersMethodbackward
input: grad_out: (b, c, m, nsample) output: (b, c, n), None
pointops/functions/pointops.py:166
↓ 4 callersFunctioncheck_semantic_high_objects
(semantic)
data/kitti_semantic/descriptor.py:108
↓ 4 callersFunctiondelete_text
(infos, text)
data/kitti_semantic/descriptor.py:903
↓ 4 callersMethoddevice
(self)
models/diffusion/base.py:102
↓ 4 callersFunctionexpand_list
Expand lst to length N by randomly sampling from original elements (with replacement).
data/kitti_semantic/descriptor.py:122
↓ 4 callersMethodget_dicts
return info dicts for specified keys (or all if None) at specified indices (or out_indices if None)
timm/models/features.py:49
↓ 4 callersFunctionget_lidar_sweep
(path, return_intensity=False, return_time=False, dim=4)
utils/common.py:928
↓ 4 callersMethodget_loss_weight
(self, steps)
models/diffusion/base.py:153
↓ 4 callersFunctionget_w1_dict
( bin_path, semantic_path, high_objects, object_class_name, use_r
data/kitti_semantic/descriptor.py:160
↓ 4 callersMethodinsert_cls
Insert CLS token.
timm/models/coat.py:478
↓ 4 callersFunctionis_no_jit
()
timm/models/layers/config.py:25
↓ 4 callersFunctionlecun_normal_
(tensor)
timm/models/layers/weight_init.py:88
↓ 4 callersMethodlist_flat
(self, li)
models/T2LDM.py:2313
↓ 4 callersFunctionload
Load a CLIP model Parameters ---------- name : str A model name listed by `clip.available_models()`, or the path to a model check
models/CLIP/clip/clip.py:94
↓ 4 callersFunctionlog
(t, eps=1e-20)
models/diffusion/continuous_time.py:16
↓ 4 callersMethodlog_snr_to_alpha_sigma
(log_snr)
models/diffusion/continuous_time.py:163
↓ 4 callersFunctionmake_attn
( q_dim=64, kv_dim=None, heads=8, dim_head=8, attn_type="vanilla"
models/T2LDM.py:39
↓ 4 callersFunctionmake_div
(v, divisor=8)
timm/models/resnetv2.py:126
↓ 4 callersFunctionorientation_text_rad
将车辆 yaw(弧度制)转换为前/后/左/右朝向描述
data/nuScenes/descriptor_plus.py:530
↓ 4 callersFunctionorientation_text_rad
将车辆 yaw(弧度制)转换为前/后/左/右朝向描述
data/nuScenes/descriptor.py:488
↓ 4 callersMethodpoints_4dim_to_3dim
(self, metric)
utils/lidar.py:70
↓ 4 callersFunctionsave_pkl
(save_path=None, infos=None)
data/nuScenes/descriptor.py:221
↓ 4 callersMethodstep
Performs a single optimization step. Arguments: closure (callable, optional): A closure that reevaluates the model
timm/optim/adamw.py:59
↓ 4 callersFunctionvoxel_to_point
(x, z, nearest=False)
eval/models/ts/utils.py:63
↓ 3 callersFunctionFPS
(pts, fps_pts_num)
utils/common.py:1890
↓ 3 callersMethod__init__
VovNet (v2)
timm/models/vovnet.py:267
↓ 3 callersMethod__init__
(self, feature_info: List[Dict], out_indices: Tuple[int])
timm/models/features.py:22
↓ 3 callersMethod__init__
(self, small=False, num_init_features=64, k_r=96, groups=32, b=False, k_sec=(3, 4, 20, 3), in
timm/models/dpn.py:169
↓ 3 callersMethod__init__
(self, growth_rate=32, block_config=(6, 12, 24, 16), bn_size=4, stem_type='', num_classes=100
timm/models/densenet.py:165
↓ 3 callersMethod__init__
(self, dim, num_heads, head_dim_ratio=1., mlp_ratio=4., drop=0., attn_drop=0., drop_path=0.,
timm/models/visformer.py:115
↓ 3 callersMethod__init__
(self, img_size=224, patch_size=16, in_chans=3, num_classes=1000, embed_dim=768, depth=12, nu
timm/models/beit.py:239
↓ 3 callersMethod__init__
(self, cfg, num_classes=1000, in_chans=3, drop_rate=0.0, global_pool='avg')
timm/models/selecsls.py:156
↓ 3 callersMethod__init__
(self, act_type='relu', gamma: float = 1.0, inplace=False)
timm/models/nfnet.py:288
↓ 3 callersMethod__init__
(self, img_size=224, patch_size=16, in_chans=3, num_classes=1000, embed_dim=768, in_dim=48, depth=12,
timm/models/tnt.py:152
↓ 3 callersMethod__init__
(self, dim, num_heads=8, qkv_bias=False, attn_drop=0., proj_drop=0., locality_strength=1.)
timm/models/convit.py:60
↓ 3 callersMethod__init__
( self, in_channel, out_channels, kernel_size, stride=1, padding=None, dilation=1, gro
timm/models/layers/std_conv.py:32
↓ 3 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
timm/models/layers/mlp.py:13
↓ 3 callersMethod__init__
(self, output_size=1)
timm/models/layers/adaptive_avgmax_pool.py:62
↓ 3 callersMethod__init__
(self, config)
eval/models/rangenet/model.py:323
↓ 3 callersFunction_cfg
(url='', **kwargs)
timm/models/ghostnet.py:25
↓ 3 callersFunction_cfg
(url='', **kwargs)
timm/models/xception_aligned.py:22
↓ 3 callersFunction_cfg
(url='', **kwargs)
timm/models/convmixer.py:7
↓ 3 callersFunction_cfg
(url='', **kwargs)
timm/models/convit.py:38
↓ 3 callersFunction_create_convit
(variant, pretrained=False, **kwargs)
timm/models/convit.py:315
↓ 3 callersFunction_create_convmixer
(variant, pretrained=False, **kwargs)
timm/models/convmixer.py:82
↓ 3 callersFunction_create_ghostnet
Constructs a GhostNet model
timm/models/ghostnet.py:216
↓ 3 callersFunction_create_mnv3
(variant, pretrained=False, **kwargs)
timm/models/mobilenetv3.py:220
↓ 3 callersFunction_gen_efficientnetv2_xl
Creates an EfficientNet-V2 Xtra-Large model Ref impl: https://github.com/google/automl/tree/master/efficientnetv2 Paper: `EfficientNetV2: Sm
timm/models/efficientnet.py:1047
↓ 3 callersFunction_gen_fbnetv3
FBNetV3 Paper: `FBNetV3: Joint Architecture-Recipe Search using Predictor Pretraining` - https://arxiv.org/abs/2006.02049 FIXME untes
timm/models/mobilenetv3.py:373
↓ 3 callersMethod_get_lr
(self, t)
timm/scheduler/tanh_lr.py:71
↓ 3 callersFunction_lovasz_grad
Compute gradient of the Lovasz extension w.r.t sorted errors See Alg. 1 in paper
utils/common.py:507
↓ 3 callersMethod_make_stage
(self, layer_config, num_inchannels, multi_scale_output=True)
timm/models/hrnet.py:655
↓ 3 callersMethod_make_transition_layer
(self, num_channels_pre_layer, num_channels_cur_layer)
timm/models/hrnet.py:613
↓ 3 callersFunction_xception
(variant, pretrained=False, **kwargs)
timm/models/xception_aligned.py:174
↓ 3 callersFunctionadaptive_avgmax_pool2d
(x, output_size=1)
timm/models/layers/adaptive_avgmax_pool.py:24
↓ 3 callersFunctionapply_rot_embed
(x: torch.Tensor, sin_emb, cos_emb)
timm/models/layers/attention_pool2d.py:24
↓ 3 callersFunctionclass_name
(index)
data/kitti_semantic/descriptor.py:511
↓ 3 callersFunctioncompute_fd
(reference, samples)
eval/eval_utils.py:94
↓ 3 callersFunctioncompute_logits
( dataset, modality, sample, reference, results_path="results", )
eval/metric_utils.py:377
↓ 3 callersFunctionconvert_norm_act
(norm_layer, act_layer)
timm/models/layers/create_norm_act.py:51
↓ 3 callersFunctioncount_num
(gt_names)
data/nuScenes/descriptor_plus.py:241
↓ 3 callersFunctioncount_num
(gt_names)
data/nuScenes/descriptor.py:217
↓ 3 callersFunctionget_condconv_initializer
(initializer, num_experts, expert_shape)
timm/models/layers/cond_conv2d.py:21
↓ 3 callersMethodget_cycle_length
(self, cycles=0)
timm/scheduler/poly_lr.py:111
↓ 3 callersMethodget_output
(self, device)
timm/models/features.py:115
↓ 3 callersMethodget_params
Gets all parameters in all param_groups with gradients
timm/optim/adahessian.py:58
↓ 3 callersMethodget_prediction
(self, pred, x_t, alpha_t, sigma_t)
models/diffusion/base.py:150
↓ 3 callersFunctionhas_hf_hub
(necessary=False)
timm/models/hub.py:55
↓ 3 callersFunctionload_class_map
(map_or_filename, root='')
timm/data/parsers/class_map.py:4
↓ 3 callersFunctionmean
Nan-mean compatible with generators.
utils/common.py:676
↓ 3 callersFunctionnatural_key
See http://www.codinghorror.com/blog/archives/001018.html
timm/utils/misc.py:8
↓ 3 callersFunctionoverride_kwargs
Override model level attn/self-attn/block kwargs w/ block level NOTE: kwargs are NOT merged across levels, block_kwargs will fully replace model
timm/models/byobnet.py:1271
↓ 3 callersFunctionpoint_to_voxel
(x, z)
eval/models/ts/utils.py:38
↓ 3 callersFunctionread_pkl
( file_path = None )
data/kitti_semantic/descriptor.py:98
↓ 3 callersFunctionresize_pos_embed
(posemb, posemb_new, num_tokens=1, gs_new=())
timm/models/vision_transformer.py:487
↓ 3 callersMethodsave_pkl
(self, info, name="pkl.pkl")
utils/lidar.py:106
↓ 3 callersFunctionset_layer
(model, layer, val)
timm/models/helpers.py:255
↓ 3 callersFunctionsplit_channels
(image: torch.Tensor)
train_frozen_scrg_stage1.py:476
↓ 3 callersFunctionsplit_channels
(image: torch.Tensor)
train_full_scrg.py:528
↓ 3 callersFunctionsplit_channels
(image: torch.Tensor)
train_full_scrg_uncondtional_KITTI360_sample.py:469
↓ 3 callersFunctionsplit_channels
(image: torch.Tensor)
train_frozen_scrg_stage2.py:506
↓ 3 callersFunctiontext_quantity_l1
Key: text_quantity_l1 Using The Training and Combination. Exmaple : NUM_THRESHOLD = 2 No cars. O
data/nuScenes/descriptor_plus.py:815
← previousnext →201–300 of 2,893, ranked by callers