MCPcopy Create free account

hub / github.com/ShenDezhou/CAIL / functions

Functions6,528 in github.com/ShenDezhou/CAIL

↓ 1 callersMethod_load_file
Load SMP-CAIL2020-Argmine train/test file. For train file, The ratio between positive samples and negative samples is 1:4 Cop
CAIL2020/lbwjtpu/data.py:204
↓ 1 callersMethod_load_file
Load SMP-CAIL2020-Argmine train/test file. For train file, The ratio between positive samples and negative samples is 1:4 Cop
CAIL2020/rlfl/data.py:184
↓ 1 callersMethod_load_file
Load SMP-CAIL2020-Argmine train/test file. For train file, The ratio between positive samples and negative samples is 1:4 Cop
CAIL2020/lbwj/data.py:228
↓ 1 callersMethod_load_file
Load SMP-CAIL2020-Argmine train/test file. For train file, The ratio between positive samples and negative samples is 1:4 Cop
CAIL2020/sfksx/data.py:181
↓ 1 callersMethod_load_file
Load SMP-CAIL2020-Argmine train/test file. For train file, The ratio between positive samples and negative samples is 1:4 Cop
CAIL2020/ayfl/data.py:183
↓ 1 callersMethod_load_file
Load SMP-CAIL2020-Argmine train/test file. For train file, The ratio between positive samples and negative samples is 1:4 Cop
CAIL2020/lbwjx/data.py:204
↓ 1 callersMethod_load_file
Load SMP-CAIL2020-Argmine train/test file. For train file, The ratio between positive samples and negative samples is 1:4 Cop
CAIL2020/ydljy/data.py:181
↓ 1 callersMethod_load_file
Load SMP-CAIL2020-Argmine train/test file. For train file, The ratio between positive samples and negative samples is 1:4 Cop
CAIL2020/sfzyzb/data.py:181
↓ 1 callersMethod_load_file1
(self, filename, train: bool = True)
CAIL2020/ydljz/data.py:332
↓ 1 callersMethod_load_file1
(self, filename, train: bool = True)
CAIL2020/ydljzs/data.py:332
↓ 1 callersMethod_load_file1
(self, filename, train: bool = True)
CAIL2020/ydljztpus/data.py:332
↓ 1 callersMethod_load_file1
(self, filename, train: bool = True)
CAIL2020/ydljzt/data.py:332
↓ 1 callersMethod_load_file1
(self, filename, train: bool = True)
CAIL2020/ydljtpu/data.py:331
↓ 1 callersMethod_load_file1
(self, filename, train: bool = True)
CAIL2020/ydljztpu/data.py:332
↓ 1 callersMethod_load_file1
(self, filename, train: bool = True)
CAIL2020/ydljx/data.py:331
↓ 1 callersMethod_load_file1
(self, filename, train: bool = True)
CAIL2020/ydljz(hong)tpu/data.py:332
↓ 1 callersMethod_load_file1
(self, filename, train: bool = True)
CAIL2020/ydljz(hong)/data.py:339
↓ 1 callersMethod_load_file_test
Load SMP-CAIL2020-Argmine train/test file. For train file, The ratio between positive samples and negative samples is 1:4 Cop
CAIL2020/lbwj/data.py:285
↓ 1 callersFunction_new_check_is_max_context
Check if this is the 'max context' doc span for the token.
CAIL2020/ydlj/baseline/transformers/data/processors/squad.py:53
↓ 1 callersMethod_prune_heads
Prunes heads of the model. heads_to_prune: dict of {layer_num: list of heads to prune in this layer} See base class PreTraine
CAIL2020/ydlj/baseline/transformers/modeling_xlm.py:420
↓ 1 callersMethod_rel_shift
(self, x)
CAIL2020/ydlj/baseline/transformers/modeling_tf_transfo_xl.py:160
↓ 1 callersMethod_rel_shift
(self, x)
CAIL2020/ydlj/baseline/transformers/modeling_transfo_xl.py:266
↓ 1 callersFunction_resize_img_for_detect
将图像按照最长边进行等比缩小且最短边能够被特定基数整除 :param _img: 需要进行resize的图像 :param _longer_edge_length: 最长边长度 :param _shorter_edge_
CAIL2020/cocr/one_for_all_inference.py:423
↓ 1 callersFunction_resize_img_for_recognize
(_img, _height=32)
CAIL2020/cocr/one_for_all_inference.py:441
↓ 1 callersMethod_resize_token_embeddings
(self, new_num_tokens)
CAIL2020/ydlj/baseline/transformers/modeling_utils.py:169
↓ 1 callersMethod_run_split_on_punc
Splits punctuation on a piece of text.
CAIL2020/ydlj/baseline/transformers/tokenization_bert.py:334
↓ 1 callersMethod_run_strip_accents
Strips accents from a piece of text.
CAIL2020/ydlj/baseline/transformers/tokenization_bert.py:323
↓ 1 callersMethod_tokenize_chinese_chars
Adds whitespace around any CJK character.
CAIL2020/ydlj/baseline/transformers/tokenization_bert.py:356
↓ 1 callersMethod_update_mems
(self, hids, mems, qlen, mlen)
CAIL2020/ydlj/baseline/transformers/modeling_tf_transfo_xl.py:444
↓ 1 callersMethod_update_mems
(self, hids, mems, qlen, mlen)
CAIL2020/ydlj/baseline/transformers/modeling_transfo_xl.py:677
↓ 1 callersMethod_upsample_cat
(self, p2, p3, p4, p5)
CAIL2020/lbwj/FPN.py:67
↓ 1 callersMethod_upsample_cat
(self, p2, p3, p4, p5)
CAIL2020/cocr/torchocr/networks/necks/FPN.py:67
↓ 1 callersMethod_viterbi_decode
(self, emissions, mask)
CAIL2021/stxq/model.py:810
↓ 1 callersMethod_viterbi_decode
(self, emissions, mask)
CAIL2021/slsb/model.py:809
↓ 1 callersMethod_viterbi_decode
(self, emissions, mask)
CAIL2020/zwfc/model.py:810
↓ 1 callersMethod_viterbi_decode
(self, emissions, mask)
CAIL2020/jesbl/model.py:810
↓ 1 callersMethodaddSpecials
(self, labels)
CAIL2020/sfzywg/rouge/dict.py:75
↓ 1 callersMethodaddSpecials
(self, labels)
CAIL2020/sfzyzc/rouge/dict.py:75
↓ 1 callersMethodadd_special
(self, sym)
CAIL2020/ydlj/baseline/transformers/tokenization_transfo_xl.py:207
↓ 1 callersFunctionadjust_learning_rate
带 warmup 的学习率衰减 :param optimizer: 优化器 :param base_lr: 开始的学习率 :param iter: 当前迭代次数 :param all_iters: 总的迭代次数 :param factor: 学习率衰
CAIL2020/cocr/det_train.py:85
↓ 1 callersFunctionangle_defn
(pos, i, d_model_size)
CAIL2020/ydlj/baseline/transformers/modeling_ctrl.py:42
↓ 1 callersFunctionangle_defn
(pos, i, d_model_size)
CAIL2020/ydlj/baseline/transformers/modeling_tf_ctrl.py:35
↓ 1 callersMethodapply_gradients
(self, grads_and_vars, clip_norm, name=None)
CAIL2020/ydlj/baseline/transformers/optimization_tf.py:140
↓ 1 callersMethodapply_pre_processes
(self, data)
CAIL2020/cocr/torchocr/datasets/DetDataSet.py:87
↓ 1 callersMethodassertListAlmostEqual
(self, list1, list2, tol)
CAIL2020/ydlj/baseline/transformers/tests/optimization_test.py:62
↓ 1 callersFunctionassign_points_to_four_edges
将所有的点抽象到四条虚拟边上面(所有都是基于凸包的基础上) 简单思想就是有了第一个点,然后找到这个点最远点,则得到第三个点 然后第一个点和第三个点之间的两个鞍点分别为第二个点和第四个点 :param _point_coords: 所有关键点 :retur
CAIL2020/cocr/one_for_all_inference.py:110
↓ 1 callersMethodaug_img
(self, img)
CAIL2020/cocr/torchocr/utils/CreateRecAug.py:443
↓ 1 callersFunctionaugment
(word, line)
CAIL2018/xsfl/tensorflow_server.py:115
↓ 1 callersFunctionaugment
(word, line)
CAIL2018/xsfl/tensorflow_server_v2.py:141
↓ 1 callersFunctionaugment
(word, line)
CAIL2020/jesb/tensorflow_server.py:115
↓ 1 callersFunctionaugment
(word, line)
CAIL2020/jesb/tensorflow_server_v2.py:141
↓ 1 callersFunctionbest_length_match
Find the closest length of reference to that of candidate
CAIL2020/sfzywg/rouge/script/bleu.py:89
↓ 1 callersFunctionbest_length_match
Find the closest length of reference to that of candidate
CAIL2020/sfzyzc/rouge/script/bleu.py:89
↓ 1 callersMethodbox_score_fast
(self, bitmap, _box)
CAIL2020/cocr/torchocr/postprocess/DBPostProcess.py:107
↓ 1 callersMethodbpe
(self, token)
CAIL2020/ydlj/baseline/transformers/tokenization_gpt2.py:144
↓ 1 callersMethodbpe
(self, token)
CAIL2020/ydlj/baseline/transformers/tokenization_ctrl.py:149
↓ 1 callersMethodbpe
(self, token)
CAIL2020/ydlj/baseline/transformers/tokenization_xlm.py:621
↓ 1 callersFunctionbrevity_penalty
(c, r)
CAIL2020/sfzywg/rouge/script/bleu.py:100
↓ 1 callersFunctionbrevity_penalty
(c, r)
CAIL2020/sfzyzc/rouge/script/bleu.py:100
↓ 1 callersMethodbuild
(self, input_shape)
CAIL2020/ydlj/baseline/transformers/modeling_tf_albert.py:465
↓ 1 callersMethodbuild
(self, input_shape)
CAIL2020/ydlj/baseline/transformers/modeling_tf_utils.py:324
↓ 1 callersMethodbuild
Build shared word embedding layer
CAIL2020/ydlj/baseline/transformers/modeling_tf_bert.py:114
↓ 1 callersMethodbuild
Build shared word embedding layer
CAIL2020/ydlj/baseline/transformers/modeling_tf_distilbert.py:89
↓ 1 callersMethodbuild
(self, input_shape)
CAIL2020/ydlj/baseline/transformers/modeling_tf_xlnet.py:338
↓ 1 callersMethodbuild
(self)
CAIL2020/cocr/torchocr/datasets/RecDataSet.py:169
↓ 1 callersMethodbuild
(self, args, root=True)
CAIL2020/cocr/torchocr/datasets/det_modules/iaa_augment.py:13
↓ 1 callersMethodbuild_P_prime
Generate Grid from batch_C_prime [batch_size x F x 2]
CAIL2020/cocr/torchocr/networks/stns/TPS.py:198
↓ 1 callersFunctionbuild_collate_fn
根据配置构造 collate_fn :param config: collate_fn 相关的配置 :return: 根据配置构造好的 collate_fn 类对象
CAIL2020/cocr/torchocr/datasets/__init__.py:52
↓ 1 callersFunctionbuild_dataset
根据配置构造dataset :param config: 数据集相关的配置,一般为 config['dataset']['train']['dataset] or config['dataset']['eval']['dataset] :return: 根据配置构造好的
CAIL2020/cocr/torchocr/datasets/__init__.py:16
↓ 1 callersFunctionbuild_loader
根据配置构造 dataloader, 包含两个步骤,1. 构造 collate_fn, 2. 构造 dataloader :param dataset: 继承自 torch.utils.data.DataSet的类对象 :param config: loader 相关的配
CAIL2020/cocr/torchocr/datasets/__init__.py:30
↓ 1 callersFunctionbuild_optimizer
优化器 Returns:
CAIL2020/cocr/det_train.py:72
↓ 1 callersFunctionbuild_optimizer
优化器 Returns:
CAIL2020/cocr/rec_train.py:70
↓ 1 callersFunctionbuild_scheduler
CAIL2020/cocr/rec_train.py:81
↓ 1 callersFunctionbuild_tf_to_pytorch_map
A map of modules from TF to PyTorch. This time I use a map to keep the PyTorch model as identical to the original PyTorch model as possible.
CAIL2020/ydlj/baseline/transformers/modeling_transfo_xl.py:48
↓ 1 callersFunctionbuild_tf_xlnet_to_pytorch_map
A map of modules from TF to PyTorch. I use a map to keep the PyTorch model as identical to the original PyTorch model as possible.
CAIL2020/ydlj/baseline/transformers/modeling_xlnet.py:45
↓ 1 callersFunctionbuild_vocab
Build vocab.txt for SMP-CAIL2020-Argmine.
CAIL2020/hyfl/vocab.py:89
↓ 1 callersFunctionbuild_vocab
Build vocab.txt for SMP-CAIL2020-Argmine.
CAIL2020/sfksy/vocab.py:89
↓ 1 callersFunctionbuild_vocab
Build vocab.txt for SMP-CAIL2020-Argmine.
CAIL2020/jesb/vocab.py:89
↓ 1 callersFunctionbuild_vocab
Build vocab.txt for SMP-CAIL2020-Argmine.
CAIL2020/sfkst/vocab.py:89
↓ 1 callersFunctionbuild_vocab
Build vocab.txt for SMP-CAIL2020-Argmine.
CAIL2020/sfksu/vocab.py:89
↓ 1 callersFunctionbytes_to_unicode
Returns list of utf-8 byte and a mapping to unicode strings. We specifically avoids mapping to whitespace/control characters the bpe code bar
CAIL2020/ydlj/baseline/transformers/tokenization_gpt2.py:71
↓ 1 callersMethodcache_mem
cache hidden states into memory.
CAIL2020/ydlj/baseline/transformers/modeling_xlnet.py:658
↓ 1 callersMethodcache_mem
cache hidden states into memory.
CAIL2020/ydlj/baseline/transformers/modeling_tf_xlnet.py:417
↓ 1 callersFunctioncalculate_accuracy_f1
Calculate accuracy and f1 score. Args: golds: answers predicts: predictions given by model Returns: accuracy, f1 sco
CAIL2020/sfksy/evaluate.py:16
↓ 1 callersMethodcausal_attention_mask
1's in the lower triangle, counting from the lower right corner. Same as tf.matrix_band_part(tf.ones([nd, ns]), -1, ns-nd), but doesn't produc
CAIL2020/ydlj/baseline/transformers/modeling_tf_openai.py:87
↓ 1 callersMethodcausal_attention_mask
1's in the lower triangle, counting from the lower right corner. Same as tf.matrix_band_part(tf.ones([nd, ns]), -1, ns-nd), but doesn't produc
CAIL2020/ydlj/baseline/transformers/modeling_tf_gpt2.py:81
↓ 1 callersMethodcheckArgueReason
(self, text)
CAIL2020/sfzyy/rulereason/CheckReason.py:27
↓ 1 callersMethodcheckArgueReason
(self, text)
CAIL2020/sfzyzc/sfzyy/rulereason/CheckReason.py:27
↓ 1 callersFunctioncheckImageIsValid
(imageBin)
CAIL2020/cocr/tools/create_rec_lmdb_dataset.py:13
↓ 1 callersMethodcheckImportance
(self, statement)
CAIL2020/sfzyy/gbtimportance/CheckImportance.py:33
↓ 1 callersMethodcheckImportance
(self, statement)
CAIL2020/sfzyzc/sfzyy/gbtimportance/CheckImportance.py:39
↓ 1 callersMethodcheckRank
(self, statement)
CAIL2020/sfzyy/gbtrank/CompRank.py:39
↓ 1 callersMethodcheckRank
(self, statement)
CAIL2020/sfzyzc/sfzyy/gbtrank/CompRank.py:39
↓ 1 callersMethodcheckWordImportance
(self, statement)
CAIL2020/sfzy/filter/CheckWordImportance.py:36
↓ 1 callersMethodcheck_indexes
(self)
CAIL2020/znwd/dumpes.py:66
↓ 1 callersMethodcheck_loss_output
(self, result)
CAIL2020/ydlj/baseline/transformers/tests/modeling_xlm_test.py:143
↓ 1 callersMethodcheck_tokenizer_from_pretrained
(self, tokenizer_class)
CAIL2020/ydlj/baseline/transformers/tests/tokenization_utils_test.py:29
↓ 1 callersMethodcheck_transfo_xl_lm_head_output
(self, result)
CAIL2020/ydlj/baseline/transformers/tests/modeling_transfo_xl_test.py:162
↓ 1 callersMethodcheck_transfo_xl_model_output
(self, result)
CAIL2020/ydlj/baseline/transformers/tests/modeling_transfo_xl_test.py:127
↓ 1 callersFunctioncheckpoint
(filename, model, optimizer, trained_epoch, config, global_step)
CAIL2020/sfksz/tools/train_tool.py:16
← previousnext →1,601–1,700 of 6,528, ranked by callers