Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WarmCongee/SDUMC
/ functions
Functions
495 in github.com/WarmCongee/SDUMC
⨍
Functions
495
◇
Types & classes
115
Function
align_to_utt
(audios, texts, videos)
toolkit/utils/read_data.py:178
Function
average_folder_for_emos
(folder_save, testname)
toolkit/utils/metric.py:57
Function
average_folder_for_vals
(folder_save, testname)
toolkit/utils/metric.py:83
Method
calculate_results
(self, emo_probs=[], emo_labels=[], val_preds=[], val_labels=[])
toolkit/dataloader/mer2023.py:155
Method
calculate_results
(self, emo_probs=[], emo_labels=[], val_preds=[], val_labels=[])
toolkit/dataloader/simsv2.py:70
Method
calculate_results
(self, emo_probs=[], emo_labels=[], val_preds=[], val_labels=[])
toolkit/dataloader/iemocap.py:101
Method
calculate_results
(self, emo_probs=[], emo_labels=[], val_preds=[], val_labels=[])
toolkit/dataloader/__init__.py:45
Method
calculate_results
(self, emo_probs=[], emo_labels=[], val_preds=[], val_labels=[])
toolkit/dataloader/crossdis.py:195
Method
calculate_results
(self, emo_probs=[], emo_labels=[], val_preds=[], val_labels=[])
toolkit/dataloader/sims.py:69
Method
calculate_results
(self, emo_probs=[], emo_labels=[], val_preds=[], val_labels=[])
toolkit/dataloader/meld.py:69
Method
calculate_results
(self, emo_probs=[], emo_labels=[], val_preds=[], val_labels=[])
toolkit/dataloader/cmudata.py:74
Method
calculate_results
(self, emo_probs=[], emo_labels=[], val_preds=[], val_labels=[])
toolkit/dataloader/crossdim.py:80
Method
calculate_results
(self, emo_probs=[], emo_labels=[], val_preds=[], val_labels=[])
toolkit/dataloader/cmumosei.py:150
Function
check_feature_completeness
(intermerdia=None, suffix=None)
toolkit/utils/functions.py:320
Method
collater
(self, instances)
toolkit/data/__init__.py:49
Method
collater
(self, instances)
toolkit/data/feat_data.py:64
Method
collater
(self, instances)
toolkit/data/feat_data.py:146
Method
collater
(self, instances)
toolkit/data/feat_data.py:232
Method
collater
(self, instances)
toolkit/data/feat_data.py:336
Method
collater
(self, instances)
toolkit/data/feat_data.py:426
Method
collater
(self, instances)
toolkit/data/feat_data.py:532
Function
debug_on_index_selection
(n_frms=16)
toolkit/utils/functions.py:122
Function
divide_train_test_valid
(data_root, save_root)
feature_extraction/data_process.py:30
Function
eval_mosei_senti
(results, truths, ids_list, exclude_zero=False)
metric.py:45
Function
find_batchpos_embdim
(tokenizer, model, gpu)
feature_extraction/llm4wav/extract_wavlm_vicuna.py:54
Function
find_batchpos_embdim
(tokenizer, model, gpu)
feature_extraction/llm4wav/extract_wavlm_vicuna_hd.py:54
Function
find_start_end_pos
(tokenizer)
feature_extraction/llm4wav/extract_wavlm_vicuna.py:26
Function
find_start_end_pos
(tokenizer)
feature_extraction/llm4wav/extract_wavlm_vicuna_hd.py:26
Method
forward
(self, input_tensor)
main_frame_val_text_missing.py:76
Method
forward
(self, input_tensor)
main_frame_val_text_missing_inference.py:75
Method
forward
(self, pred, target)
toolkit/utils/loss.py:12
Method
forward
(self, pred, target)
toolkit/utils/loss.py:25
Method
forward
(self, pred, target)
toolkit/utils/loss.py:43
Method
forward
(self, pred, target, vals)
toolkit/utils/loss.py:59
Method
forward
(self, pred, target)
toolkit/utils/loss.py:95
Method
forward
(self, u, v)
toolkit/utils/loss.py:112
Method
forward
(self, feats)
toolkit/utils/loss.py:129
Method
forward
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
Method
forward
(self, labels)
toolkit/utils/loss.py:248
Method
forward
(self, features)
toolkit/utils/loss.py:262
Method
forward
(self, features, labels)
toolkit/utils/loss.py:278
Method
forward
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
Method
forward
(self, x)
toolkit/models/dst_att.py:118
Method
forward
(self, x: torch.Tensor)
toolkit/models/dst_att.py:162
Method
forward
(self, x)
toolkit/models/dst_att.py:252
Method
forward
(self, x)
toolkit/models/dst_att.py:306
Method
forward
(self, x, y)
toolkit/models/wengnet_mosei_mult_views_text_missing.py:14
Method
forward
(self, x)
toolkit/models/wengnet_mosei_mult_views_text_missing.py:21
Method
forward
(self, input_tensor)
toolkit/models/wengnet_mosei_mult_views_text_missing.py:33
Method
forward
(self, input_tensor)
toolkit/models/wengnet_mosei_mult_views_text_missing.py:56
Method
forward
(self, query_tensor, input_tensor)
toolkit/models/wengnet_mosei_mult_views_text_missing.py:79
Method
forward
(self, x)
toolkit/models/wengnet_mosei_mult_views_text_missing.py:106
Method
forward
(self, x_a, x_t, x_v)
toolkit/models/wengnet_mosei_mult_views_text_missing.py:171
Method
forward
(self, batch)
toolkit/models/wengnet_mosei_mult_views_text_missing.py:275
Method
forward
(self, batch)
toolkit/models/wengnet_mosei_mult_views_text_missing.py:449
Method
forward
(self, batch)
toolkit/models/wengnet_mosei_mult_views_text_missing.py:606
Method
forward
(self, batch)
toolkit/models/wengnet_mosei_mult_views_text_missing.py:717
Method
forward
(self, batch)
toolkit/models/wengnet_mosei_mult_views_text_missing.py:788
Method
forward
(self, x)
toolkit/models/graph_mfn.py:94
Method
forward
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
Method
forward
(self, x)
toolkit/models/mfm.py:40
Method
forward
(self, hT, t)
toolkit/models/mfm.py:65
Method
forward
Args: audio: tensor of shape (batch_size, seqlen, audio_in) video: tensor of shape (batch_size, seqlen, video_in)
toolkit/models/mfm.py:151
Method
forward
(self, batch)
toolkit/models/__init__.py:54
Method
forward
(self, input_tensor)
toolkit/models/mult_mosei.py:22
Method
forward
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
Method
forward
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
Method
forward
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
Method
forward
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
Method
forward
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
Method
forward
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
Method
forward
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
Method
forward
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
Method
forward
Calulate the score
toolkit/models/mmim.py:114
Method
forward
Args: x: tensor of shape (batch_size, in_size)
toolkit/models/mmim.py:148
Method
forward
(self, batch)
toolkit/models/mmim.py:236
Method
forward
support feat_type: utt | frm-align | frm-unalign
toolkit/models/attention.py:36
Method
forward
audio_feat: tensor of shape (batch, seqlen1, audio_in) video_feat: tensor of shape (batch, seqlen2, video_in) tex
toolkit/models/mult.py:92
Method
forward
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
Method
forward
(ctx, x, p)
toolkit/models/misa.py:14
Method
forward
(self, pred, real)
toolkit/models/misa.py:29
Method
forward
(self, input1, input2)
toolkit/models/misa.py:41
Method
forward
(self, x1, x2, n_moments)
toolkit/models/misa.py:72
Method
forward
audio_feat: tensor of shape (batch, seqlen1, audio_in) text_feat: tensor of shape (batch, seqlen2, text_in) vide
toolkit/models/misa.py:243
Method
forward
x : (batch_size, sequence_len, in_size)
toolkit/models/mctn.py:23
Method
forward
(self, s, join)
toolkit/models/mctn.py:46
Method
forward
(self, src, trg, teacher_forcing_ratio = 0.5)
toolkit/models/mctn.py:68
Method
forward
(self, dec_input, s, join)
toolkit/models/mctn.py:107
Method
forward
# 感觉用aligned feature能够方便计算重建loss吧 text_feat: [batch, seqlen, feat1] audio_feat: [batch, seqlen, feat2] video_feat: [
toolkit/models/mctn.py:164
Method
forward
Args: x: tensor of shape (batch_size, in_size)
toolkit/models/modules/encoder.py:30
Method
forward
Args: x: tensor of shape (batch_size, sequence_len, in_size) 因为用的是 final_states ,所以特征的 padding 是放在前面的
toolkit/models/modules/encoder.py:63
Method
forward
Input is expected to be of size [bsz x seqlen].
toolkit/models/modules/transformers_encoder/position_embedding.py:61
Method
forward
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
Method
forward
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
Method
forward
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
Method
forward
(self, input)
feature_extraction/visual/extract_imagenet_embedding.py:22
Method
forward
(self, x)
feature_extraction/visual/extract_imagenet_embedding.py:48
Method
forward
(self, x)
feature_extraction/visual/extract_imagenet_embedding.py:106
Method
forward
(self, x)
feature_extraction/visual/manet/model/manet.py:29
Method
forward
(self, x)
feature_extraction/visual/manet/model/manet.py:82
← previous
next →
301–400 of 495, ranked by callers