MCPcopy Create free account

hub / github.com/PaddlePaddle/Research / functions

Functions7,542 in github.com/PaddlePaddle/Research

↓ 1 callersFunctioncalc_f1
calc_f1
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/retrieval_model/tools/eval.py:135
↓ 1 callersFunctioncalc_f1
calc_f1
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/generative_model/tools/eval.py:136
↓ 1 callersFunctioncalc_f1
calc_f1
NLP/ACL2019-DuConv/retrieval_paddle/tools/eval.py:135
↓ 1 callersFunctioncalc_f1
calc_f1
NLP/ACL2019-DuConv/generative_paddle/tools/eval.py:136
↓ 1 callersFunctioncalc_f1_score
(answers, prediction)
NLP/UNIMO-2/src/utils/cmrc2018_eval.py:113
↓ 1 callersFunctioncalc_f1_score
(answers, prediction)
NLP/DuReader-Checklist-BASELINE/evaluate.py:158
↓ 1 callersFunctioncalc_f1_score
(answers, prediction)
NLP/DuReader-Robust-BASELINE/evaluate.py:149
↓ 1 callersFunctioncalc_f1_score
calc_f1_score
KG/DuEE_baseline/bin/utils/cmrc2018_eval.py:134
↓ 1 callersFunctioncalc_pr
calculate precision, recall, f1
KG/DuIE_Baseline/script/re_official_evaluation.py:213
↓ 1 callersFunctioncalculate_acc
(logits, labels)
KG/DuIE_Baseline/ernie/finetune/relation_extraction_multi_cls.py:118
↓ 1 callersFunctioncalculate_hit_at_one
Performs a local (numpy) calculation of the hit at one. Args: predictions: Matrix containing the outputs of the model. Dimensions are 'ba
KG/DuKEVU_Baseline/paddle-video-classify-tag/metrics/youtube8m/eval_util.py:27
↓ 1 callersFunctioncalculate_metric
(spo_list_gt, spo_list_predict)
KG/DuIE_Baseline/ernie/finetune/relation_extraction_multi_cls.py:150
↓ 1 callersMethodcalculate_metrics
(self, loss, softmax, labels)
KG/DuKEVU_Baseline/paddle-video-classify-tag/metrics/kinetics/accuracy_metrics.py:52
↓ 1 callersFunctioncalculate_precision_at_equal_recall_rate
Performs a local (numpy) calculation of the PERR. Args: predictions: Matrix containing the outputs of the model. Dimensions are 'batch' x
KG/DuKEVU_Baseline/paddle-video-classify-tag/metrics/youtube8m/eval_util.py:44
↓ 1 callersFunctioncast_fp16_to_fp32
(i, o, prog)
NLP/MRQA2019-D-NET/server/bert_server/pdnlp/extension/fp16.py:20
↓ 1 callersFunctioncast_fp16_to_fp32
(i, o, prog)
NLP/MRQA2019-D-NET/server/ernie_server/pdnlp/extension/fp16.py:20
↓ 1 callersFunctioncast_fp16_to_fp32
(i, o, prog)
NLP/ACL2019-KTNET/reading_comprehension/src/utils/fp16.py:20
↓ 1 callersFunctioncast_fp16_to_fp32
(i, o, prog)
NLP/MRQA2019-BASELINE/src/utils/fp16.py:20
↓ 1 callersFunctioncast_fp16_to_fp32
(i, o, prog)
KG/CoKE/bin/utils/fp16.py:20
↓ 1 callersFunctioncast_fp16_to_fp32
(i, o, prog)
KG/ACL2021_GRAN/src/utils/fp16.py:19
↓ 1 callersFunctioncast_fp32_to_fp16
(i, o, prog)
NLP/MRQA2019-D-NET/server/bert_server/pdnlp/extension/fp16.py:31
↓ 1 callersFunctioncast_fp32_to_fp16
(i, o, prog)
NLP/MRQA2019-D-NET/server/ernie_server/pdnlp/extension/fp16.py:31
↓ 1 callersFunctioncast_fp32_to_fp16
(i, o, prog)
NLP/ACL2019-KTNET/reading_comprehension/src/utils/fp16.py:31
↓ 1 callersFunctioncast_fp32_to_fp16
(i, o, prog)
NLP/MRQA2019-BASELINE/src/utils/fp16.py:31
↓ 1 callersFunctioncast_fp32_to_fp16
(i, o, prog)
KG/CoKE/bin/utils/fp16.py:31
↓ 1 callersFunctioncast_fp32_to_fp16
(i, o, prog)
KG/ACL2021_GRAN/src/utils/fp16.py:30
↓ 1 callersFunctioncenter_crop
(img, output_size)
CV/CLPI-Collaborative-Learning-for-Diabetic-Retinopathy-Grading/opencv_functional.py:153
↓ 1 callersMethodchange_test_data_format
Reformat test data.
KG/ACL2021_GRAN/preprocessing.py:72
↓ 1 callersMethodchange_train_data_format
Reformat training data.
KG/ACL2021_GRAN/preprocessing.py:38
↓ 1 callersMethodcheck
check Args: data (TYPE): NULL db (TYPE): NULL Returns: TODO Raises: NULL
NLP/Text2SQL-BASELINE/text2sql/dataproc/ernie_input_encoder_v2.py:95
↓ 1 callersFunctioncheck_bboxes
(data_root, save_root)
CV/VehicleCounting/utils/prepare_for_mot.py:57
↓ 1 callersFunctioncheck_cell_match
check if word partial/exact match one of values Args: word (TYPE): NULL values_str (TYPE): NULL Returns: bool
NLP/Text2SQL-BASELINE/text2sql/utils/linking_utils.py:340
↓ 1 callersFunctioncheck_cuda
(use_cuda, err = \ "\nYou can not set use_cuda = True in the model because you are using paddlepaddle-cpu.
NLP/DuReader-Robust-BASELINE/src/utils/args.py:52
↓ 1 callersFunctioncheck_cuda
(use_cuda, err = \ "\nYou can not set use_cuda = True in the model because you are using paddlepaddle-cpu.
KG/AAAI2021_SSAN/utils/args.py:74
↓ 1 callersFunctioncheck_cuda
(use_cuda, err = \ "\nYou can not set use_cuda = True in the model because you are using paddlepaddle-cpu.
KG/DuIE_Baseline/ernie/utils/args.py:74
↓ 1 callersFunctioncheck_cuda
check_cuda
KG/DuEL_Baseline/ernie/utils/args.py:83
↓ 1 callersFunctioncheck_tracks_with_roi
(tracks, mask)
CV/VehicleCounting/vehicle_counting/counting.py:34
↓ 1 callersFunctioncheck_version
Log error and exit when the installed version of paddlepaddle is not satisfied.
NLP/EMNLP2021-SgSum/src/utils/check.py:50
↓ 1 callersMethodclassify_point
Desc: 将点分到相应的cluster中, 如果不能分到相应的cluster中, 则返回False Args: self : self point : 需要分类的mygeo.Point Return:
ST_DM/GenRegion/src/generate/gen/cluster.py:626
↓ 1 callersFunctionclean
(x)
NLP/EMNLP2021-SgSum/src/eval/tasks/cnndm/cnndm/bs_pyrouge.py:25
↓ 1 callersFunctionclean_string
(string)
NLP/Dialogue-PLATO/plato/data/tokenizer.py:29
↓ 1 callersFunctionclip_tiled_boxes
Clip boxes to image boundaries. im_shape is [height, width] and boxes has shape (N, 4 * num_tiled_boxes).
CV/landmark/inference/infer_recognition.py:105
↓ 1 callersFunctioncls_preprocessor
(im, new_size)
CV/landmark/inference/infer_recognition.py:239
↓ 1 callersMethodcollate_examples
collate examples, and append to self._examples Args: orig_examples (TYPE): NULL Returns: TODO Raises: NULL
NLP/Text2SQL-BASELINE/text2sql/dataproc/dusql_dataset_v2.py:348
↓ 1 callersMethodcollect_best_friend
Desc: 从已有的friends中选择best friend放在self.friends的首部 best friend可能不止一个 Args: self : self Return:
ST_DM/GenRegion/src/generate/gen/cluster.py:247
↓ 1 callersFunctioncombine_question
sub-questuiion 2 full question Args: sub_questions ([type]): sub questions sub_sqls ([type]): sub sqls Returns: stri
NLP/Text2SQL-DA-HIER/clause2subquestion/spider/tgt2question.py:8
↓ 1 callersMethodcombine_train_dev
Combine train and dev files for model training.
KG/ACL2021_GRAN/preprocessing.py:321
↓ 1 callersMethodcombine_train_dev
Combine train and dev files for model training.
KG/ACL2021_GRAN/preprocessing.py:467
↓ 1 callersMethodcombine_train_dev
Combine train and dev files for model training.
KG/ACL2021_GRAN/preprocessing.py:629
↓ 1 callersMethodcompile_data
combine the input files :param tmp_dir: :param pair_filenames: :param is_train: :return:
NLP/EMNLP2019-MAL/src/preprocess/problem.py:146
↓ 1 callersMethodcompile_data
combine the input files :param tmp_dir: :param pair_filenames: :param is_train: :return:
NLP/EMNLP2019-MAL/src/preprocess/problem.py:275
↓ 1 callersFunctioncompute_IoU
(box1, box2)
CV/AICity2020-Anomaly-Detection/fusion_code/fusion_backtracking.py:22
↓ 1 callersFunctioncompute_IoU
(box1, box2)
CV/AICity2020-Anomaly-Detection/box_track/box_level_tracking.py:38
↓ 1 callersFunctioncompute_bleu
Computes BLEU score of translated segments against one or more references. Args: reference_corpus: list of lists of references for each translat
NLP/ACL2020-GraphSum/src/utils/bleu.py:45
↓ 1 callersFunctioncompute_bleu
Computes BLEU score of translated segments against one or more references. Args: reference_corpus: list of references for each translation. Eac
NLP/EMNLP2019-MAL/src/bleu_hook.py:56
↓ 1 callersFunctioncompute_bleu
Computes BLEU score of translated segments against one or more references. Args: reference_corpus: list of lists of references for each translat
NLP/EMNLP2021-SgSum/src/utils/bleu.py:45
↓ 1 callersFunctioncompute_exact
(a_gold, a_pred)
NLP/MRQA2019-D-NET/server/xlnet_server/squad_utils.py:62
↓ 1 callersFunctioncompute_f1
(a_gold, a_pred)
NLP/MRQA2019-D-NET/server/xlnet_server/squad_utils.py:65
↓ 1 callersFunctioncompute_kbc_metrics
combine the kbc rank results from batches into the final metrics
KG/CoKE/bin/evaluation.py:127
↓ 1 callersMethodcompute_loss_from_all_ordering
compute loss from all ordering
NLP/Text2SQL-BASELINE/text2sql/models/sql_decoder/decoder.py:287
↓ 1 callersFunctioncompute_mAP
(index, good_index, junk_index)
CV/GNN-Re-Ranking/utils.py:43
↓ 1 callersFunctioncompute_metrics
Compute MRR metric Args: p_qids_to_relevant_passageids (dict): dictionary of query-passage mapping Dict as read in with load_reference
NLP/NAACL2021-RocketQA/metric/msmarco_eval.py:110
↓ 1 callersFunctioncompute_metrics
Compute MRR metric Args: p_qids_to_relevant_passageids (dict): dictionary of query-passage mapping Dict as read in with load_reference
NLP/ACL2021-PAIR/metric/msmarco_eval.py:110
↓ 1 callersFunctioncompute_metrics
Combine the ranks from batches into final metrics.
KG/ACL2021_GRAN/src/evaluation.py:141
↓ 1 callersFunctioncompute_metrics_from_files
Compute MRR metric Args: p_path_to_reference_file (str): path to reference file. Reference file should contain lines in the following
NLP/NAACL2021-RocketQA/metric/msmarco_eval.py:161
↓ 1 callersFunctioncompute_metrics_from_files
Compute MRR metric Args: p_path_to_reference_file (str): path to reference file. Reference file should contain lines in the following
NLP/ACL2021-PAIR/metric/msmarco_eval.py:161
↓ 1 callersFunctioncompute_nwRMSE
(n, pdArray, gtArray)
CV/VehicleCounting/eval/eval.py:63
↓ 1 callersFunctioncompute_paragraph_score
For each paragraph, compute the f1 score compared with the question Args: sample: a sample in the dataset. Returns: None
NLP/ACL2018-DuReader/src/paragraph_extraction.py:26
↓ 1 callersFunctioncompute_pathquery_metrics
combine the pathquery mq, rank results from batches into the final metrics
KG/CoKE/bin/evaluation.py:157
↓ 1 callersFunctioncompute_prediction_checklist
Post-processes the predictions of a question-answering model to convert them to answers that are substrings of the original contexts. This is
NLP/DuReader-Checklist-BASELINE/src/squad.py:44
↓ 1 callersFunctioncompute_prf
Compute precision recall and f1-score.
NLP/ACL2018-DuReader/utils/dureader_eval.py:155
↓ 1 callersFunctioncompute_score
compute score, mAP, flops of a model Args: model_dir (string): directory of model data_dir (string): directo
CV/astar2019/score.py:104
↓ 1 callersFunctioncompute_scores
(preds_path, data_name: str, model_name: str)
NLP/ACL2024-NACL/src/compute_scores.py:407
↓ 1 callersFunctioncompute_tfidf_sim
compute tfidf similarity
NLP/ACL2020-GraphSum/src/data_preprocess/graphsum/data_builder_graphsum.py:251
↓ 1 callersFunctioncompute_tfidf_sim
compute tfidf similarity
NLP/EMNLP2021-SgSum/src/data_preprocess/data_builder_graphextsum.py:264
↓ 1 callersFunctioncompute_topk_correct_hits
Compute the number of corret hits
KG/DuKEVU_Baseline/paddle-video-classify-tag/metrics/kinetics/accuracy_metrics.py:78
↓ 1 callersMethodconjoin_conds
(cls, conds)
NLP/Text2SQL-BASELINE/text2sql/grammars/dusql_v2.py:387
↓ 1 callersMethodconjoin_conds
(cls, conds)
NLP/Text2SQL-BASELINE/text2sql/grammars/nl2sql.py:265
↓ 1 callersMethodconjoin_conds
(cls, conds)
NLP/Text2SQL-BASELINE/text2sql/grammars/cspider_v2.py:388
↓ 1 callersMethodconstgat
constgat
ST_DM/KDD2020-ConSTGAT/constgat.py:261
↓ 1 callersMethodconstgat_model
constgat model
ST_DM/KDD2020-ConSTGAT/constgat.py:329
↓ 1 callersFunctionconstruct_candidate_for_corpus
construct candidate for corpus case of data in corpus_file: { "goal": [["START", "休 · 劳瑞", "蕾切儿 · 哈伍德"]], "knowledge": [
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/retrieval_model/tools/construct_candidate.py:140
↓ 1 callersFunctionconstruct_candidate_for_corpus
construct candidate for corpus case of data in corpus_file: { "goal": [["START", "休 · 劳瑞", "蕾切儿 · 哈伍德"]], "knowledge": [
NLP/ACL2019-DuConv/retrieval_paddle/tools/construct_candidate.py:135
↓ 1 callersFunctionconstruct_lda_sim_graph
compute lda vector similarity between paragraphs :param corpus: :param args: :return:
NLP/ACL2020-GraphSum/src/data_preprocess/graphsum/data_builder_graphsum.py:447
↓ 1 callersFunctionconstruct_lda_sim_graph
compute lda vector similarity between paragraphs :param corpus: :param args: :return:
NLP/EMNLP2021-SgSum/src/data_preprocess/data_builder_graphextsum.py:481
↓ 1 callersFunctionconstruct_lsi_sim_graph
compute lsi vector similarity between paragraphs :param corpus: :param args: :return:
NLP/ACL2020-GraphSum/src/data_preprocess/graphsum/data_builder_graphsum.py:349
↓ 1 callersFunctionconstruct_lsi_sim_graph
compute lsi vector similarity between paragraphs :param corpus: :param args: :return:
NLP/EMNLP2021-SgSum/src/data_preprocess/data_builder_graphextsum.py:383
↓ 1 callersFunctionconstruct_tfidf_sim_graph_by_gensim
Constuct TFIDF similarity graph by Gensim package
NLP/ACL2020-GraphSum/src/data_preprocess/graphsum/data_builder_graphsum.py:263
↓ 1 callersFunctionconstruct_tfidf_sim_graph_by_gensim
Constuct TFIDF similarity graph by Gensim package
NLP/EMNLP2021-SgSum/src/data_preprocess/data_builder_graphextsum.py:276
↓ 1 callersMethodconv_bn_layer
Create conv+bn layer
CV/CLPI-Collaborative-Learning-for-Diabetic-Retinopathy-Grading/clfnet/lesionnet.py:92
↓ 1 callersMethodconv_bn_layer_new
(self, input, num_filters, filte
CV/PaddleReid/reid/model/resnext_vd_multi_branch.py:141
↓ 1 callersMethodconv_bn_layer_new
(self, input, num_filters, filter_size,
CV/PaddleReid/reid/model/se_resnet_vd.py:146
↓ 1 callersMethodconv_bn_layer_new
(self, input, num_filters, filte
CV/PaddleReid/reid/model/se_resnext_vd.py:255
↓ 1 callersMethodconv_bn_layer_new
(self, input, num_filters, filte
CV/PaddleReid/reid/model/resnet_vd.py:161
↓ 1 callersMethodconv_bn_layer_new
(self, input, num_filters, filte
CV/PaddleReid/reid/model/resnext_vd.py:150
↓ 1 callersMethodconv_bn_layer_new
conv_bn_layer_new
CV/landmark/inference/models/resnet_vd_fc.py:122
↓ 1 callersMethodconv_bn_layer_new
(self, input, num_filters, filter_size,
CV/landmark/inference/models/resnet_vd_embedding.py:120
↓ 1 callersMethodconv_bn_layer_new
(self, input, num_filters, filter_size,
CV/landmark/inference/models/resnet_vd_v0_embedding.py:98
↓ 1 callersMethodconv_bn_layer_new
(self, input, num_filters, filter_size,
CV/landmark/inference/models/resnet_vd.py:127
↓ 1 callersMethodconv_bn_layer_new
(self, input, num_filters, filter_size,
CV/landmark/inference/models/se_resnext_vd_embedding.py:180
← previousnext →2,701–2,800 of 7,542, ranked by callers