MCPcopy Create free account

hub / github.com/ShenDezhou/CAIL / functions

Functions6,528 in github.com/ShenDezhou/CAIL

↓ 1 callersMethodwrite2file
Write word_dict to file without file head. Each row contains one word with/without its frequency. Args: filename: usually
CAIL2020/hyfl/vocab.py:72
↓ 1 callersMethodwrite2file
Write word_dict to file without file head. Each row contains one word with/without its frequency. Args: filename: usually
CAIL2020/sfksy/vocab.py:72
↓ 1 callersMethodwrite2file
Write word_dict to file without file head. Each row contains one word with/without its frequency. Args: filename: usually
CAIL2020/htflx/vocab.py:72
↓ 1 callersMethodwrite2file
Write word_dict to file without file head. Each row contains one word with/without its frequency. Args: filename: usually
CAIL2020/jesb/vocab.py:72
↓ 1 callersMethodwrite2file
Write word_dict to file without file head. Each row contains one word with/without its frequency. Args: filename: usually
CAIL2020/htfl/vocab.py:72
↓ 1 callersMethodwrite2file
Write word_dict to file without file head. Each row contains one word with/without its frequency. Args: filename: usually
CAIL2020/ayfl-4/vocab.py:72
↓ 1 callersMethodwrite2file
Write word_dict to file without file head. Each row contains one word with/without its frequency. Args: filename: usually
CAIL2020/sfzyzc/sfzyza/vocab.py:72
↓ 1 callersMethodwrite2file
Write word_dict to file without file head. Each row contains one word with/without its frequency. Args: filename: usually
CAIL2020/sfzyzc/sfzyzb/vocab.py:72
↓ 1 callersMethodwrite2file
Write word_dict to file without file head. Each row contains one word with/without its frequency. Args: filename: usually
CAIL2020/sfkst/vocab.py:72
↓ 1 callersMethodwrite2file
Write word_dict to file without file head. Each row contains one word with/without its frequency. Args: filename: usually
CAIL2020/sfksu/vocab.py:72
↓ 1 callersMethodwrite2file
Write word_dict to file without file head. Each row contains one word with/without its frequency. Args: filename: usually
CAIL2020/sfzyza/vocab.py:72
↓ 1 callersMethodwrite2file
Write word_dict to file without file head. Each row contains one word with/without its frequency. Args: filename: usually
CAIL2020/htfltpu/vocab.py:72
↓ 1 callersMethodwrite2file
Write word_dict to file without file head. Each row contains one word with/without its frequency. Args: filename: usually
CAIL2020/lbwjtpu/vocab.py:72
↓ 1 callersMethodwrite2file
Write word_dict to file without file head. Each row contains one word with/without its frequency. Args: filename: usually
CAIL2020/rlfl/vocab.py:72
↓ 1 callersMethodwrite2file
Write word_dict to file without file head. Each row contains one word with/without its frequency. Args: filename: usually
CAIL2020/lbwj/vocab.py:72
↓ 1 callersMethodwrite2file
Write word_dict to file without file head. Each row contains one word with/without its frequency. Args: filename: usually
CAIL2020/sfksx/vocab.py:72
↓ 1 callersMethodwrite2file
Write word_dict to file without file head. Each row contains one word with/without its frequency. Args: filename: usually
CAIL2020/ayfl/vocab.py:72
↓ 1 callersMethodwrite2file
Write word_dict to file without file head. Each row contains one word with/without its frequency. Args: filename: usually
CAIL2020/lbwjx/vocab.py:72
↓ 1 callersMethodwrite2file
Write word_dict to file without file head. Each row contains one word with/without its frequency. Args: filename: usually
CAIL2020/sfzyzb/vocab.py:72
↓ 1 callersMethodwrite2filesort
Write word_dict to file without file head. Each row contains one word with/without its frequency. Args: filename: usually
CAIL2018/xsfl/vocab.py:88
↓ 1 callersMethodwrite2filesort
Write word_dict to file without file head. Each row contains one word with/without its frequency. Args: filename: usually
CAIL2021/stxq/vocab.py:91
↓ 1 callersMethodwrite2filesort
Write word_dict to file without file head. Each row contains one word with/without its frequency. Args: filename: usually
CAIL2021/slsb/vocab.py:91
↓ 1 callersMethodwrite2filesort
Write word_dict to file without file head. Each row contains one word with/without its frequency. Args: filename: usually
CAIL2020/zwfc/vocab.py:91
↓ 1 callersMethodwrite2filesort
Write word_dict to file without file head. Each row contains one word with/without its frequency. Args: filename: usually
CAIL2020/jesbl/vocab.py:91
↓ 1 callersMethodwriteFile
(self, filename)
CAIL2020/sfzywg/rouge/dict.py:43
↓ 1 callersMethodwriteFile
(self, filename)
CAIL2020/sfzyzc/rouge/dict.py:43
↓ 1 callersFunctionwrite_instance_to_example_files
Create TF example files from `TrainingInstance`s.
CAIL2020/lawbert/create_pretraining_data.py:96
↓ 1 callersMethodwrite_to_csv
(self)
CAIL2020/znwd/dumpes.py:212
FunctionBLEU
(cand_file, ref_file)
CAIL2020/sfzywg/rouge/script/bleu.py:112
FunctionBLEU
(cand_file, ref_file)
CAIL2020/sfzyzc/rouge/script/bleu.py:112
FunctionReadInFile
(filename)
CAIL2020/sfzywg/rouge/script/SARI.py:25
FunctionReadInFile
(filename)
CAIL2020/sfzyzc/rouge/script/SARI.py:25
Method__call__
(self, step)
CAIL2020/ydlj/baseline/transformers/optimization_tf.py:43
Method__call__
Accumulates :obj:`gradients`.
CAIL2020/ydlj/baseline/transformers/optimization_tf.py:219
Method__call__
重载(),方便直接进行调用 :param _image: 待处理图像 :return: 执行后的Image
CAIL2020/cocr/torchocr/utils/CreateRecAug.py:93
Method__call__
batch: (image, polygons, ignore_tags batch: a dict produced by dataloaders. image: tensor of shape (N, C, H, W).
CAIL2020/cocr/torchocr/metrics/DetMetric.py:32
Method__call__
(self, predictions, labels)
CAIL2020/cocr/torchocr/metrics/RecMetric.py:16
Method__call__
batch: (image, polygons, ignore_tags h_w_list: 包含[h,w]的数组 pred: binary: text region segmentation map, with shape
CAIL2020/cocr/torchocr/postprocess/DBPostProcess.py:15
Method__call__
对图片进行处理,先按照高度进行resize,resize之后如果宽度不足指定宽度,就补黑色像素,否则就强行缩放到指定宽度 :param img_path: 图片地址 :return: 处理为指定宽高的图片
CAIL2020/cocr/torchocr/datasets/RecCollateFn.py:15
Method__call__
(self, batch)
CAIL2020/cocr/torchocr/datasets/RecCollateFn.py:46
Method__call__
(self, batch)
CAIL2020/cocr/torchocr/datasets/RecCollateFn.py:75
Method__call__
(self, batch)
CAIL2020/cocr/torchocr/datasets/DetCollateFN.py:15
Method__call__
从scales中随机选择一个尺度,对图片和文本框进行缩放 :param data: {'img':,'text_polys':,'texts':,'ignore_tags':} :return:
CAIL2020/cocr/torchocr/datasets/det_modules/random_crop_data.py:19
Method__call__
(self, data)
CAIL2020/cocr/torchocr/datasets/det_modules/random_crop_data.py:159
Method__call__
从scales中随机选择一个尺度,对图片和文本框进行缩放 :param data: {'img':,'text_polys':,'texts':,'ignore_tags':} :return:
CAIL2020/cocr/torchocr/datasets/det_modules/make_border_map.py:18
Method__call__
(self, data)
CAIL2020/cocr/torchocr/datasets/det_modules/iaa_augment.py:44
Method__call__
从scales中随机选择一个尺度,对图片和文本框进行缩放 :param data: {'img':,'text_polys':,'texts':,'ignore_tags':} :return:
CAIL2020/cocr/torchocr/datasets/det_modules/make_shrink_map.py:45
Method__call__
对图片加噪声 :param data: {'img':,'text_polys':,'texts':,'ignore_tags':} :return:
CAIL2020/cocr/torchocr/datasets/det_modules/augment.py:20
Method__call__
从scales中随机选择一个尺度,对图片和文本框进行缩放 :param data: {'img':,'text_polys':,'texts':,'ignore_tags':} :return:
CAIL2020/cocr/torchocr/datasets/det_modules/augment.py:42
Method__call__
从scales中随机选择一个尺度,对图片和文本框进行缩放 :param data: {'img':,'text_polys':,'texts':,'ignore_tags':} :return:
CAIL2020/cocr/torchocr/datasets/det_modules/augment.py:85
Method__call__
从scales中随机选择一个尺度,对图片和文本框进行缩放 :param data: {'img':,'text_polys':,'texts':,'ignore_tags':} :return:
CAIL2020/cocr/torchocr/datasets/det_modules/augment.py:157
Method__call__
对图片和文本框进行缩放 :param data: {'img':,'text_polys':,'texts':,'ignore_tags':} :return:
CAIL2020/cocr/torchocr/datasets/det_modules/augment.py:216
Method__call__
从scales中随机选择一个尺度,对图片和文本框进行缩放 :param data: {'img':,'text_polys':,'texts':,'ignore_tags':} :return:
CAIL2020/cocr/torchocr/datasets/det_modules/augment.py:251
Method__call__
从scales中随机选择一个尺度,对图片和文本框进行缩放 :param data: {'img':,'text_polys':,'texts':,'ignore_tags':} :return:
CAIL2020/cocr/torchocr/datasets/det_modules/augment.py:280
Method__enter__
(self)
CAIL2020/ydlj/baseline/transformers/tests/tokenization_tests_commons.py:29
Method__enter__
(self)
CAIL2020/ydlj/baseline/transformers/tests/modeling_common_test.py:48
Method__enter__
(self)
CAIL2020/ydlj/baseline/transformers/tests/modeling_tf_common_test.py:45
Method__eq__
(self, other)
CAIL2020/ydlj/baseline/transformers/configuration_utils.py:197
Method__exit__
(self, exc_type, exc_value, traceback)
CAIL2020/ydlj/baseline/transformers/tests/tokenization_tests_commons.py:32
Method__exit__
(self, exc_type, exc_value, traceback)
CAIL2020/ydlj/baseline/transformers/tests/modeling_common_test.py:51
Method__exit__
(self, exc_type, exc_value, traceback)
CAIL2020/ydlj/baseline/transformers/tests/modeling_tf_common_test.py:48
Method__getitem__
(self, index)
CAIL2020/sfzywg/rouge/dataloader.py:15
Method__getitem__
(self, index)
CAIL2020/sfzywg/rouge/dataloader.py:33
Method__getitem__
(self, item)
CAIL2020/sfksz/dataset/JsonFromFiles.py:24
Method__getitem__
(self, index)
CAIL2020/sfzyzc/rouge/dataloader.py:15
Method__getitem__
(self, index)
CAIL2020/sfzyzc/rouge/dataloader.py:33
Method__getitem__
(self, item)
CAIL2020/sfkst/JsonFromFiles.py:46
Method__getitem__
(self, item)
CAIL2020/sfksu/JsonFromFiles.py:46
Method__getitem__
(self, item)
CAIL2020/sfks/dataset/nlp/JsonFromFiles.py:50
Method__getitem__
(self, index)
CAIL2020/cocr/torchocr/datasets/RecDataSet.py:44
Method__getitem__
(self, index)
CAIL2020/cocr/torchocr/datasets/RecDataSet.py:102
Method__getitem__
(self, index)
CAIL2020/cocr/torchocr/datasets/DetDataSet.py:92
Method__getstate__
(self)
CAIL2020/ydlj/baseline/transformers/tokenization_albert.py:96
Method__getstate__
(self)
CAIL2020/ydlj/baseline/transformers/tokenization_xlnet.py:98
Method__init__
(self, accusation_path, law_path)
CAIL2018/judger/judger.py:8
Method__init__
(self, accusation_path, law_path)
CAIL2018/svc/judger/judger.py:8
Method__init__
(self)
CAIL2018/svc/predictor/predictor.py:11
Method__init__
Initialize trainer with model, data, device, and config. Initialize optimizer, scheduler, criterion. Args: model: model t
CAIL2018/xsfl/train.py:49
Method__init__
(self, data, batch_size)
CAIL2018/xsfl/data_utils.py:337
Method__init__
Initialize trainer with model, data, device, and config. Initialize optimizer, scheduler, criterion. Args: model: model t
CAIL2018/xsfl/traintpu.py:71
Method__init__
(self)
CAIL2018/xsfl/tensorflow_server.py:127
Method__init__
Initialize with language type and word_dict. Args: language: 'zh' or 'en'
CAIL2018/xsfl/vocab.py:38
Method__init__
(self)
CAIL2018/xsfl/tensorflow_server_v2.py:153
Method__init__
Initialize and build dictionary. Args: vocab_file: one word each line
CAIL2018/xsfl/data.py:53
Method__init__
Initialize data processor for SMP-CAIL2020-Argmine. Args: vocab_file: one word each line max_seq_len: max sequence le
CAIL2018/xsfl/data.py:104
Method__init__
(self)
CAIL2018/xsfl/torch_server.py:59
Method__init__
Initialize the model with config dict. Args: config: python dict must contains the attributes below: config.bert_
CAIL2018/xsfl/model.py:18
Method__init__
Initialize the model with config dict. Args: config: python dict must contains the attributes below: config.bert_
CAIL2018/xsfl/model.py:71
Method__init__
Initialize the model with config dict. Args: config: python dict must contains the attributes below: config.bert_
CAIL2018/xsfl/model.py:189
Method__init__
Initialize the model with config dict. Args: config: python dict must contains the attributes below: config.vocab
CAIL2018/xsfl/model.py:367
Method__init__
(self, config)
CAIL2018/xsfl/model.py:434
Method__init__
(self, config)
CAIL2018/xsfl/model.py:464
Method__init__
Initialize trainer with model, data, device, and config. Initialize optimizer, scheduler, criterion. Args: model: model t
CAIL2021/stxq/train.py:47
Method__init__
(self)
CAIL2021/stxq/capsnetx.py:84
Method__init__
(self, num_capsules, in_channels, out_channels, kernel_size, stride)
CAIL2021/stxq/capsnetx.py:92
Method__init__
Initialize trainer with model, data, device, and config. Initialize optimizer, scheduler, criterion. Args: model: model t
CAIL2021/stxq/train_gpu.py:98
Method__init__
Initialize with language type and word_dict. Args: language: 'zh' or 'en'
CAIL2021/stxq/vocab.py:38
Method__init__
Initialize trainer with model, data, device, and config. Initialize optimizer, scheduler, criterion. Args: model: model t
CAIL2021/stxq/train_tpu.py:69
Method__init__
Initialize and build dictionary. Args: vocab_file: one word each line
CAIL2021/stxq/data.py:57
Method__init__
Initialize data processor for SMP-CAIL2020-Argmine. Args: vocab_file: one word each line max_seq_len: max sequence le
CAIL2021/stxq/data.py:121
← previousnext →2,901–3,000 of 6,528, ranked by callers