MCPcopy Create free account

hub / github.com/PaddlePaddle/Research / functions

Functions7,542 in github.com/PaddlePaddle/Research

Functionprocess
process the data to build files for ROUGE evaluation
NLP/EMNLP2021-SgSum/src/tools/cal_rouge.py:11
Methodprocess_children_apply
process_children_apply
NLP/Text2SQL-BASELINE/text2sql/models/sql_decoder/tree_traversal.py:241
Methodprocess_children_inquire
process_children_inquire
NLP/Text2SQL-BASELINE/text2sql/models/sql_decoder/tree_traversal.py:212
Methodprocess_gen_token
process_gen_token
NLP/Text2SQL-BASELINE/text2sql/models/sql_decoder/tree_traversal.py:359
Functionprocess_image
process_image
CV/webvision2018/reader.py:98
Methodprocess_list_length_apply
process_list_length_apply
NLP/Text2SQL-BASELINE/text2sql/models/sql_decoder/tree_traversal.py:321
Methodprocess_list_length_inquire
process_list_length_inquire
NLP/Text2SQL-BASELINE/text2sql/models/sql_decoder/tree_traversal.py:302
Methodprocess_node_finished
process_node_finished
NLP/Text2SQL-BASELINE/text2sql/models/sql_decoder/tree_traversal.py:409
Methodprocess_pointer_apply
process_pointer_apply
NLP/Text2SQL-BASELINE/text2sql/models/sql_decoder/tree_traversal.py:400
Methodprocess_pointer_inquire
process_pointer_inquire
NLP/Text2SQL-BASELINE/text2sql/models/sql_decoder/tree_traversal.py:381
Methodprocess_sent_ori_2_new
process_sent_ori_2_new
KG/DuEE_baseline/bin/reader/task_reader.py:327
Methodprocess_sent_ori_2_new
process_sent_ori_2_new
KG/DuEE_baseline/bin/reader/task_reader.py:592
Methodprocess_sum_apply
process_sum_apply
NLP/Text2SQL-BASELINE/text2sql/models/sql_decoder/tree_traversal.py:197
Methodprocess_sum_inquire
process_sum_inquire
NLP/Text2SQL-BASELINE/text2sql/models/sql_decoder/tree_traversal.py:177
Methodprocess_vl
trans the orgin tokens to the wanted tokens
NLP/UNIMO/src/reader/retrieval_reader.py:413
Functionpserver_prepare
(args, train_prog, startup_prog)
CV/SemSegPaddle/src/utils/dist_utils.py:37
Functionpserver_prepare
(args, train_prog, startup_prog)
CV/SemSegPaddleDG/src/utils/dist_utils.py:37
Functionpsnr
(img1, img2)
CV/AICity2020-Anomaly-Detection/pixel_track/coarse_ddet/utils_func.py:43
Functionpspnet
Reference: Zhao, Hengshuang, et al. "Pyramid scene parsing network.", In CVPR 2017
CV/SemSegPaddle/src/models/modeling/pspnet.py:83
Functionpt_2_reg_dist
Desc: 计算点pt到region的距离 Args: pt : Point object reg : Region object Return: float, distance 0: 点在regi
ST_DM/GenRegion/src/region/geometry.py:1011
Functionpt_2_seg_dist
Desc: 计算点pt到线段seg的距离 Args: pt : Point object seg : Segment object Returns: float, distance Raises: No
ST_DM/GenRegion/src/region/geometry.py:997
Methodput
put data to this buffer Args: data (str): data to be stored in this buffer Returns: None Raises:
CV/PaddleReid/reid/data/shared_queue/sharedmemory.py:112
Functionpy_reader_provider
py_reader_provider
NLP/EMNLP2019-MAL/src/train.py:344
Functionpy_reader_provider
()
NLP/ACL2019-JEMT/train.py:424
Functionpy_reader_provider
()
NLP/ACL2019-JEMT/infer.py:197
Functionpy_reader_provider_wrapper
Data provider needed by fluid.layers.py_reader.
NLP/ACL2019-JEMT/infer.py:192
Functionqa_f1_score
(line)
NLP/ACL2024-NACL/src/eval_utils.py:394
Functionqa_f1_zh_score
(prediction, ground_truth, **kwargs)
NLP/ACL2024-NACL/src/eval_utils.py:414
Functionradius_reduction
叠加Mask,去除中值滤波灰色外缘
CV/CLPI-Collaborative-Learning-for-Diabetic-Retinopathy-Grading/opencv_functional.py:443
Functionrandom_crop
random_crop
CV/webvision2018/reader.py:41
Functionrandom_gamma_correction
Channel-wise random gamma correction in the RGB color space. ---- Args: image: uint8, 3D array in RGB order, the original image.
CV/robust_vessel_segmentation/data_aug.py:155
Functionrandom_vessel_augmentation
Channel-wise random vessel augmentation.
CV/robust_vessel_segmentation/data_aug.py:144
FunctionreadFlow
Read .flo file in Middlebury format
CV/PWCNet/data/utils/flow_utils.py:6
Functionread_by_lines
read the data by line
KG/DuEE_baseline/bin/utils/utils.py:9
Functionread_camera_config
(path)
CV/VehicleCounting/cam-configs/utils/utils.py:49
Functionread_files
(path)
CV/VehicleCounting/cam-configs/utils/utils.py:31
Functionread_flow
https://github.com/sampepose/flownet2-tf/blob/master/src/flowlib.py read optical flow from Middlebury .flo file :param filename: name of
CV/PWCNet/src/flow_vis.py:142
Functionread_gen
(file_name)
CV/PWCNet/data/utils/frame_utils.py:6
Functionread_gz_record
open gz
ST_DM/KDD2021-MSTPAC/code/ST-PAC/utils/common_lib.py:115
Functionread_gz_record
open gz
ST_DM/KDD2021-MSTPAC/code/MST-PAC/utils/common_lib.py:115
Functionreader
()
CV/webvision2018/reader.py:129
Functionreader
()
CV/PWCNet/data/datasets.py:220
Functionreader
()
CV/SemSegPaddleDG/src/datasets/pascal_context.py:218
Methodreader
()
KG/DuKEVU_Baseline/paddle-video-classify-tag/reader/feature_reader.py:55
Methodreader
()
KG/CoKE/bin/reader/coke_reader.py:191
Methodreader_
()
KG/DuKEVU_Baseline/paddle-video-classify-tag/reader/kinetics_reader.py:197
Functionrecall
This function calculates and returns the recall Args: prediction: prediction string or list to be matched ground_truth: golde
NLP/ACL2018-DuReader/utils/preprocess.py:58
Functionrecall
This function calculates and returns the recall Args: prediction: prediction string or list to be matched ground_truth: golde
NLP/ACL2018-DuReader/src/preprocess.py:58
Functionrecall_at_k
recall@k
NLP/UNIMO/src/eval/img_eval.py:24
Functionrecall_at_k_caption
(score_matrix, img2texts, cap_len=100)
NLP/UNIMO-2/src/finetune/img_eval.py:86
Methodrecover_from_ids
Convert a list of ids to tokens, stop converting if the stop_id is encountered Args: ids: a list of ids to convert
NLP/ACL2018-DuReader/src/vocab.py:186
Methodrecv_func
(message)
ST_DM/KDD2021-HGAMN/src/lbs_model.py:374
Methodrecv_func
(message)
ST_DM/KDD2021-HGAMN/src/lbs_model.py:416
Functionregions_to_cluster_points
Desc: 根据region生成point Args: regions : regions Return: list of cluster.Point Raise: None
ST_DM/GenRegion/src/generate/gen/generator.py:400
Methodregister
(cls, name)
NLP/Dialogue-PLATO/plato/models/model_base.py:29
Methodregister_handler
register_handler
NLP/Text2SQL-BASELINE/text2sql/models/sql_decoder/tree_traversal.py:40
Functionregression_loss
(hidden, labels, initializer, name='transformer', return_logits=False)
NLP/MRQA2019-D-NET/server/xlnet_server/modeling.py:660
Functionrelative_position_encoding_init
Generate the initial values for the sinusoid position encoding table.
NLP/EMNLP2019-MAL/src/relative_model.py:58
Methodremove_black_edge
去除脑CT切片图像中的黑边 img: H, W, C
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/datasets/classification/rsna_ihd.py:166
Functionremove_brackets
Remove brackets [] () from text
NLP/Text2SQL-BASELINE/text2sql/utils/text_utils.py:96
Methodremove_from
(*dicts)
NLP/IJCAI2019-MMPMS/mmpms/layers/layers_wrapper.py:64
Methodremove_product_type
(self, product_type_name)
NLP/Text2SQL-BASELINE/text2sql/utils/ast_util.py:164
Functionremove_repeat
(goal_seq, kg_seq)
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/data_generator/data_generator.py:74
Functionreport_rouge
Calculating Rouge
NLP/EMNLP2021-SgSum/src/networks/roberta_multigraphextsum/run_graphsum.py:452
Methodrepr_walk_all_ret
(self, start, path, MAX_T=20)
KG/CoKE/bin/pathquery_data_preprocess.py:126
Methodreset
(self)
CV/PaddleReid/reid/data/reader_mt.py:139
Methodreset
(self)
CV/PaddleReid/reid/data/reader_mt.py:166
Methodreset
reset all setting Args: msg (TYPE): Default is None Returns: TODO Raises: NULL
NLP/Text2SQL-BASELINE/text2sql/utils/utils.py:49
Methodreset
(self)
KG/DuKEVU_Baseline/paddle-video-classify-tag/metrics/metrics_util.py:123
Methodreset
(self)
KG/DuKEVU_Baseline/paddle-video-classify-tag/metrics/metrics_util.py:207
Methodresize_h
(self)
CV/astar2019/reader.py:94
Functionresize_short
resize_short
CV/webvision2018/reader.py:73
Methodresize_w
(self)
CV/astar2019/reader.py:98
Functionresized_crop
Crop the given numpy ndarray and resize it to desired size. Notably used in :class:`~torchvision.transforms.RandomResizedCrop`. Args:
CV/CLPI-Collaborative-Learning-for-Diabetic-Retinopathy-Grading/opencv_functional.py:163
Functionresized_crop
Crop the given numpy ndarray and resize it to desired size. Notably used in :class:`~torchvision.transforms.RandomResizedCrop`. Args:
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/transforms/functional.py:80
Functionresnet101
ResNet 101-layer model Args: pretrained (bool): If True, returns a model pre-trained on ImageNet Examples: .. code-block
CV/SMILE/backbones/resnet.py:339
Functionresnet152
ResNet 152-layer model Args: pretrained (bool): If True, returns a model pre-trained on ImageNet Examples: .. code-block
CV/SMILE/backbones/resnet.py:359
Functionresnet18
ResNet 18-layer model Args: pretrained (bool): If True, returns a model pre-trained on ImageNet Examples: .. code-block:
CV/SMILE/backbones/resnet.py:279
Functionresnet34
ResNet 34-layer model Args: pretrained (bool): If True, returns a model pre-trained on ImageNet Examples: .. code-bl
CV/SMILE/backbones/resnet.py:299
Functionresnet50
ResNet 50-layer model Args: pretrained (bool): If True, returns a model pre-trained on ImageNet Examples: .. code-block:
CV/SMILE/backbones/resnet.py:319
Methodrestart
(self)
CV/SemSegPaddleDG/src/utils/timer.py:27
Methodroot_type
(self)
NLP/Text2SQL-BASELINE/text2sql/utils/ast_util.py:147
Functionrotate
Rotate the image by angle. Args: img (numpy ndarray): numpy ndarray to be rotated. angle (float or int): In degrees degrees counte
CV/CLPI-Collaborative-Learning-for-Diabetic-Retinopathy-Grading/opencv_functional.py:333
Functionrotate
Rotate the image by angle. Args: img (numpy ndarray): numpy ndarray to be rotated. angle (float or int): In degrees degrees counte
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/transforms/functional.py:140
Functionrotate_image
rotate_image
CV/webvision2018/reader.py:32
Methodrotate_with_fill
(img, magnitude)
CV/PaddleReid/reid/data/transform/operators.py:440
Functionrouge_zh_score
(prediction, ground_truth, **kwargs)
NLP/ACL2024-NACL/src/eval_utils.py:376
Methodrule_choice
rule_choice
NLP/Text2SQL-BASELINE/text2sql/models/sql_decoder/train_tree_traversal.py:91
Methodrule_choice
rule_choice
NLP/Text2SQL-BASELINE/text2sql/models/sql_decoder/infer_tree_traversal.py:92
Functionrun
(city_name, in_file, out_file)
ST_DM/GenRegion/src/generate/block.py:102
Methodrun
Desc: 将现有的regions向segs进行吸附 Args: self : self segs : segs Return: list of new regions
ST_DM/GenRegion/src/generate/gen/generator.py:567
Methodrun_server
set default run_server
ST_DM/KDD2021-MSTPAC/code/ST-PAC/frame/core/paddlecloud_fleet_trainer.py:82
Methodrun_server
set default run_server
ST_DM/KDD2021-MSTPAC/code/MST-PAC/frame/core/paddlecloud_fleet_trainer.py:69
Functionsafe_cosine_sim
fluid.layers.cos_sim maybe nan avoid nan
ST_DM/KDD2021-MSTPAC/code/MST-PAC/nets/common/losses.py:22
Functionsave
Args: model (TYPE): NULL optimzer (TYPE): NULL save_path (TYPE): NULL Returns: TODO Raises: NULL
NLP/Text2SQL-BASELINE/text2sql/io.py:53
Methodsave
Args: save_dir (TYPE): NULL file_tag (TYPE): NULL Returns: TODO Raises: NULL
NLP/Text2SQL-BASELINE/text2sql/utils/metrics.py:172
Methodsave
save data to disk Args: save_dir (TYPE): NULL Returns: TODO Raises: NULL
NLP/Text2SQL-BASELINE/text2sql/dataproc/dusql_dataset_v2.py:377
Methodsave
save parsed items to disk
NLP/Text2SQL-BASELINE/text2sql/dataproc/sql_preproc_v2.py:334
Methodsave
save
NLP/Text2SQL-BASELINE/text2sql/dataproc/vocab.py:120
Methodsave
(self, filename)
NLP/IJCAI2019-MMPMS/mmpms/utils/args.py:49
← previousnext →7,101–7,200 of 7,542, ranked by callers