MCPcopy Create free account

hub / github.com/Dianezzy/ParaLip / functions

Functions329 in github.com/Dianezzy/ParaLip

↓ 1 callersMethodforward
(self, input)
modules/operations.py:204
↓ 1 callersMethodforward_embedding
(self, src_tokens)
modules/base_modules.py:353
↓ 1 callersFunctionget_a_var
(obj)
utils/pl_utils.py:32
↓ 1 callersMethodget_all_ckpts
(self)
utils/pl_utils.py:323
↓ 1 callersMethodget_dataloaders
(self, model)
utils/pl_utils.py:1097
↓ 1 callersMethodget_lr
(self)
tasks/grid_lipgen_task.py:59
↓ 1 callersMethodget_size
(self, img_size, num_layers)
modules/lip_modules/img_modules.py:29
↓ 1 callersMethodget_size
(self, img_size, num_layers)
modules/lip_modules/img_modules.py:78
↓ 1 callersMethodget_size
(self, img_size, num_layers)
modules/lip_modules/img_modules.py:120
↓ 1 callersMethodgrad_norm
(self, norm_type)
tasks/base_task.py:357
↓ 1 callersMethodin_proj_qkv
(self, query)
modules/operations.py:506
↓ 1 callersMethodinference
Inference duration. Args: xs (Tensor): Batch of input sequences (B, Tmax, idim). x_masks (ByteTensor, optional): Ba
modules/base_modules.py:117
↓ 1 callersMethodinit_ddp_connection
(self, proc_rank, world_size)
tasks/base_task.py:294
↓ 1 callersMethodinit_test_dataloader
(self, model)
utils/pl_utils.py:1136
↓ 1 callersMethodinit_train_dataloader
(self, model)
utils/pl_utils.py:1110
↓ 1 callersMethodinit_val_dataloader
(self, model)
utils/pl_utils.py:1126
↓ 1 callersFunctionload_config
(config_fn)
utils/hparams.py:36
↓ 1 callersMethodmeta_data
(self, prefix)
datasets/lipgen/timit/gen_timit.py:37
↓ 1 callersMethodmeta_data
(self, prefix)
datasets/lipgen/grid/gen_grid_high.py:45
↓ 1 callersMethodmetrics_to_scalars
(self, metrics)
utils/pl_utils.py:946
↓ 1 callersMethodon_after_backward
(self)
tasks/base_task.py:351
↓ 1 callersMethodon_batch_end
(self)
tasks/base_task.py:339
↓ 1 callersMethodon_batch_start
(self, batch)
tasks/base_task.py:336
↓ 1 callersMethodon_epoch_begin
(self, epoch, trainer)
utils/pl_utils.py:277
↓ 1 callersMethodon_epoch_start
(self)
tasks/base_task.py:138
↓ 1 callersMethodon_post_performance_check
(self)
tasks/base_task.py:345
↓ 1 callersMethodon_pre_performance_check
(self)
tasks/base_task.py:342
↓ 1 callersMethodon_sanity_check_start
(self)
tasks/base_task.py:327
↓ 1 callersMethodon_save_checkpoint
(self, checkpoint)
tasks/base_task.py:324
↓ 1 callersMethodon_train_end
(self)
tasks/base_task.py:333
↓ 1 callersMethodon_train_start
(self)
tasks/base_task.py:330
↓ 1 callersMethodoptimizer_step
(self, epoch, batch_idx, optimizer, optimizer_idx)
tasks/base_task.py:180
↓ 1 callersMethodordered_indices
Return an ordered list of indices. Batches will be constructed based on this order.
tasks/base_task.py:57
↓ 1 callersFunctionpad_list
Perform padding for the list of tensors. Args: xs (List): List of Tensors [(T_1, `*`), (T_2, `*`), ..., (T_B, `*`)]. pad_value
modules/base_modules.py:160
↓ 1 callersMethodparallel_apply
(self, replicas, inputs, kwargs)
utils/pl_utils.py:185
↓ 1 callersMethodparallel_apply
(self, replicas, inputs, kwargs)
utils/pl_utils.py:254
↓ 1 callersMethodprint_nan_gradients
(self)
utils/pl_utils.py:1080
↓ 1 callersMethodprocess
(self)
datasets/lipgen/timit/gen_timit.py:56
↓ 1 callersMethodprocess
(self)
datasets/lipgen/grid/gen_grid_high.py:144
↓ 1 callersMethodprocess_data
(self, prefix)
datasets/lipgen/timit/gen_timit.py:61
↓ 1 callersMethodprocess_data
(self, prefix)
datasets/lipgen/grid/gen_grid_high.py:77
↓ 1 callersMethodremove_padding_3D
(self, x, padding_idx=0)
tasks/grid_lipgen_task.py:315
↓ 1 callersMethodreset
(self)
utils/__init__.py:62
↓ 1 callersMethodreset_parameters
(self)
modules/operations.py:286
↓ 1 callersMethodresolve_root_node_address
(self, root_node)
utils/pl_utils.py:906
↓ 1 callersMethodrestore_state_if_checkpoint_exists
(self, model)
utils/pl_utils.py:618
↓ 1 callersMethodrestore_training_state
Restore trainer state. Model will get its change to update :param checkpoint: :return:
utils/pl_utils.py:673
↓ 1 callersMethodrestore_weights
To restore weights we have two cases. First, attempt to restore hpc weights. If successful, don't restore other weights.
utils/pl_utils.py:589
↓ 1 callersMethodrun_training_batch
(self, batch, batch_idx)
utils/pl_utils.py:1435
↓ 1 callersMethodrun_training_epoch
(self)
utils/pl_utils.py:1370
↓ 1 callersMethodset_distributed_mode
(self, distributed_backend)
utils/pl_utils.py:826
↓ 1 callersMethodsingle_gpu_train
(self, model)
utils/pl_utils.py:807
↓ 1 callersMethodtensor2img
(vid)
tasks/grid_lipgen_task.py:347
↓ 1 callersMethodtest
(self, model)
utils/pl_utils.py:574
↓ 1 callersMethodtest_end
(self, outputs)
tasks/base_task.py:238
↓ 1 callersMethodtest_start
(self)
tasks/base_task.py:232
↓ 1 callersMethodtraining_end
(self, *args, **kwargs)
tasks/base_task.py:291
↓ 1 callersMethodtraining_forward
Handle forward for each training case (distributed, single gpu, etc...) :param batch: :param batch_idx: :return:
utils/pl_utils.py:1561
Method__del__
(self)
utils/indexed_datasets.py:17
Method__enter__
(self)
utils/__init__.py:386
Method__exit__
(self, exc_type, exc_val, exc_tb)
utils/__init__.py:389
Method__getitem__
(self, i)
utils/indexed_datasets.py:21
Method__getitem__
(self, index)
tasks/grid_lipgen_task.py:91
Method__getitem__
(self, index)
tasks/base_task.py:39
Method__init__
(self, hid_dim, n_heads, dropout=0.1, gaussian_bias=False, gaussian_tao=None, gaus_init_l=30
modules/operations.py:12
Method__init__
(self, K, emb_size)
modules/operations.py:99
Method__init__
(self, embedding_dim, padding_idx, init_size=1024)
modules/operations.py:136
Method__init__
(self, c, kernel_size, dropout)
modules/operations.py:209
Method__init__
(self, embed_dim, num_heads, kdim=None, vdim=None, dropout=0., bias=True, add_bias_kv=False,
modules/operations.py:235
Method__init__
(self, hidden_size, filter_size, padding="SAME", kernel_size=1, dropout=0.)
modules/operations.py:575
Method__init__
(self, c, num_heads, dropout, attention_dropout=0.1, relu_dropout=0.1, kernel_size=9, paddin
modules/operations.py:634
Method__init__
(self, c, num_heads, dropout, attention_dropout=0.1, relu_dropout=0.1)
modules/operations.py:674
Method__init__
(self, c, dropout)
modules/operations.py:732
Method__init__
(self, c, hidden_size, dropout=0.)
modules/operations.py:755
Method__init__
(self, in_channels, out_channels, kernel_size, **kwargs)
modules/operations.py:812
Method__init__
(self, c, kernel_size, dropout, attention_dropout=0.1)
modules/operations.py:878
Method__init__
(self, c, num_heads, dropout, attention_dropout=0.1, relu_dropout=0.1, kernel_size=9)
modules/operations.py:928
Method__init__
(self, input_embed_dim, source_embed_dim, output_embed_dim, bias=False, dropout=0.)
modules/operations.py:1007
Method__init__
(self, c, dropout, attention_dropout=0.1)
modules/operations.py:1051
Method__init__
(self, arch, dictionary, out_dims=None)
modules/base_model.py:5
Method__init__
(self, layer, hidden_size, dropout, kernel_size=None)
modules/base_modules.py:16
Method__init__
Construct an LayerNorm object.
modules/base_modules.py:33
Method__init__
Initilize duration predictor module. Args: idim (int): Input dimension. n_layers (int, optional): Number of convolu
modules/base_modules.py:60
Method__init__
Initilize duration predictor loss module. Args: offset (float, optional): Offset value to avoid nan in log domain.
modules/base_modules.py:133
Method__init__
Initilize length regulator module. Args: pad_value (float, optional): Value used for padding.
modules/base_modules.py:196
Method__init__
(self, arch, hidden_size=None, dropout=None, num_layers=None, last_ln=True)
modules/base_modules.py:247
Method__init__
(self, arch, embed_tokens, last_ln=True, num_layers=None)
modules/base_modules.py:329
Method__init__
(self, arch, dictionary, out_dims=None)
modules/fslip.py:6
Method__init__
(self, idim, odim, kernel_size, stride, padding, output_padding, norm_fn, acti_fn, dropout_rate=0.)
modules/lip_modules/lip_utils.py:20
Method__init__
(self, idim, odim, kernel_size, stride, padding, norm_fn, acti_fn, dropout_rate=0.)
modules/lip_modules/lip_utils.py:34
Method__init__
(self, idim, odim, kernel_size, stride, padding, output_padding, norm_fn, acti_fn, dropout_rate=0.)
modules/lip_modules/lip_utils.py:48
Method__init__
(self, img_size, input_dim, norm_fn='none', acti_fn='relu')
modules/lip_modules/img_modules.py:52
Method__init__
(self, img_channel, img_size, input_dim, norm_fn='none', acti_fn='relu')
modules/lip_modules/img_modules.py:104
Method__init__
(self, path)
utils/indexed_datasets.py:6
Method__init__
(self, path)
utils/indexed_datasets.py:32
Method__init__
(self, scheduling: dict)
utils/pl_utils.py:259
Method__init__
(self, filepath, monitor='val_loss', verbose=0, num_keep=5, save_weights_only=False, mode='a
utils/pl_utils.py:286
Method__init__
(self, **kwargs)
utils/hparams.py:10
Method__init__
(self)
utils/__init__.py:59
Method__init__
(self, name, print_time=False)
utils/__init__.py:380
← previousnext →101–200 of 329, ranked by callers