MCPcopy Create free account

hub / github.com/PaddlePaddle/Research / functions

Functions7,542 in github.com/PaddlePaddle/Research

↓ 1 callersMethodmerge_sibling_region
Desc: 获取一个兄弟区域, two regions that have the same parent are siblings Args: self : self Return: list of
ST_DM/GenRegion/src/generate/gen/regionalg.py:398
↓ 1 callersMethodmerge_small_region
Desc: 获取当前region中需要删除的seg Args: self : self area_thers : 面积阈值 width_thers : 宽度阈值 Return:
ST_DM/GenRegion/src/generate/gen/regionalg.py:366
↓ 1 callersMethodmetric
calculate metric
ST_DM/CIKM2022-DuMapper/DME/metric/signboard_pr.py:179
↓ 1 callersMethodmetrics_step
metrics step logits_list: list(Tensor), multiple model outputs labels: Tensor, fitting target
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/trainer/evaluator.py:86
↓ 1 callersMethodmicro_f1
:return: float类型:精确率,召回率,Micro-F1值
KG/DuEL_Baseline/data/eval.py:103
↓ 1 callersMethodmiddle_flow
(self, data)
CV/SemSegPaddle/src/models/backbone/xception.py:174
↓ 1 callersMethodmish
(self, x)
CV/CLPI-Collaborative-Learning-for-Diabetic-Retinopathy-Grading/clfnet/lesionnet.py:43
↓ 1 callersFunctionmixup_criterion_hard
(criterion, pred, y_a, y_b, lam)
CV/SMILE/finetune.py:112
↓ 1 callersFunctionmixup_criterion_soft
(pred, y_a, y_b, lam)
CV/SMILE/finetune.py:116
↓ 1 callersFunctionmixup_data
(x, y, index=None, alpha=0.2)
CV/SMILE/finetune.py:98
↓ 1 callersFunctionmkdir
Mkdir
NLP/ACL2018-DAM/util.py:32
↓ 1 callersFunctionmobilenetv2
(input)
CV/SemSegPaddle/src/models/modeling/deeplabv3.py:87
↓ 1 callersMethodmodify_bottle_params
(self, output_stride=None)
CV/SemSegPaddle/src/models/backbone/mobilenet_v2.py:53
↓ 1 callersFunctionmorphological_transform
Apply Morphological transform on an image. ---- Args: image: uint8, 2D numpy array range from 0 to 255, the input image i
CV/robust_vessel_segmentation/data_aug.py:79
↓ 1 callersFunctionmp4_loader
(filepath, nsample, seglen, mode)
KG/DuKEVU_Baseline/paddle-video-classify-tag/reader/kinetics_reader.py:302
↓ 1 callersFunctionmrr_at_k
Score is reciprocal of the rank of the first relevant item First element is 'rank 1'. Relevance is binary (nonzero is relevant). But not
ST_DM/KDD2021-MSTPAC/code/MST-PAC/utils/model_eval/mrr_ndcg.py:17
↓ 1 callersFunctionmulti_bce_loss
(logits, label, ignore_mask=None)
CV/SemSegPaddle/src/utils/loss.py:110
↓ 1 callersFunctionmulti_dice_loss
(logits, label, ignore_mask=None)
CV/SemSegPaddle/src/utils/loss.py:97
↓ 1 callersFunctionmulti_head_attention
Multi-Head Attention. Note that attn_bias is added to the logit before computing softmax activiation to mask certain selected positions so th
ST_DM/KDD2021-MSTPAC/code/MST-PAC/nets/common/transformer_encoder.py:42
↓ 1 callersFunctionmulti_head_attention
Multi-Head Attention. Note that attn_bias is added to the logit before computing softmax activiation to mask certain selected positions so th
ST_DM/KDD2021-HGAMN/src/model/transformer_encoder.py:26
↓ 1 callersFunctionmulti_head_attention
Multi-Head Attention. Note that attn_bias is added to the logit before computing softmax activiation to mask certain selected positions so th
NLP/NAACL2021-RocketQA/model/src/model/transformer_encoder.py:26
↓ 1 callersFunctionmulti_head_attention
Multi-Head Attention. Note that attn_bias is added to the logit before computing softmax activiation to mask certain selected positions so th
NLP/UNIMO-2/src/model/transformer_encoder.py:24
↓ 1 callersFunctionmulti_head_attention
Multi-Head Attention. Note that attn_bias is added to the logit before computing softmax activiation to mask certain selected positions so th
NLP/UNIMO-2/src/model/vision_transformer_encoder.py:33
↓ 1 callersFunctionmulti_head_attention
Multi-Head Attention. Note that attn_bias is added to the logit before computing softmax activiation to mask certain selected positions so th
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/retrieval_model/source/encoders/transformer.py:29
↓ 1 callersFunctionmulti_head_attention
Multi-Head Attention. Note that attn_bias is added to the logit before computing softmax activiation to mask certain selected positions so th
NLP/MRQA2019-D-NET/server/bert_server/pdnlp/module/transformer_encoder.py:54
↓ 1 callersFunctionmulti_head_attention
Multi-Head Attention. Note that attn_bias is added to the logit before computing softmax activiation to mask certain selected positions so th
NLP/MRQA2019-D-NET/server/bert_server/pdnlp/nets/transformer_encoder.py:27
↓ 1 callersFunctionmulti_head_attention
Multi-Head Attention. Note that attn_bias is added to the logit before computing softmax activiation to mask certain selected positions so th
NLP/MRQA2019-D-NET/server/ernie_server/pdnlp/module/transformer_encoder.py:54
↓ 1 callersFunctionmulti_head_attention
Multi-Head Attention. Note that attn_bias is added to the logit before computing softmax activiation to mask certain selected positions so th
NLP/MRQA2019-D-NET/server/xlnet_server/model/transformer_encoder.py:27
↓ 1 callersFunctionmulti_head_attention
Multi-Head Attention. Note that attn_bias is added to the logit before computing softmax activiation to mask certain selected positions so th
NLP/ACL2021-PAIR/model/src/model/transformer_encoder.py:26
↓ 1 callersFunctionmulti_head_attention
Multi-Head Attention. Note that attn_bias is added to the logit before computing softmax activiation to mask certain selected positions so th
NLP/EMNLP2021-SgSum/src/roberta/roberta_encoder.py:24
↓ 1 callersFunctionmulti_head_attention
Multi-Head Attention. Note that attn_bias is added to the logit before computing softmax activiation to mask certain selected positions so th
NLP/EMNLP2021-SgSum/src/data_preprocess/roberta/roberta_encoder.py:24
↓ 1 callersFunctionmulti_head_attention
Multi-Head Attention. Note that attn_bias is added to the logit before computing softmax activiation to mask certain selected positions so th
NLP/ACL2019-DuConv/retrieval_paddle/source/encoders/transformer.py:29
↓ 1 callersFunctionmulti_head_attention
Multi-Head Attention. Note that attn_bias is added to the logit before computing softmax activiation to mask certain selected positions so th
NLP/ACL2019-KTNET/reading_comprehension/src/model/transformer_encoder.py:57
↓ 1 callersFunctionmulti_head_attention
Multi-Head Attention. Note that attn_bias is added to the logit before computing softmax activiation to mask certain selected positions so th
NLP/DuReader-Robust-BASELINE/src/model/transformer_encoder.py:27
↓ 1 callersFunctionmulti_head_attention
Multi-Head Attention. Note that attn_bias is added to the logit before computing softmax activiation to mask certain selected positions so th
NLP/UNIMO/src/model/transformer_encoder.py:26
↓ 1 callersFunctionmulti_head_attention
Multi-Head Attention. Note that attn_bias is added to the logit before computing softmax activiation to mask certain selected positions so th
NLP/MRQA2019-BASELINE/src/model/transformer_encoder.py:27
↓ 1 callersFunctionmulti_head_attention
Multi-Head Attention. Note that attn_bias is added to the logit before computing softmax activiation to mask certain selected positions so th
KG/AAAI2021_SSAN/model/SSAN_encoder.py:27
↓ 1 callersFunctionmulti_head_attention
Multi-Head Attention. Note that attn_bias is added to the logit before computing softmax activiation to mask certain selected positions so th
KG/DuIE_Baseline/ernie/model/transformer_encoder.py:26
↓ 1 callersFunctionmulti_head_attention
Multi-Head Attention. Note that attn_bias is added to the logit before computing softmax activiation to mask certain selected positions so th
KG/DuEL_Baseline/ernie/model/transformer_encoder.py:25
↓ 1 callersFunctionmulti_head_attention
Multi-Head Attention. Note that attn_bias is added to the logit before computing softmax activiation to mask certain selected positions so th
KG/CoKE/bin/model/transformer_encoder.py:64
↓ 1 callersFunctionmulti_head_attention
Multi-Head Attention. Note that attn_bias is added to the logit before computing softmax activiation to mask certain selected positions so th
KG/DuEE_baseline/bin/model/transformer_encoder.py:26
↓ 1 callersFunctionmulti_head_attention
Multi-Head (Self) Attention Layer. This module calculates multi-head self-attention for a given labeled graph, which takes into account e
KG/ACL2021_GRAN/src/model/graph_encoder.py:63
↓ 1 callersFunctionmulti_head_hierarchical_attention
Multi-Head Hierarchical Attention module, consists of word-level and sentence-level word-level attention is multi-head attention, normalized
NLP/ACL2020-GraphSum/src/models/attention.py:498
↓ 1 callersFunctionmulti_head_hierarchical_attention
Multi-Head Hierarchical Attention module, consists of word-level and sentence-level word-level attention is multi-head attention, normalized
NLP/EMNLP2021-SgSum/src/models/attention.py:500
↓ 1 callersFunctionmulti_head_pooling
Multi-Head pooling. Note that attn_bias is added to the logit before computing softmax activiation to mask certain selected positions so that
NLP/ACL2020-GraphSum/src/models/attention.py:244
↓ 1 callersFunctionmulti_head_pooling
Multi-Head pooling. Note that attn_bias is added to the logit before computing softmax activiation to mask certain selected positions so that
NLP/EMNLP2021-SgSum/src/models/attention.py:245
↓ 1 callersFunctionmulti_head_structure_attention
Multi-Head Graph Attention module, regularized by graph structure Also includes several additional tricks. :param queries: (batch_size,
NLP/ACL2020-GraphSum/src/models/attention.py:351
↓ 1 callersFunctionmulti_head_structure_attention
Multi-Head Graph Attention module, regularized by graph structure Also includes several additional tricks. :param queries: (batch_size,
NLP/EMNLP2021-SgSum/src/models/attention.py:352
↓ 1 callersMethodmulti_run
Desc: 多线程运行区域过滤 Args: self : self grid_size : grid_size Return: None Raise:
ST_DM/GenRegion/src/generate/gen/regionalg.py:672
↓ 1 callersFunctionmulti_softmax_with_loss
(logits, label, ignore_mask=None, num_classes=2)
CV/SemSegPaddle/src/utils/loss.py:82
↓ 1 callersFunctionmultiscaleEPE
(network_output, target_flow, loss_type, weights=None, sparse=False)
CV/PWCNet/src/multiscaleloss.py:56
↓ 1 callersFunctionmultisimilarity_filter
(ori_img_path, tube_data, psnr_threshold_absolute, psnr_threshold_relative)
CV/AICity2020-Anomaly-Detection/box_track/box_level_tracking.py:60
↓ 1 callersFunctionnccl2_prepare
(trainer_id, startup_prog, main_prog)
NLP/DuReader-Robust-BASELINE/src/dist_utils.py:22
↓ 1 callersFunctionnccl2_prepare_paddle
(trainer_id, startup_prog, main_prog)
CV/SemSegPaddle/src/utils/dist_utils.py:67
↓ 1 callersFunctionnccl2_prepare_paddle
(trainer_id, startup_prog, main_prog)
CV/SemSegPaddleDG/src/utils/dist_utils.py:67
↓ 1 callersFunctionndcg_at_k
Score is normalized discounted cumulative gain (ndcg) Relevance is positive real values. Can use binary as the previous methods. Exampl
ST_DM/KDD2021-MSTPAC/code/MST-PAC/utils/model_eval/mrr_ndcg.py:90
↓ 1 callersMethodneighbor_aggregator
neighbor aggregation
ST_DM/KDD2021-HGAMN/src/lbs_model.py:343
↓ 1 callersMethodnet
(self, input, class_dim=1000)
CV/PaddleReid/reid/model/resnet_vd.py:35
↓ 1 callersMethodnet
Create second stage model Args: class_dim: dim of multi-class vector Returns: A list contain 5 tensors / ops:
CV/CLPI-Collaborative-Learning-for-Diabetic-Retinopathy-Grading/clfnet/lesionnet.py:46
↓ 1 callersMethodnet
(self, input, class_dim=1000, lesion_map=None)
CV/CLPI-Collaborative-Learning-for-Diabetic-Retinopathy-Grading/clfnet/inception_v4.py:33
↓ 1 callersMethodnet
(self, input, output_stride=32, num_classes=1000, end_points=N
CV/SemSegPaddle/src/models/backbone/xception.py:88
↓ 1 callersMethodnet
(self, input, class_dim=1000, end_points=None, decode_points=None)
CV/SemSegPaddle/src/models/backbone/mobilenet_v2.py:67
↓ 1 callersMethodnet
(self, input, class_dim=101)
KG/DuKEVU_Baseline/paddle-video-classify-tag/models/tsn/tsn_res_model.py:98
↓ 1 callersMethodnet_pid_color_type
(self,input, is_train=True, class_dim = 751, color_class = 12, type_class = 11, num_features = 512, finetune=F
CV/PaddleReid/reid/model/__init__.py:56
↓ 1 callersMethodnext_goal_data
(self, undersample=False)
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/data_generator/train_generator.py:36
↓ 1 callersMethodngrams
Returns a list of all ngrams from length 1 to n. Args: n: upper limit of ngram length uncased: lower cases text
NLP/ACL2021-PAIR/metric/tokenizers.py:88
↓ 1 callersFunctionnms
nms
CV/landmark/inference/infer_recognition.py:46
↓ 1 callersMethodnorm_mask
(self, input_mask)
KG/AAAI2021_SSAN/dataset.py:241
↓ 1 callersMethodnorm_unit
norm unit
NLP/Text2SQL-BASELINE/text2sql/utils/text_utils.py:160
↓ 1 callersFunctionnormalize
(x, axis=-1)
CV/PaddleReid/reid/loss/triplet_loss.py:6
↓ 1 callersMethodnormalize_image
(self, img)
CV/SemSegPaddle/src/datasets/baseseg.py:153
↓ 1 callersFunctionone_scale
(output, target, sparse, loss_type)
CV/PWCNet/src/multiscaleloss.py:57
↓ 1 callersMethodoptimise
(self, loss)
CV/SemSegPaddle/src/utils/solver.py:149
↓ 1 callersFunctionoptimization
(loss, warmup_steps, num_train_steps, learning_rate,
NLP/UNIMO-2/src/utils/optimization.py:51
↓ 1 callersFunctionoptimization
Optimization function
NLP/ACL2020-GraphSum/src/optimize/optimization.py:53
↓ 1 callersFunctionoptimization
(loss, warmup_steps, num_train_steps, learning_rate,
NLP/ACL2021-PAIR/model/src/optimization.py:55
↓ 1 callersFunctionoptimization
Optimization function
NLP/EMNLP2021-SgSum/src/optimize/optimization.py:53
↓ 1 callersFunctionoptimization
(loss, warmup_steps, num_train_steps, learning_rate,
NLP/DuReader-Robust-BASELINE/src/optimization.py:53
↓ 1 callersFunctionoptimization
(loss, warmup_steps, num_train_steps, learning_rate,
NLP/MRQA2019-BASELINE/src/optimization.py:53
↓ 1 callersFunctionoptimization
(loss, warmup_steps, num_train_steps, learning_rate,
KG/AAAI2021_SSAN/utils/optimization.py:56
↓ 1 callersFunctionoptimization
(loss, warmup_steps, num_train_steps, learning_rate,
KG/DuIE_Baseline/ernie/optimization.py:55
↓ 1 callersFunctionoptimization
optimization
KG/DuEL_Baseline/ernie/optimization.py:57
↓ 1 callersFunctionoptimization
(loss, warmup_steps, num_train_steps, learning_rate,
KG/ACL2021_GRAN/src/optimization.py:54
↓ 1 callersMethodoptimizer
(self)
KG/DuKEVU_Baseline/paddle-video-classify-tag/models/tsn/tsn.py:96
↓ 1 callersFunctionoptimizer_build
(cfg)
CV/PaddleReid/train_pid_color_type_all.py:24
↓ 1 callersFunctionoptimizer_build
(cfg)
CV/PaddleReid/train_multiloss.py:23
↓ 1 callersFunctionoptimizer_func
optimizer_func
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/model/paddle_binary_lstm.py:159
↓ 1 callersFunctionoptimizer_func
optimizer_func
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/model/paddle_astar_goal.py:239
↓ 1 callersFunctionoptimizer_func
optimizer_func
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/model/paddle_astar_kg.py:246
↓ 1 callersFunctionoptimizer_setting
(model)
CV/SemSegPaddleDG/train.py:139
↓ 1 callersMethodoutput_to_dict
Convert the ROUGE output into python dictionary for further processing.
NLP/ACL2020-GraphSum/src/tools/my_pyrouge.py:393
↓ 1 callersMethodoutput_to_dict
Convert the ROUGE output into python dictionary for further processing.
NLP/EMNLP2021-SgSum/src/tools/my_pyrouge.py:393
↓ 1 callersMethodoutput_to_dict
Convert the ROUGE output into python dictionary for further processing.
NLP/EMNLP2021-SgSum/src/eval/tasks/cnndm/cnndm/bs_pyrouge.py:401
↓ 1 callersFunctionpad_batch_data
Pad the instances to the max sequence length in batch, and generate the corresponding position data and input mask.
KG/CoKE/bin/reader/batching.py:43
↓ 1 callersFunctionpad_bath_kn_data
(insts, pad_idx=0, max_len=128)
NLP/ACL2019-DuConv/retrieval_paddle/source/inputters/data_provider.py:86
↓ 1 callersFunctionpad_input
(x0)
CV/PWCNet/infer.py:53
↓ 1 callersFunctionpad_one_seq
(x, max_context)
ST_DM/KDD2021-CHAML/preprocess/step3.py:56
↓ 1 callersFunctionpad_to_bath_size
pad to bath size for knowledge corpus
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/generative_model/source/utils/utils.py:67
↓ 1 callersFunctionpad_to_bath_size
pad to bath size for knowledge corpus
NLP/ACL2019-DuConv/generative_paddle/source/utils/utils.py:67
↓ 1 callersFunctionpadding_img
Padding the input image.
CV/robust_vessel_segmentation/vessel_segmentation_demo.py:40
← previousnext →3,801–3,900 of 7,542, ranked by callers