MCPcopy Create free account

hub / github.com/lingeringlight/START / functions

Functions223 in github.com/lingeringlight/START

Method__init__
(self, *args, **xargs)
data/JigsawLoader.py:240
Method__init__
(self, names, labels, domain_labels, dataset_path, jig_classes=100, img_transformer=None, ti
data/JigsawLoader.py:286
Method__init__
(self, *args, **xargs)
data/JigsawLoader.py:342
Method__init__
(self, datasets)
data/concat_dataset.py:33
Method__init__
Args: p (float): probability of using SeqTokenMix. eps (float): scaling parameter to avoid numerical issues. au
perturb_style/SeqTokenAug.py:12
Method__init__
(self, p=0.5, eps=1e-6, mask_size=0.5, factor=0.8, mask_or_model=0)
perturb_style/ALOFT.py:77
Method__init__
(self, p=0.5, eps=1e-6)
perturb_style/DSU.py:15
Method__init__
Args: p (float): probability of using MixStyle. alpha (float): parameter of the Beta distribution. eps (float):
perturb_style/MixStyle.py:12
Method__init__
Simple block wrapping a mixer class with LayerNorm/RMSNorm and residual connection" This Block has a slightly different structure co
models/mamba_simple.py:338
Method__init__
(self, patch_size=4, in_chans=3, embed_dim=96, norm_layer=None, **kwargs)
models/vmamba.py:171
Method__init__
(self, dim, norm_layer=nn.LayerNorm)
models/vmamba.py:196
Method__init__
( self, hidden_dim: int = 0, drop_path: float = 0, norm_layer:
models/vmamba.py:581
Method__init__
( self, dim, depth, attn_drop=0., drop_path=0.,
models/vmamba.py:626
Method__init__
(self, *args)
models/vmamba.py:692
Method__init__
(self, patch_size=4, in_chans=3, num_classes=1000, depths=[2, 2, 9, 2], dims=[96, 192, 384, 7
models/vmamba.py:700
Method__init__
Simple block wrapping a mixer class with LayerNorm/RMSNorm and residual connection" This Block has a slightly different structure co
models/mamba_ssm/mamba_simple_vim.py:418
Method__iter__
(self)
samplers.py:38
Method__iter__
(self)
data/samplers.py:24
Method__len__
(self)
samplers.py:60
Method__len__
(self)
data/samplers.py:21
Method__len__
(self)
data/samplers.py:113
Method__len__
(self)
data/samplers.py:165
Method__len__
(self)
data/samplers.py:227
Method__len__
(self)
data/data_helper.py:30
Method__len__
(self)
data/datasets.py:75
Method__len__
(self)
data/JigsawLoader.py:217
Method__len__
(self)
data/JigsawLoader.py:330
Method__len__
(self)
data/concat_dataset.py:39
Method__repr__
(self)
perturb_style/MixStyle.py:28
Method__retrieve_permutations
(self, classes)
data/JigsawLoader.py:333
Method__str__
(self)
utils.py:71
Method__str__
(self)
utils.py:100
Function_init_weights
( module, n_layer, initializer_range=0.02, # Now only used for embedding layer. rescale_preno
models_mamba.py:184
Method_init_weights
(module: nn.Module)
models/vmamba.py:665
Method_init_weights
out_proj.weight which is previously initilized in VSSBlock, would be cleared in nn.Linear no fc.weight found in the any of the model
models/vmamba.py:766
Function_load_checkpoint_for_ema
Workaround for ModelEma._load_checkpoint to accept an already-loaded object
utils.py:162
Methodallocate_inference_cache
(self, batch_size, max_seqlen, dtype=None, **kwargs)
models_mamba.py:377
Methodallocate_inference_cache
(self, batch_size, max_seqlen, dtype=None, **kwargs)
models/mamba_simple.py:392
Methodallocate_inference_cache
(self, batch_size, max_seqlen, dtype=None, **kwargs)
models/mamba_ssm/mamba_simple_vim.py:472
Methodantidiagonal_gather
(x)
models/vmamba.py:419
Methodantidiagonal_scatter
(tensor_flat, original_shape)
models/vmamba.py:429
Methodavg
(self)
utils.py:55
Methodbackward
(ctx, x: torch.Tensor)
models/csm_triton.py:229
Methodbackward
(ctx, y: torch.Tensor)
models/csm_triton.py:255
Methodbackward
(ctx, dout, *args)
models/mamba_ssm/selective_scan_interface.py:52
Methodbackward
(ctx, dout)
models/mamba_ssm/selective_scan_interface.py:267
Methodbackward
(ctx, dout)
models/mamba_ssm/selective_scan_interface.py:408
Methodbackward
(ctx, dout)
models/mamba_ssm/selective_scan_interface.py:561
Functionbimamba_inner_ref
( xz, conv1d_weight, conv1d_bias, x_proj_weight, delta_proj_weight, out_proj_weight, out_proj_
models/mamba_ssm/selective_scan_interface.py:716
Functionbuild_dataset
(is_train, args)
datasets.py:56
Functionbuild_dataset
(is_train, args, infer_no_resize=False)
data/datasets.py:122
Functionbuild_sampler
( sampler_type, cfg=None, data_source=None, batch_size=32, n_domain=0, n_ins=16
data/samplers.py:231
Methodcummulative_sizes
(self)
data/concat_dataset.py:51
Methoddiagonal_gather
(x)
models/vmamba.py:397
Methoddiagonal_scatter
(tensor_flat, original_shape)
models/vmamba.py:406
Functionflops_selective_scan_ref
u: r(B D L) delta: r(B D L) A: r(D N) B: r(B N L) C: r(B N L) D: r(D) z: r(B D L) delta_bias: r(D), fp32 ignores
models/vmamba.py:44
Methodforward
Args: inputs: The original inputs that are feed to the teacher model outputs: the outputs of the model to be trained.
losses.py:25
Methodforward
(self, x)
models_mamba.py:56
Methodforward
r"""Pass the input through the encoder layer. Args: hidden_states: the sequence to the encoder layer (required). resi
models_mamba.py:95
Methodforward
(self, x, return_features=False, inference_params=None, if_random_cls_token_position=False, if_random_token_ra
models_mamba.py:549
Methodforward
(self, x, x_aug, Bx=None)
perturb_style/SeqTokenAug.py:47
Methodforward
(self, img_fft)
perturb_style/ALOFT.py:24
Methodforward
(self, img)
perturb_style/ALOFT.py:86
Methodforward
(self, x)
perturb_style/DSU.py:30
Methodforward
(self, x)
perturb_style/MixStyle.py:37
Methodforward
hidden_states: (B, L, D) Returns: same shape as hidden_states
models/mamba_simple.py:136
Methodforward
r"""Pass the input through the encoder layer. Args: hidden_states: the sequence to the encoder layer (required). resi
models/mamba_simple.py:364
Methodforward
(ctx, x: torch.Tensor)
models/csm_triton.py:189
Methodforward
(ctx, y: torch.Tensor)
models/csm_triton.py:215
Methodforward
(ctx, x: torch.Tensor)
models/csm_triton.py:241
Methodforward
(self, x)
models/vmamba.py:181
Methodforward
(self, x)
models/vmamba.py:202
Methodforward
(self, x: torch.Tensor, **kwargs)
models/vmamba.py:552
Methodforward
(self, input: torch.Tensor)
models/vmamba.py:608
Methodforward
(self, x)
models/vmamba.py:678
Methodforward
(self, x: torch.Tensor)
models/vmamba.py:696
Methodforward
(self, x)
models/vmamba.py:813
Methodforward
hidden_states: (B, L, D) Returns: same shape as hidden_states
models/mamba_ssm/mamba_simple_vim.py:179
Methodforward
r"""Pass the input through the encoder layer. Args: hidden_states: the sequence to the encoder layer (required). resi
models/mamba_ssm/mamba_simple_vim.py:444
Methodforward
(ctx, u, delta, A, B, C, D=None, z=None, delta_bias=None, delta_softplus=False, return_last_st
models/mamba_ssm/selective_scan_interface.py:19
Methodforward
xz: (batch, dim, seqlen)
models/mamba_ssm/selective_scan_interface.py:161
Methodforward
xz: (batch, dim, seqlen)
models/mamba_ssm/selective_scan_interface.py:335
Methodforward
xz: (batch, dim, seqlen)
models/mamba_ssm/selective_scan_interface.py:480
Methodforward_corev0
(self, x: torch.Tensor)
models/vmamba.py:442
Methodforward_corev1
(self, x: torch.Tensor)
models/vmamba.py:513
Methodforward_features
(self, x)
models/vmamba.py:791
Methodget_image
(self, index)
data/JigsawLoader.py:318
Functionget_split_dataset_info
(txt_list, val_percentage)
data/JigsawLoader.py:158
Methodget_tile
(self, img, n)
data/JigsawLoader.py:310
Functionget_train_dataloader
(args, patches)
data/data_helper.py:34
Functionget_train_dataset
(args, patches)
data/data_helper.py:209
Functionget_val_dataloader
(args, patches=False, tSNE_flag=0)
data/data_helper.py:96
Functionget_val_dataset
(args, patches=False, tSNE_flag=0)
data/data_helper.py:257
Functionget_world_size
()
utils.py:195
Methodglobal_avg
(self)
utils.py:60
Functioninit_distributed_mode
(args)
utils.py:216
Functioninterpolate_pos_embed
(model, state_dict)
utils.py:242
MethodisMulti
(self)
data/concat_dataset.py:30
Methodload_pretrained
(self, checkpoint_path, prefix="")
models_mamba.py:388
Methodmake_grid
(x)
data/JigsawLoader.py:305
← previousnext →101–200 of 223, ranked by callers