Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/binbinjiang/CVT-SLR
/ functions
Functions
220 in github.com/binbinjiang/CVT-SLR
⨍
Functions
220
◇
Types & classes
38
↓ 14 callers
Method
convert_to_string
(self, tokens, vocab, seq_len)
ctcdecode/tests/test_decode.py:34
↓ 8 callers
Method
DecoderState
ctcdecode/ctcdecode/src/ctc_beam_search_decoder.cpp:17
↓ 8 callers
Method
decode
Conducts the beamsearch on model outputs and return results. Args: probs (Tensor) - A rank 3 tensor representing model output
ctcdecode/ctcdecode/__init__.py:189
↓ 7 callers
Method
is_character_based
retrun true if the language model is character based
ctcdecode/ctcdecode/src/scorer.h:60
↓ 7 callers
Method
to
(self, device)
utils/optimizer.py:54
↓ 6 callers
Method
print_log
(self, str, path=None, print_time=True)
utils/record.py:15
↓ 5 callers
Method
decode
Conducts the beamsearch on model outputs and return results. Args: probs (Tensor) - A rank 3 tensor representing model output
ctcdecode/ctcdecode/__init__.py:53
↓ 5 callers
Function
log_sum_exp
ctcdecode/ctcdecode/src/decoder_utils.h:48
↓ 4 callers
Method
__init__
(self, d_model, max_len=5000)
gloss_encoder.py:84
↓ 4 callers
Method
get_path_vec
ctcdecode/ctcdecode/src/path_trie.cpp:109
↓ 3 callers
Function
compile_test
(header, library)
ctcdecode/setup.py:41
↓ 3 callers
Method
get_dict_size
return the dictionary size of language model
ctcdecode/ctcdecode/src/scorer.h:57
↓ 3 callers
Method
get_max_order
return the max order
ctcdecode/ctcdecode/src/scorer.h:54
↓ 3 callers
Method
insert
(ind, label, binfo)
utils/video_augmentation.py:59
↓ 3 callers
Method
normalize
(self, video, label, file_id=None)
dataset/dataloader_video_14.py:68
↓ 2 callers
Method
BeamSearch
CTCBeamDecoder Shape: - Input: nn_output (B, T, N), which should be passed through a softmax layer - Output:
utils/decode.py:30
↓ 2 callers
Method
MaxDecode
(self, nn_output, vid_lgt, grad_cam_mode=False)
utils/decode.py:60
↓ 2 callers
Method
__init__
(self)
cvtslr_model.py:12
↓ 2 callers
Function
beam_decode
ctcdecode/ctcdecode/src/binding.cpp:35
↓ 2 callers
Method
data_to_device
(self, data)
utils/device.py:30
↓ 2 callers
Method
decode
(self, nn_output, vid_lgt, batch_first=True, probs=False)
utils/decode.py:21
↓ 2 callers
Method
decode
ctcdecode/ctcdecode/src/ctc_beam_search_decoder.cpp:164
↓ 2 callers
Function
download_extract
(url, dl_path)
ctcdecode/setup.py:13
↓ 2 callers
Method
eval
(self)
run_demo.py:33
↓ 2 callers
Method
get_log_cond_prob
ctcdecode/ctcdecode/src/scorer.cpp:74
↓ 2 callers
Function
import_class
(name)
run_demo.py:13
↓ 2 callers
Method
load_state_dict
(self, state_dict)
utils/optimizer.py:51
↓ 2 callers
Method
make_ngram
ctcdecode/ctcdecode/src/scorer.cpp:163
↓ 2 callers
Method
next
ctcdecode/ctcdecode/src/ctc_beam_search_decoder.cpp:56
↓ 2 callers
Method
normalize
(self, video, label, file_id=None)
dataset/dataloader_video_14T.py:68
↓ 2 callers
Method
pad
(tensor, length)
cvtslr_model.py:76
↓ 2 callers
Function
seq_eval
(cfg, loader, model, device, mode, epoch, work_dir, recoder)
seq_scripts.py:5
↓ 2 callers
Function
split_utf8_str
ctcdecode/ctcdecode/src/decoder_utils.cpp:83
↓ 1 callers
Method
_cat_directions
If the encoder is bidirectional, do the following transformation. Ref: https://github.com/IBM/pytorch-seq2seq/blob/master/seq2seq/models/
modules/BiLSTM.py:67
↓ 1 callers
Method
_get_PIL_interp
(self, interp)
utils/video_augmentation.py:273
↓ 1 callers
Method
_get_PIL_interp
(self, interp)
utils/video_augmentation.py:319
↓ 1 callers
Function
add_word_to_dictionary
ctcdecode/ctcdecode/src/decoder_utils.cpp:164
↓ 1 callers
Function
add_word_to_fst
ctcdecode/ctcdecode/src/decoder_utils.cpp:147
↓ 1 callers
Function
beam_decode_with_given_state
ctcdecode/ctcdecode/src/binding.cpp:153
↓ 1 callers
Method
build_dataloader
(self, dataset, mode, train_flag)
run_demo.py:96
↓ 1 callers
Function
calculate_stats
(gt, lstm_pred)
evaluation/wer_calculation.py:123
↓ 1 callers
Function
ctc_beam_search_decoder_batch
ctcdecode/ctcdecode/src/ctc_beam_search_decoder.cpp:245
↓ 1 callers
Function
ctc_beam_search_decoder_batch_with_states
ctcdecode/ctcdecode/src/ctc_beam_search_decoder.cpp:288
↓ 1 callers
Method
define_lr_scheduler
(self, optimizer, milestones)
utils/optimizer.py:35
↓ 1 callers
Method
delete
(ind, label, binfo)
utils/video_augmentation.py:50
↓ 1 callers
Method
eval_network
(self, x, len_x)
cvtslr_model.py:93
↓ 1 callers
Function
evaluate
(prefix="./", mode="dev", evaluate_dir=None, evaluate_prefix=None,output_file=None)
evaluation/wer_calculation.py:166
↓ 1 callers
Function
get_beam_search_result
ctcdecode/ctcdecode/src/decoder_utils.cpp:48
↓ 1 callers
Method
get_path_trie
ctcdecode/ctcdecode/src/path_trie.cpp:38
↓ 1 callers
Function
get_pruned_log_probs
ctcdecode/ctcdecode/src/decoder_utils.cpp:10
↓ 1 callers
Method
get_sent_log_prob
ctcdecode/ctcdecode/src/scorer.cpp:95
↓ 1 callers
Function
get_utf8_str_len
ctcdecode/ctcdecode/src/decoder_utils.cpp:75
↓ 1 callers
Function
get_wer_delsubins
(ref, hyp, merge_same=False, align_results=False, penalty={'ins': 1, 'del': 1, 'sub': 1}
evaluation/wer_calculation.py:27
↓ 1 callers
Function
is_character_based
ctcdecode/ctcdecode/src/binding.cpp:271
↓ 1 callers
Method
is_empty
ctcdecode/ctcdecode/src/path_trie.h:40
↓ 1 callers
Method
iterate_to_vec
ctcdecode/ctcdecode/src/path_trie.cpp:128
↓ 1 callers
Method
load_data
(self)
run_demo.py:83
↓ 1 callers
Function
load_groundtruth
(fpath)
evaluation/wer_calculation.py:5
↓ 1 callers
Method
load_model_weights
(self, model, weight_path)
run_demo.py:73
↓ 1 callers
Function
load_prediction
(fpath)
evaluation/wer_calculation.py:15
↓ 1 callers
Method
loading
(self)
run_demo.py:57
↓ 1 callers
Method
masked_bn
(self, inputs, len_x)
cvtslr_model.py:75
↓ 1 callers
Method
occupy_gpu
make program appear on nvidia-smi.
utils/device.py:47
↓ 1 callers
Method
one_operation
(self, *inputs)
utils/video_augmentation.py:40
↓ 1 callers
Method
read_features
(self, index)
dataset/dataloader_video_14T.py:62
↓ 1 callers
Method
read_features
(self, index)
dataset/dataloader_video_14.py:62
↓ 1 callers
Method
read_video
(self, index, num_glosses=-1)
dataset/dataloader_video_14T.py:49
↓ 1 callers
Method
read_video
(self, index, num_glosses=-1)
dataset/dataloader_video_14.py:49
↓ 1 callers
Method
record_time
(self)
utils/record.py:27
↓ 1 callers
Method
record_time
(self)
dataset/dataloader_video_14T.py:132
↓ 1 callers
Method
record_time
(self)
dataset/dataloader_video_14.py:132
↓ 1 callers
Method
record_timer
(self, key)
utils/record.py:40
↓ 1 callers
Method
remove
ctcdecode/ctcdecode/src/path_trie.cpp:144
↓ 1 callers
Method
repara
(self, z_mean, z_log_var, sample=False)
cvtslr_model.py:86
↓ 1 callers
Method
reset_params
ctcdecode/ctcdecode/src/scorer.cpp:122
↓ 1 callers
Method
save_arg
(self)
run_demo.py:49
↓ 1 callers
Function
sent_evaluation
(**kwargs)
evaluation/wer_calculation.py:136
↓ 1 callers
Method
set_device
(self, device)
utils/device.py:11
↓ 1 callers
Method
set_dictionary
ctcdecode/ctcdecode/src/path_trie.cpp:165
↓ 1 callers
Method
set_matcher
ctcdecode/ctcdecode/src/path_trie.cpp:172
↓ 1 callers
Method
split_labels
ctcdecode/ctcdecode/src/scorer.cpp:135
↓ 1 callers
Function
split_str
ctcdecode/ctcdecode/src/decoder_utils.cpp:102
↓ 1 callers
Method
split_time
(self)
utils/record.py:31
↓ 1 callers
Method
substitute
(ind, label, binfo)
utils/video_augmentation.py:71
↓ 1 callers
Function
sum_dict
(dict_list)
evaluation/wer_calculation.py:143
↓ 1 callers
Method
transform
(self)
dataset/dataloader_video_14T.py:73
↓ 1 callers
Method
transform
(self)
dataset/dataloader_video_14.py:73
↓ 1 callers
Method
update_lgt
(self, lgt)
modules/tconv.py:41
↓ 1 callers
Function
wer_calculation
(gt_path, primary_pred)
evaluation/wer_calculation.py:150
↓ 1 callers
Function
write2file
(path, info, output)
seq_scripts.py:30
Method
Add
ctcdecode/ctcdecode/src/scorer.h:26
Function
PYBIND11_MODULE
ctcdecode/ctcdecode/src/binding.cpp:290
Method
PathTrie
ctcdecode/ctcdecode/src/path_trie.cpp:11
Method
RetriveStrEnumerateVocab
ctcdecode/ctcdecode/src/scorer.h:24
Method
Scorer
ctcdecode/ctcdecode/src/scorer.cpp:16
Method
__call__
(self, image, label, file_info=None)
utils/video_augmentation.py:14
Method
__call__
(self, video, label, file_info)
utils/video_augmentation.py:28
Method
__call__
(self, video)
utils/video_augmentation.py:83
Method
__call__
(self, clip)
utils/video_augmentation.py:112
Method
__call__
(self, clip)
utils/video_augmentation.py:150
next →
1–100 of 220, ranked by callers