Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ShenDezhou/CAIL
/ functions
Functions
6,528 in github.com/ShenDezhou/CAIL
⨍
Functions
6,528
◇
Types & classes
1,183
↳
Endpoints
4
Method
prepare_config_and_inputs_for_common
(self)
CAIL2020/ydlj/baseline/transformers/tests/modeling_tf_distilbert_test.py:183
Method
prepare_config_and_inputs_for_common
(self)
CAIL2020/ydlj/baseline/transformers/tests/modeling_xlnet_test.py:309
Function
print_log
Print a log message. Args: msg (str): The message to be logged. logger (logging.Logger | str | None): The logger to be used.
CAIL2020/cocr/torchocr/utils/logging.py:69
Function
print_mem
()
CAIL2020/sfzyy/rulereason/gbttrain.py:39
Function
print_mem
()
CAIL2020/sfzy/rulereason/gbttrain.py:39
Function
print_mem
()
CAIL2020/sfzyzc/sfzyy/rulereason/gbttrain.py:39
Method
print_mem
(self)
CAIL2020/sfzyy/ruleresult/CompResult.py:30
Method
print_mem
(self)
CAIL2020/sfzyy/filter/CheckWordImportance.py:24
Method
print_mem
(self)
CAIL2020/sfzyy/rulefact/CompFact.py:30
Method
print_mem
(self)
CAIL2020/sfzyy/rulereason/CheckReason.py:21
Method
print_mem
(self)
CAIL2020/sfzyy/ruleopinion/CompOpinion.py:28
Method
print_mem
(self)
CAIL2020/sfzyy/rulepropose/CompPropose.py:34
Method
print_mem
(self)
CAIL2020/sfzy/ruleresult/CompResult.py:37
Method
print_mem
(self)
CAIL2020/sfzy/filter/CheckWordImportance.py:30
Method
print_mem
(self)
CAIL2020/sfzy/rulefact/CompFact.py:37
Method
print_mem
(self)
CAIL2020/sfzy/rulereason/CheckReason.py:20
Method
print_mem
(self)
CAIL2020/sfzy/ruleopinion/CompOpinion.py:35
Method
print_mem
(self)
CAIL2020/sfzy/rulepropose/CompPropose.py:38
Method
print_mem
(self)
CAIL2020/sfzyzc/sfzyy/ruleresult/CompResult.py:30
Method
print_mem
(self)
CAIL2020/sfzyzc/sfzyy/filter/CheckWordImportance.py:30
Method
print_mem
(self)
CAIL2020/sfzyzc/sfzyy/rulefact/CompFact.py:30
Method
print_mem
(self)
CAIL2020/sfzyzc/sfzyy/rulereason/CheckReason.py:21
Method
print_mem
(self)
CAIL2020/sfzyzc/sfzyy/ruleopinion/CompOpinion.py:28
Method
print_mem
(self)
CAIL2020/sfzyzc/sfzyy/rulepropose/CompPropose.py:34
Method
process
(self, data, config, mode, *args, **params)
CAIL2020/sfksz/formatter/WordFormatter.py:34
Method
process
(self, data, config, mode, *args, **params)
CAIL2020/sfksz/formatter/BertWordFormatter.py:79
Method
process
(self, data, config, mode, *args, **params)
CAIL2020/sfksz/formatter/MultiWordFormatter.py:34
Method
process
(self, data, config, mode, *args, **params)
CAIL2020/sfks/formatter/Basic.py:6
Method
process
(self, data, config, mode, *args, **params)
CAIL2020/sfks/formatter/qa/Word.py:36
Method
process
(self, data, config, mode, *args, **params)
CAIL2020/sfks/formatter/qa/Bert.py:40
Method
process
(self, data, config, mode, *args, **params)
CAIL2020/sfks/formatter/qa/Bert.py:169
Method
process
(self, data, config, mode, *args, **params)
CAIL2020/sfks/formatter/qa/Char.py:25
Method
process
(self, data, config, mode, *args, **params)
CAIL2020/sfks/formatter/qa/Comatch.py:96
Function
process_context
(line)
CAIL2020/sfzyzc/sfzyzb/preprocess.py:13
Function
progress_bar
(current, total, msg=None)
CAIL2020/sfzywg/rouge/utils.py:158
Function
progress_bar
(current, total, msg=None)
CAIL2020/sfzyzc/rouge/utils.py:158
Method
prune_heads
(self, heads)
CAIL2020/ydlj/baseline/transformers/modeling_tf_albert.py:256
Method
prune_heads
(self, heads)
CAIL2020/ydlj/baseline/transformers/modeling_xlnet.py:223
Method
prune_heads
(self, heads)
CAIL2020/ydlj/baseline/transformers/modeling_tf_openai.py:83
Method
prune_heads
Prunes heads of the base model. Arguments: heads_to_prune: dict with keys being selected layer indices (`int`) and asso
CAIL2020/ydlj/baseline/transformers/modeling_tf_utils.py:141
Method
prune_heads
(self, heads)
CAIL2020/ydlj/baseline/transformers/modeling_tf_bert.py:284
Method
prune_heads
(self, heads)
CAIL2020/ydlj/baseline/transformers/modeling_tf_distilbert.py:199
Method
prune_heads
(self, heads)
CAIL2020/ydlj/baseline/transformers/modeling_tf_gpt2.py:77
Method
prune_heads
(self, heads)
CAIL2020/ydlj/baseline/transformers/modeling_tf_xlnet.py:112
Function
prune_layer
Prune a Conv1D or nn.Linear layer (a model parameters) to keep only entries in index. Return the pruned layer as a new layer with requires_gr
CAIL2020/ydlj/baseline/transformers/modeling_utils.py:858
Function
read_config
(path)
CAIL2020/sfzywg/rouge/utils.py:17
Function
read_config
(path)
CAIL2020/sfzyzc/rouge/utils.py:17
Function
read_datas
(filename, trans_to_num=False)
CAIL2020/sfzywg/rouge/utils.py:20
Function
read_datas
(filename, trans_to_num=False)
CAIL2020/sfzyzc/rouge/utils.py:20
Function
recognition_result_post_process
对识别的结果进行后处理,包括ctc decoder以及correct以及词典的矫正 :param _recognition_result: 识别的结果 :param _recognizer_model_type: 识别网路的类型 :param _str_label
CAIL2020/cocr/one_for_all_inference.py:306
Function
reg_trigger
(line)
CAIL2020/jesb/datagen/contract_test.py:28
Method
register_subcommand
(parser: ArgumentParser)
CAIL2020/ydlj/baseline/transformers/commands/user.py:11
Method
register_subcommand
(parser: ArgumentParser)
CAIL2020/ydlj/baseline/transformers/commands/__init__.py:7
Method
rel_shift
perform relative shift to form the relative attention score.
CAIL2020/ydlj/baseline/transformers/modeling_xlnet.py:227
Function
related_polygon_assembly
将关联的多边形根据识别文本结果进行融合 :param _polygons: 每个多边形 :param _recognition_result: 每个多边形检测的结果 :return: 融合后的多边形与对应的文本识别结果
CAIL2020/cocr/one_for_all_inference.py:321
Method
relocate_tok_span
(orig_start_position, orig_end_position, orig_text)
CAIL2020/ydljz/data.py:527
Method
relocate_tok_span
(orig_start_position, orig_end_position, orig_text)
CAIL2020/ydljzs/data.py:527
Method
relocate_tok_span
(orig_start_position, orig_end_position, orig_text)
CAIL2020/ydljztpus/data.py:530
Method
relocate_tok_span
(orig_start_position, orig_end_position, orig_text)
CAIL2020/ydljzt/data.py:527
Method
relocate_tok_span
(orig_start_position, orig_end_position, orig_text)
CAIL2020/ydljtpu/data.py:526
Method
relocate_tok_span
(orig_start_position, orig_end_position, orig_text)
CAIL2020/ydljztpu/data.py:530
Method
relocate_tok_span
(orig_start_position, orig_end_position, orig_text)
CAIL2020/ydljx/data.py:526
Method
relocate_tok_span
(orig_start_position, orig_end_position, orig_text)
CAIL2020/ydljz(hong)tpu/data.py:530
Method
relocate_tok_span
(orig_start_position, orig_end_position, orig_text)
CAIL2020/ydljz(hong)/data.py:557
Function
remove
(text)
CAIL2021/stxq/main.py:77
Function
remove
(text)
CAIL2021/slsb/main.py:77
Function
remove
(text)
CAIL2020/zwfc/main.py:75
Function
remove
(text)
CAIL2020/jesbl/main.py:73
Function
removeless
()
CAIL2021/stxq/classmerge.py:37
Function
removeless
()
CAIL2021/slsb/classmerge.py:37
Function
removeless
()
CAIL2020/covid/classmerge.py:37
Function
removeless
()
CAIL2020/htflx/classmerge.py:37
Function
removeless
()
CAIL2020/rlfl_dump/classmerge.py:37
Function
removeless
()
CAIL2020/zwfc/classmerge.py:37
Function
removeless
()
CAIL2020/htfl/classmerge.py:37
Function
removeless
()
CAIL2020/ayfl-4/classmerge.py:37
Function
removeless
()
CAIL2020/jesbl/classmerge.py:37
Function
removeless
()
CAIL2020/sfzyzc/sfzyza/classmerge.py:37
Function
removeless
()
CAIL2020/sfzyzc/sfzyzb/classmerge.py:37
Function
removeless
()
CAIL2020/sfzyza/classmerge.py:37
Function
removeless
()
CAIL2020/htfltpu/classmerge.py:37
Function
removeless
()
CAIL2020/ayfl/classmerge.py:37
Function
removeless
()
CAIL2020/sfzyzb/classmerge.py:37
Function
require_tf
Decorator marking a test that requires TensorFlow. These tests are skipped when TensorFlow isn't installed.
CAIL2020/ydlj/baseline/transformers/tests/utils.py:69
Function
require_torch
Decorator marking a test that requires PyTorch. These tests are skipped when PyTorch isn't installed.
CAIL2020/ydlj/baseline/transformers/tests/utils.py:57
Method
reset_length
(self, tgt_len, ext_len, mem_len)
CAIL2020/ydlj/baseline/transformers/modeling_tf_transfo_xl.py:735
Method
reset_length
(self, tgt_len, ext_len, mem_len)
CAIL2020/ydlj/baseline/transformers/modeling_transfo_xl.py:874
Function
resize_image
(img, short_size)
CAIL2020/cocr/torchocr/datasets/det_modules/augment.py:189
Method
resize_token_embeddings
Resize data token embeddings matrix of the model if new_num_tokens != config.vocab_size. Take care of tying weights embeddings afterwards if
CAIL2020/ydlj/baseline/transformers/modeling_tf_utils.py:126
Function
resnet101
r"""ResNet-101 model from `"Deep Residual Learning for Image Recognition" <https://arxiv.org/pdf/1512.03385.pdf>`_ Args: pretrained (b
CAIL2020/ydljz/resnet2d.py:267
Function
resnet101
r"""ResNet-101 model from `"Deep Residual Learning for Image Recognition" <https://arxiv.org/pdf/1512.03385.pdf>`_ Args: pretrained (b
CAIL2020/ydljz/resnet.py:266
Function
resnet101
r"""ResNet-101 model from `"Deep Residual Learning for Image Recognition" <https://arxiv.org/pdf/1512.03385.pdf>`_ Args: pretrained (b
CAIL2020/ydljzs/resnet2d.py:267
Function
resnet101
r"""ResNet-101 model from `"Deep Residual Learning for Image Recognition" <https://arxiv.org/pdf/1512.03385.pdf>`_ Args: pretrained (b
CAIL2020/ydljzs/resnet.py:266
Function
resnet101
r"""ResNet-101 model from `"Deep Residual Learning for Image Recognition" <https://arxiv.org/pdf/1512.03385.pdf>`_ Args: pretrained (b
CAIL2020/ydljztpus/resnet2d.py:267
Function
resnet101
r"""ResNet-101 model from `"Deep Residual Learning for Image Recognition" <https://arxiv.org/pdf/1512.03385.pdf>`_ Args: pretrained (b
CAIL2020/ydljztpus/resnet.py:266
Function
resnet101
r"""ResNet-101 model from `"Deep Residual Learning for Image Recognition" <https://arxiv.org/pdf/1512.03385.pdf>`_ Args: pretrained (b
CAIL2020/ydljzt/resnet2d.py:267
Function
resnet101
r"""ResNet-101 model from `"Deep Residual Learning for Image Recognition" <https://arxiv.org/pdf/1512.03385.pdf>`_ Args: pretrained (b
CAIL2020/ydljzt/resnet.py:266
Function
resnet101
r"""ResNet-101 model from `"Deep Residual Learning for Image Recognition" <https://arxiv.org/pdf/1512.03385.pdf>`_ Args: pretrained (b
CAIL2020/ydljtpu/resnet.py:265
Function
resnet101
r"""ResNet-101 model from `"Deep Residual Learning for Image Recognition" <https://arxiv.org/pdf/1512.03385.pdf>`_ Args: pretrained (b
CAIL2020/ydljztpu/resnet2d.py:267
Function
resnet101
r"""ResNet-101 model from `"Deep Residual Learning for Image Recognition" <https://arxiv.org/pdf/1512.03385.pdf>`_ Args: pretrained (b
CAIL2020/ydljztpu/resnet.py:266
← previous
next →
5,701–5,800 of 6,528, ranked by callers