MCPcopy Create free account

hub / github.com/ShenDezhou/CAIL / functions

Functions6,528 in github.com/ShenDezhou/CAIL

↓ 6 callersFunctionget_path
Create the path if it does not exist. Args: path: path to be used Returns: Existed path
CAIL2020/jesbl/utils.py:13
↓ 6 callersFunctionget_path
Create the path if it does not exist. Args: path: path to be used Returns: Existed path
CAIL2020/sfzyzc/sfzyza/utils.py:14
↓ 6 callersFunctionget_path
Create the path if it does not exist. Args: path: path to be used Returns: Existed path
CAIL2020/sfzyza/utils.py:14
↓ 6 callersFunctionget_path
Create the path if it does not exist. Args: path: path to be used Returns: Existed path
CAIL2020/ydljz(hong)/utils.py:12
↓ 6 callersMethodget_token
Get token or None if not existent.
CAIL2020/ydlj/baseline/transformers/hf_api.py:207
↓ 6 callersMethodload_file
Load SMP-CAIL2020-Argmine train file and construct TensorDataset. Args: file_path: train file with last column as label
CAIL2020/sfzyzc/sfzyza/data.py:128
↓ 6 callersFunctionoutput_value
(epoch, mode, step, time, loss, info, end, config)
CAIL2020/sfksz/tools/eval_tool.py:19
↓ 6 callersFunctionoutput_value
(epoch, mode, step, time, loss, info, end, config)
CAIL2020/sfkst/eval_tool.py:23
↓ 6 callersFunctionoutput_value
(epoch, mode, step, time, loss, info, end, config)
CAIL2020/sfksu/eval_tool.py:23
↓ 6 callersFunctionoutput_value
(epoch, mode, step, time, loss, info, end, config)
CAIL2020/sfks/tools/eval_tool.py:19
↓ 6 callersMethodprepare_config_and_inputs
(self)
CAIL2020/ydlj/baseline/transformers/tests/modeling_tf_xlnet_test.py:100
↓ 6 callersMethodprepare_config_and_inputs
(self)
CAIL2020/ydlj/baseline/transformers/tests/modeling_distilbert_test.py:92
↓ 6 callersMethodprepare_config_and_inputs
(self)
CAIL2020/ydlj/baseline/transformers/tests/modeling_xlm_test.py:103
↓ 6 callersFunctionprint_mem
()
CAIL2018/svc/svm.py:69
↓ 6 callersMethodrefresh
(self)
CAIL2020/ydljtpu/data_iterator_pack.py:25
↓ 6 callersMethodrefresh
(self)
CAIL2020/ydljx/data_iterator_pack.py:25
↓ 6 callersMethodrefresh
(self)
CAIL2020/ydljy/data_iterator_pack.py:25
↓ 6 callersMethodresize_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_utils.py:141
↓ 6 callersMethodset_seed
(self)
CAIL2020/ydlj/baseline/transformers/tests/modeling_xlnet_test.py:137
↓ 6 callersFunctionsquash_v1
(x, axis)
CAIL2021/stxq/capsnetx.py:7
↓ 6 callersFunctionsquash_v1
(x, axis)
CAIL2021/slsb/capsnetx.py:7
↓ 6 callersFunctionsquash_v1
(x, axis)
CAIL2020/ydljztpus/capsnetx.py:7
↓ 6 callersFunctionsquash_v1
(x, axis)
CAIL2020/zwfc/capsnetx.py:7
↓ 6 callersFunctionsquash_v1
(x, axis)
CAIL2020/sfksz/model/qa/capsnetx.py:7
↓ 6 callersFunctionsquash_v1
(x, axis)
CAIL2020/jesbl/capsnetx.py:7
↓ 6 callersFunctionsquash_v1
(x, axis)
CAIL2020/ydljz(hong)tpu/capsnetx.py:7
↓ 6 callersFunctionsquash_v1
(x, axis)
CAIL2020/sfzyzc/sfzyza/capsnetx.py:7
↓ 6 callersFunctionsquash_v1
(x, axis)
CAIL2020/sfzyza/capsnetx.py:7
↓ 6 callersFunctionsquash_v1
(x, axis)
CAIL2020/ydljz(hong)/capsnetx.py:7
↓ 6 callersMethodtokenize
Cut words for a sentence. Args: sentence: sentence Returns: words list
CAIL2020/ydljy/data.py:71
↓ 6 callersMethodtrain
Train model on train set and evaluate on train and valid set. Returns: state dict of the best model with highest valid f1 score
CAIL2020/ydljzs/train.py:243
↓ 6 callersMethodtrain
Train model on train set and evaluate on train and valid set. Returns: state dict of the best model with highest valid f1 score
CAIL2020/ydljzt/train.py:242
↓ 6 callersMethodtrain
Train model on train set and evaluate on train and valid set. Returns: state dict of the best model with highest valid f1 score
CAIL2020/ydljz(hong)/train.py:247
↓ 6 callersMethodtranspose_for_scores
(self, x, batch_size)
CAIL2020/ydlj/baseline/transformers/modeling_tf_albert.py:173
↓ 6 callersMethodtranspose_for_scores
(self, x)
CAIL2020/ydlj/baseline/transformers/modeling_bert.py:213
↓ 5 callersMethod__init__
(self, config)
CAIL2020/ydljz/model.py:124
↓ 5 callersMethod__init__
(self, config)
CAIL2020/ydljzs/model.py:123
↓ 5 callersMethod__init__
(self, config)
CAIL2020/ydljztpus/model.py:145
↓ 5 callersMethod__init__
(self, config)
CAIL2020/covid/model.py:448
↓ 5 callersMethod__init__
(self, config)
CAIL2020/ydljzt/model.py:140
↓ 5 callersMethod__init__
(self, config)
CAIL2020/htflx/model.py:448
↓ 5 callersMethod__init__
(self, n_state, config)
CAIL2020/ydlj/baseline/transformers/modeling_openai.py:225
↓ 5 callersMethod__init__
(self, config, *inputs, **kwargs)
CAIL2020/ydlj/baseline/transformers/modeling_tf_ctrl.py:426
↓ 5 callersMethod__init__
(self, config)
CAIL2020/ydljtpu/model.py:117
↓ 5 callersMethod__init__
(self, config)
CAIL2020/ydljztpu/model.py:103
↓ 5 callersMethod__init__
(self, config)
CAIL2020/htfl/model.py:448
↓ 5 callersMethod__init__
(self, config)
CAIL2020/ayfl-4/model.py:448
↓ 5 callersMethod__init__
(self, config)
CAIL2020/ydljz(hong)tpu/model.py:142
↓ 5 callersMethod__init__
(self, config)
CAIL2020/sfzyzc/sfzyzb/model.py:445
↓ 5 callersMethod__init__
(self, config)
CAIL2020/htfltpu/model.py:448
↓ 5 callersMethod__init__
(self, conv_size, *args, **params)
CAIL2020/lbwjtpu/model.py:239
↓ 5 callersMethod__init__
(self, config)
CAIL2020/rlfl/model.py:448
↓ 5 callersMethod__init__
(self, in_channels, layers, **kwargs)
CAIL2020/lbwj/resnetv.py:183
↓ 5 callersMethod__init__
(self, config)
CAIL2020/ayfl/model.py:448
↓ 5 callersMethod__init__
(self, conv_size, *args, **params)
CAIL2020/lbwjx/model.py:239
↓ 5 callersMethod__init__
the Resnet backbone network for detection module. Args: params(dict): the super parameters for network build
CAIL2020/cocr/torchocr/networks/backbones/DetResNetvd.py:185
↓ 5 callersMethod__init__
(self, in_channels, layers, **kwargs)
CAIL2020/cocr/torchocr/networks/backbones/RecResNetvd.py:183
↓ 5 callersMethod__init__
(self, in_channels, out_channels, stride, name, if_first=False)
CAIL2020/cocr/torchocr/networks/backbones/RecResNetLMvd.py:92
↓ 5 callersMethod__init__
(self, config)
CAIL2020/ydljz(hong)/model.py:151
↓ 5 callersMethod__init__
(self, config)
CAIL2020/sfzyzb/model.py:445
↓ 5 callersMethodadd_tokens
Add a list of new tokens to the tokenizer class. If the new tokens are not in the vocabulary, they are added to it with indices start
CAIL2020/ydlj/baseline/transformers/tokenization_utils.py:515
↓ 5 callersFunctioncalculate_accuracy_f1
Calculate accuracy and f1 score. Args: golds: answers predicts: predictions given by model Returns: accuracy, f1 sco
CAIL2018/xsfl/evaluate.py:18
↓ 5 callersFunctioncalculate_accuracy_f1
Calculate accuracy and f1 score. Args: golds: answers predicts: predictions given by model Returns: accuracy, f1 sco
CAIL2020/sfzyzc/sfzyza/evaluate.py:18
↓ 5 callersFunctioncalculate_accuracy_f1
Calculate accuracy and f1 score. Args: golds: answers predicts: predictions given by model Returns: accuracy, f1 sco
CAIL2020/sfzyza/evaluate.py:18
↓ 5 callersFunctioncleanall
(raw_html)
CAIL2020/ayfl-4/dataclean.py:48
↓ 5 callersFunctionconvert_examples_to_features
(examples, tokenizer, max_seq_length, max_query_length)
CAIL2020/ydljtpu/data_process.py:254
↓ 5 callersFunctionconvert_examples_to_features
(examples, tokenizer, max_seq_length, max_query_length)
CAIL2020/ydljx/data_process.py:254
↓ 5 callersFunctionconvert_examples_to_features
(examples, tokenizer, max_seq_length, max_query_length)
CAIL2020/ydljy/data_process.py:254
↓ 5 callersMethodconvert_tokens_to_ids
Convert tokens to ids. Args: tokens_list: word list Returns: index list
CAIL2020/jesbl/data.py:85
↓ 5 callersMethodconvert_tokens_to_ids
Convert tokens to ids. Args: tokens_list: word list Returns: index list
CAIL2020/lbwj/data.py:84
↓ 5 callersMethodconvert_tokens_to_ids
Convert tokens to ids. Args: tokens_list: word list Returns: index list
CAIL2020/ydljy/data.py:82
↓ 5 callersFunctioncv2pil
将bgr格式的numpy的图像转换为pil :param image: 图像数组 :return: Image对象
CAIL2020/cocr/torchocr/utils/CreateRecAug.py:8
↓ 5 callersMethoddecode
Find the most likely tag sequence using Viterbi algorithm. Args: emissions (`~torch.Tensor`): Emission score tensor of size
CAIL2021/slsb/model.py:675
↓ 5 callersFunctioneval
(prediction_file, gold_file)
CAIL2020/ydljz/evaluate/evaluate.py:83
↓ 5 callersFunctioneval
(prediction_file, gold_file)
CAIL2020/ydljzs/evaluate/evaluate.py:83
↓ 5 callersFunctioneval
(prediction_file, gold_file)
CAIL2020/ydljztpus/evaluate/evaluate.py:83
↓ 5 callersFunctioneval
(prediction_file, gold_file)
CAIL2020/ydljzt/evaluate/evaluate.py:83
↓ 5 callersFunctioneval
(prediction_file, gold_file)
CAIL2020/ydljtpu/evaluate/evaluate.py:83
↓ 5 callersFunctioneval
(prediction_file, gold_file)
CAIL2020/ydljztpu/evaluate/evaluate.py:83
↓ 5 callersFunctioneval
(prediction_file, gold_file)
CAIL2020/ydljz(hong)tpu/evaluate/evaluate.py:83
↓ 5 callersFunctioneval
(prediction_file, gold_file)
CAIL2020/ydljz(hong)/evaluate/evaluate.py:83
↓ 5 callersFunctionevaluate
Evaluate model on data loader in device. Args: model: model to be evaluate data_loader: torch.utils.data.DataLoader devic
CAIL2020/ayfl-4/evaluate.py:79
↓ 5 callersFunctionevaluate
Evaluate model on data loader in device. Args: model: model to be evaluate data_loader: torch.utils.data.DataLoader devic
CAIL2020/sfzyzc/sfzyzb/evaluate.py:79
↓ 5 callersFunctionget_labels_from_file
Get labels on the last column from file. Args: filename: file name Returns: List[str]: label list
CAIL2018/xsfl/evaluate.py:51
↓ 5 callersFunctionhandy_tool
(labels, input_length)
CAIL2021/stxq/evaluate.py:117
↓ 5 callersFunctionhandy_tool
(labels, input_length)
CAIL2021/slsb/evaluate.py:117
↓ 5 callersFunctioninit_formatter
(config, task_list, *args, **params)
CAIL2020/sfksz/reader/reader.py:13
↓ 5 callersFunctioninit_formatter
(config, task_list, *args, **params)
CAIL2020/sfkst/dataprocess.py:14
↓ 5 callersFunctioninit_formatter
(config, task_list, *args, **params)
CAIL2020/sfksu/dataprocess.py:14
↓ 5 callersFunctioninit_formatter
(config, task_list, *args, **params)
CAIL2020/sfks/reader/reader.py:14
↓ 5 callersFunctionis_remote_url
(url_or_filename)
CAIL2020/ydlj/baseline/transformers/file_utils.py:109
↓ 5 callersMethodload_file
Load SMP-CAIL2020-Argmine train file and construct TensorDataset. Args: file_path: train file with last column as label
CAIL2020/hyfl/data.py:127
↓ 5 callersMethodload_file
Load SMP-CAIL2020-Argmine train file and construct TensorDataset. Args: file_path: train file with last column as label
CAIL2020/htflx/data.py:125
↓ 5 callersMethodload_file
Load SMP-CAIL2020-Argmine train file and construct TensorDataset. Args: file_path: train file with last column as label
CAIL2020/jesb/data.py:124
↓ 5 callersMethodload_file
Load SMP-CAIL2020-Argmine train file and construct TensorDataset. Args: file_path: train file with last column as label
CAIL2020/htfl/data.py:125
↓ 5 callersMethodload_file
Load SMP-CAIL2020-Argmine train file and construct TensorDataset. Args: file_path: train file with last column as label
CAIL2020/ayfl-4/data.py:125
↓ 5 callersMethodload_file
Load SMP-CAIL2020-Argmine train file and construct TensorDataset. Args: file_path: train file with last column as label
CAIL2020/sfzyzc/sfzyzb/data.py:124
↓ 5 callersMethodload_file
Load SMP-CAIL2020-Argmine train file and construct TensorDataset. Args: file_path: train file with last column as label
CAIL2020/htfltpu/data.py:125
↓ 5 callersMethodload_train_and_valid_files
Load all files for SMP-CAIL2020-Argmine. Args: train_file, valid_file: files for SMP-CAIL2020-Argmine Returns:
CAIL2021/stxq/data.py:183
↓ 5 callersMethodload_train_and_valid_files
Load all files for SMP-CAIL2020-Argmine. Args: train_file, valid_file: files for SMP-CAIL2020-Argmine Returns:
CAIL2021/slsb/data.py:183
← previousnext →201–300 of 6,528, ranked by callers