MCPcopy Create free account

hub / github.com/WarmCongee/SDUMC / functions

Functions495 in github.com/WarmCongee/SDUMC

Functionalign_to_utt
(audios, texts, videos)
toolkit/utils/read_data.py:178
Functionaverage_folder_for_emos
(folder_save, testname)
toolkit/utils/metric.py:57
Functionaverage_folder_for_vals
(folder_save, testname)
toolkit/utils/metric.py:83
Methodcalculate_results
(self, emo_probs=[], emo_labels=[], val_preds=[], val_labels=[])
toolkit/dataloader/mer2023.py:155
Methodcalculate_results
(self, emo_probs=[], emo_labels=[], val_preds=[], val_labels=[])
toolkit/dataloader/simsv2.py:70
Methodcalculate_results
(self, emo_probs=[], emo_labels=[], val_preds=[], val_labels=[])
toolkit/dataloader/iemocap.py:101
Methodcalculate_results
(self, emo_probs=[], emo_labels=[], val_preds=[], val_labels=[])
toolkit/dataloader/__init__.py:45
Methodcalculate_results
(self, emo_probs=[], emo_labels=[], val_preds=[], val_labels=[])
toolkit/dataloader/crossdis.py:195
Methodcalculate_results
(self, emo_probs=[], emo_labels=[], val_preds=[], val_labels=[])
toolkit/dataloader/sims.py:69
Methodcalculate_results
(self, emo_probs=[], emo_labels=[], val_preds=[], val_labels=[])
toolkit/dataloader/meld.py:69
Methodcalculate_results
(self, emo_probs=[], emo_labels=[], val_preds=[], val_labels=[])
toolkit/dataloader/cmudata.py:74
Methodcalculate_results
(self, emo_probs=[], emo_labels=[], val_preds=[], val_labels=[])
toolkit/dataloader/crossdim.py:80
Methodcalculate_results
(self, emo_probs=[], emo_labels=[], val_preds=[], val_labels=[])
toolkit/dataloader/cmumosei.py:150
Functioncheck_feature_completeness
(intermerdia=None, suffix=None)
toolkit/utils/functions.py:320
Methodcollater
(self, instances)
toolkit/data/__init__.py:49
Methodcollater
(self, instances)
toolkit/data/feat_data.py:64
Methodcollater
(self, instances)
toolkit/data/feat_data.py:146
Methodcollater
(self, instances)
toolkit/data/feat_data.py:232
Methodcollater
(self, instances)
toolkit/data/feat_data.py:336
Methodcollater
(self, instances)
toolkit/data/feat_data.py:426
Methodcollater
(self, instances)
toolkit/data/feat_data.py:532
Functiondebug_on_index_selection
(n_frms=16)
toolkit/utils/functions.py:122
Functiondivide_train_test_valid
(data_root, save_root)
feature_extraction/data_process.py:30
Functioneval_mosei_senti
(results, truths, ids_list, exclude_zero=False)
metric.py:45
Functionfind_batchpos_embdim
(tokenizer, model, gpu)
feature_extraction/llm4wav/extract_wavlm_vicuna.py:54
Functionfind_batchpos_embdim
(tokenizer, model, gpu)
feature_extraction/llm4wav/extract_wavlm_vicuna_hd.py:54
Functionfind_start_end_pos
(tokenizer)
feature_extraction/llm4wav/extract_wavlm_vicuna.py:26
Functionfind_start_end_pos
(tokenizer)
feature_extraction/llm4wav/extract_wavlm_vicuna_hd.py:26
Methodforward
(self, input_tensor)
main_frame_val_text_missing.py:76
Methodforward
(self, input_tensor)
main_frame_val_text_missing_inference.py:75
Methodforward
(self, pred, target)
toolkit/utils/loss.py:12
Methodforward
(self, pred, target)
toolkit/utils/loss.py:25
Methodforward
(self, pred, target)
toolkit/utils/loss.py:43
Methodforward
(self, pred, target, vals)
toolkit/utils/loss.py:59
Methodforward
(self, pred, target)
toolkit/utils/loss.py:95
Methodforward
(self, u, v)
toolkit/utils/loss.py:112
Methodforward
(self, feats)
toolkit/utils/loss.py:129
Methodforward
Compute loss for model. If both `labels` and `mask` are None, it degenerates to SimCLR unsupervised loss: https://arxiv.org/pdf/2002.0
toolkit/utils/loss.py:153
Methodforward
(self, labels)
toolkit/utils/loss.py:248
Methodforward
(self, features)
toolkit/utils/loss.py:262
Methodforward
(self, features, labels)
toolkit/utils/loss.py:278
Methodforward
Compute loss for model. If both `labels` and `mask` are None, it degenerates to SimCLR unsupervised loss: https://arxiv.org/pdf/2002.0
toolkit/utils/loss.py:328
Methodforward
(self, x)
toolkit/models/dst_att.py:118
Methodforward
(self, x: torch.Tensor)
toolkit/models/dst_att.py:162
Methodforward
(self, x)
toolkit/models/dst_att.py:252
Methodforward
(self, x)
toolkit/models/dst_att.py:306
Methodforward
(self, x, y)
toolkit/models/wengnet_mosei_mult_views_text_missing.py:14
Methodforward
(self, x)
toolkit/models/wengnet_mosei_mult_views_text_missing.py:21
Methodforward
(self, input_tensor)
toolkit/models/wengnet_mosei_mult_views_text_missing.py:33
Methodforward
(self, input_tensor)
toolkit/models/wengnet_mosei_mult_views_text_missing.py:56
Methodforward
(self, query_tensor, input_tensor)
toolkit/models/wengnet_mosei_mult_views_text_missing.py:79
Methodforward
(self, x)
toolkit/models/wengnet_mosei_mult_views_text_missing.py:106
Methodforward
(self, x_a, x_t, x_v)
toolkit/models/wengnet_mosei_mult_views_text_missing.py:171
Methodforward
(self, batch)
toolkit/models/wengnet_mosei_mult_views_text_missing.py:275
Methodforward
(self, batch)
toolkit/models/wengnet_mosei_mult_views_text_missing.py:449
Methodforward
(self, batch)
toolkit/models/wengnet_mosei_mult_views_text_missing.py:606
Methodforward
(self, batch)
toolkit/models/wengnet_mosei_mult_views_text_missing.py:717
Methodforward
(self, batch)
toolkit/models/wengnet_mosei_mult_views_text_missing.py:788
Methodforward
(self, x)
toolkit/models/graph_mfn.py:94
Methodforward
Args: audio_x: tensor of shape (batch_size, sequence_len, audio_in) video_x: tensor of shape (batch_size, sequence_le
toolkit/models/graph_mfn.py:156
Methodforward
(self, x)
toolkit/models/mfm.py:40
Methodforward
(self, hT, t)
toolkit/models/mfm.py:65
Methodforward
Args: audio: tensor of shape (batch_size, seqlen, audio_in) video: tensor of shape (batch_size, seqlen, video_in)
toolkit/models/mfm.py:151
Methodforward
(self, batch)
toolkit/models/__init__.py:54
Methodforward
(self, input_tensor)
toolkit/models/mult_mosei.py:22
Methodforward
audio_feat: tensor of shape (batch, seqlen1, audio_in) video_feat: tensor of shape (batch, seqlen2, video_in) tex
toolkit/models/mult_mosei.py:121
Methodforward
audio_feat: tensor of shape (batch, seqlen1, audio_in) video_feat: tensor of shape (batch, seqlen2, video_in) tex
toolkit/models/mult_mosei.py:257
Methodforward
audio_feat: tensor of shape (batch, seqlen1, audio_in) video_feat: tensor of shape (batch, seqlen2, video_in) tex
toolkit/models/mult_mosei.py:402
Methodforward
audio_feat: tensor of shape (batch, seqlen1, audio_in) video_feat: tensor of shape (batch, seqlen2, video_in) tex
toolkit/models/mult_mosei.py:545
Methodforward
Args: audio_x: tensor of shape (batch_size, audio_dim) video_x: tensor of shape (batch_size, video_dim) t
toolkit/models/tfn.py:46
Methodforward
Args: audio_x: tensor of shape (batch_size, audio_dim) video_x: tensor of shape (batch_size, video_dim) t
toolkit/models/tfn.py:119
Methodforward
Args: audio_x: tensor of shape (batch_size, audio_in) video_x: tensor of shape (batch_size, video_in) tex
toolkit/models/lmf.py:57
Methodforward
Forward lld (gaussian prior) and entropy estimation, partially refers the implementation of https://github.com/Linear95/CLUB/blob/master/MI_D
toolkit/models/mmim.py:41
Methodforward
Calulate the score
toolkit/models/mmim.py:114
Methodforward
Args: x: tensor of shape (batch_size, in_size)
toolkit/models/mmim.py:148
Methodforward
(self, batch)
toolkit/models/mmim.py:236
Methodforward
support feat_type: utt | frm-align | frm-unalign
toolkit/models/attention.py:36
Methodforward
audio_feat: tensor of shape (batch, seqlen1, audio_in) video_feat: tensor of shape (batch, seqlen2, video_in) tex
toolkit/models/mult.py:92
Methodforward
simulating word-align network (for seq_len_T == seq_len_A == seq_len_V) audio_x: tensor of shape (batch, seqlen, audio_in) vi
toolkit/models/mfn.py:62
Methodforward
(ctx, x, p)
toolkit/models/misa.py:14
Methodforward
(self, pred, real)
toolkit/models/misa.py:29
Methodforward
(self, input1, input2)
toolkit/models/misa.py:41
Methodforward
(self, x1, x2, n_moments)
toolkit/models/misa.py:72
Methodforward
audio_feat: tensor of shape (batch, seqlen1, audio_in) text_feat: tensor of shape (batch, seqlen2, text_in) vide
toolkit/models/misa.py:243
Methodforward
x : (batch_size, sequence_len, in_size)
toolkit/models/mctn.py:23
Methodforward
(self, s, join)
toolkit/models/mctn.py:46
Methodforward
(self, src, trg, teacher_forcing_ratio = 0.5)
toolkit/models/mctn.py:68
Methodforward
(self, dec_input, s, join)
toolkit/models/mctn.py:107
Methodforward
# 感觉用aligned feature能够方便计算重建loss吧 text_feat: [batch, seqlen, feat1] audio_feat: [batch, seqlen, feat2] video_feat: [
toolkit/models/mctn.py:164
Methodforward
Args: x: tensor of shape (batch_size, in_size)
toolkit/models/modules/encoder.py:30
Methodforward
Args: x: tensor of shape (batch_size, sequence_len, in_size) 因为用的是 final_states ,所以特征的 padding 是放在前面的
toolkit/models/modules/encoder.py:63
Methodforward
Input is expected to be of size [bsz x seqlen].
toolkit/models/modules/transformers_encoder/position_embedding.py:61
Methodforward
Args: x_in (FloatTensor): embedded input of shape `(src_len, batch, embed_dim)` x_in_k (FloatTensor): embedded input
toolkit/models/modules/transformers_encoder/transformer.py:53
Methodforward
Args: x (Tensor): input to the layer of shape `(seq_len, batch, embed_dim)` encoder_padding_mask (ByteTensor): binary
toolkit/models/modules/transformers_encoder/transformer.py:137
Methodforward
Input shape: Time x Batch x Channel Self-attention can be implemented by passing in the same arguments for query, key and value. Times
toolkit/models/modules/transformers_encoder/multihead_attention.py:48
Methodforward
(self, input)
feature_extraction/visual/extract_imagenet_embedding.py:22
Methodforward
(self, x)
feature_extraction/visual/extract_imagenet_embedding.py:48
Methodforward
(self, x)
feature_extraction/visual/extract_imagenet_embedding.py:106
Methodforward
(self, x)
feature_extraction/visual/manet/model/manet.py:29
Methodforward
(self, x)
feature_extraction/visual/manet/model/manet.py:82
← previousnext →301–400 of 495, ranked by callers