MCPcopy Create free account

hub / github.com/PaddlePaddle/PaddleYOLO / functions

Functions2,621 in github.com/PaddlePaddle/PaddleYOLO

↓ 5 callersFunction_no_grad_fill_
(tensor, value=0.)
ppdet/modeling/initializer.py:55
↓ 5 callersFunctionbbox_area
(src_bbox)
ppdet/data/transform/op_helper.py:45
↓ 5 callersFunctionbbox_xyxy_to_cxcywh
(x)
ppdet/modeling/transformers/utils.py:48
↓ 5 callersFunctionbuild_slim_model
(cfg, slim_cfg, mode='train')
ppdet/slim/__init__.py:34
↓ 5 callersFunctioncheck_config
Check the correctness of the configuration file. Log error and exit when Config is not compliant.
ppdet/utils/check.py:157
↓ 5 callersFunctioncheck_gpu
Log error and exit when set use_gpu=true in paddlepaddle cpu version.
ppdet/utils/check.py:94
↓ 5 callersFunctioncheck_points_inside_bboxes
r""" Args: points (Tensor, float32): shape[L, 2], "xy" format, L: num_anchors bboxes (Tensor, float32): shape[B, n, 4], "xmin, ymi
ppdet/modeling/assigners/utils.py:108
↓ 5 callersFunctioncheck_version
Log error and exit when the installed version of paddlepaddle is not satisfied.
ppdet/utils/check.py:130
↓ 5 callersFunctionfilter_and_process
(sample_bbox, bboxes, labels, scores=None, keypoints=None)
ppdet/data/transform/op_helper.py:64
↓ 5 callersFunctionget_categories
Get class id to category id map and category id to category name map from annotation file. Args: metric_type (str): metric type,
ppdet/data/source/category.py:28
↓ 5 callersFunctionjaccard_overlap
(sample_bbox, object_bbox)
ppdet/data/transform/op_helper.py:254
↓ 5 callersMethodload_weights
(self, weights)
ppdet/engine/trainer.py:402
↓ 5 callersFunctionpreprocess
(im, preprocess_ops)
deploy/python/preprocess.py:280
↓ 5 callersFunctionto_2tuple
(x)
ppdet/modeling/backbones/transformer_utils.py:64
↓ 5 callersFunctionunwrap
Unwraps an image produced by wrap. Where there is a 0 in the last channel for every spatial position, the rest of the three channels in that
ppdet/data/transform/autoaugment_utils.py:1145
↓ 5 callersFunctionwrap
Returns 'image' with an extra channel set to all 1s.
ppdet/data/transform/autoaugment_utils.py:1137
↓ 4 callersMethodExpSmoothing
deploy/cpp/src/keypoint_postprocess.cc:313
↓ 4 callersMethodInit
deploy/cpp/include/preprocess_op.h:168
↓ 4 callersMethodPredict
deploy/lite/src/object_detector.cc:159
↓ 4 callersMethodResize
deploy/serving/cpp/preprocess/mask_rcnn_r50_fpn_1x_coco.cpp:186
↓ 4 callersFunctionVisualizeResult
Visualiztion MaskDetector results
deploy/cpp/src/object_detector.cc:93
↓ 4 callersMethod__init__
(self, ch_in, ch_out, k, pool_size,
ppdet/modeling/necks/custom_pan.py:34
↓ 4 callersMethod__init__
(self, channel, lr_mult, conv_decay, reduction=4, name="")
ppdet/modeling/backbones/mobilenet_v3.py:185
↓ 4 callersMethod__init__
Blocks layer, which consist of some BaickBlock layers Args: ch_in (int): input channel ch_out (int): output
ppdet/modeling/backbones/darknet.py:186
↓ 4 callersMethod__init__
(self, in_channels, out_channels, num_blocks=1,
ppdet/modeling/backbones/yolo11_csp_darknet.py:28
↓ 4 callersMethod__init__
( self, arch='focalnet_T_224_1k_srf', out_indices=(0, 1, 2, 3),
ppdet/modeling/backbones/focalnet.py:571
↓ 4 callersMethod__init__
(self, num_queries=100, position_embed_type='sine', return_
ppdet/modeling/transformers/detr_transformer.py:234
↓ 4 callersMethod__init__
(self, num_classes=80, hidden_dim=256, num_queries=900,
ppdet/modeling/transformers/group_detr_transformer.py:342
↓ 4 callersMethod__init__
(self, feat_channels, act='swish', attn_conv='convbn')
ppdet/modeling/heads/ppyoloe_head.py:35
↓ 4 callersMethod__init__
(self, return_gt_mask=True, pad_img=False, minimum_gtnum=0)
ppdet/data/transform/batch_operators.py:285
↓ 4 callersMethod__init__
(self, model)
ppdet/engine/callbacks.py:42
↓ 4 callersMethod__init__
(self, cfg, slim_cfg)
ppdet/slim/distill_model.py:45
↓ 4 callersFunction_convert_attention_mask
Convert the attention mask to the target dtype we expect. Parameters: attn_mask (Tensor, optional): A tensor used in multi-head atten
ppdet/modeling/layers.py:470
↓ 4 callersFunction_no_grad_normal_
(tensor, mean=0., std=1.)
ppdet/modeling/initializer.py:49
↓ 4 callersFunction_translate_level_to_arg
(level, translate_const)
ppdet/data/transform/autoaugment_utils.py:1381
↓ 4 callersFunctionadd_parameter
(layer, datas, name=None)
ppdet/modeling/backbones/transformer_utils.py:70
↓ 4 callersFunctionbatch_bbox_overlaps
Calculate overlap between two set of bboxes. If ``is_aligned `` is ``False``, then calculate the overlaps between each bbox of bboxes1 and bbo
ppdet/modeling/bbox_utils.py:242
↓ 4 callersFunctionbatch_iou_similarity
Calculate iou of box1 and box2 in batch Args: box1 (Tensor): box with the shape [N, M1, 4] box2 (Tensor): box with the shape [N,
ppdet/modeling/bbox_utils.py:376
↓ 4 callersFunctionbbox_transform
(pbox, anchor, downsample)
ppdet/modeling/losses/yolo_loss.py:31
↓ 4 callersFunctionbox_area
(box)
ppdet/modeling/losses/yolov7_loss.py:690
↓ 4 callersMethodbuild_block
(num_repeat, in_channels, mid_channels, out_channels)
ppdet/modeling/backbones/yolov6_efficientrep.py:1134
↓ 4 callersMethodcache_path
(dir_oot, im_file)
ppdet/data/transform/operators.py:623
↓ 4 callersMethodcheck_or_download_dataset
(self)
ppdet/data/source/dataset.py:104
↓ 4 callersFunctioncocoapi_eval
Args: jsonfile (str): Evaluation json file, eg: bbox.json, mask.json. style (str): COCOeval style, can be `bbox` , `segm` , `prop
ppdet/metrics/coco_utils.py:70
↓ 4 callersFunctioncompute_max_iou_anchor
r""" For each anchor, find the GT with the largest IOU. Args: ious (Tensor, float32): shape[B, n, L], n: num_gts, L: num_anchors R
ppdet/modeling/assigners/utils.py:153
↓ 4 callersFunctionconv_init_
(module)
ppdet/modeling/initializer.py:280
↓ 4 callersMethoddetect
deploy/third_engine/demo_openvino/picodet_openvino.cpp:91
↓ 4 callersMethodforward
r""" Args: boxes (Tensor): [l, b, query, 4] logits (Tensor): [l, b, query, num_classes] gt_bbox (List(Tens
ppdet/modeling/losses/detr_loss.py:319
↓ 4 callersFunctionget_block
(mode)
ppdet/modeling/backbones/yolov6_efficientrep.py:731
↓ 4 callersFunctionget_contrastive_denoising_training_group
(targets, num_classes,
ppdet/modeling/transformers/utils.py:218
↓ 4 callersMethodget_loss_keys
(self)
ppdet/modeling/architectures/ppyoloe.py:146
↓ 4 callersFunctionget_valid_ratio
(mask)
ppdet/modeling/transformers/utils.py:117
↓ 4 callersMethodhas_default
(self, key)
ppdet/core/config/schema.py:93
↓ 4 callersMethodload_config
deploy/cpp/include/config_parser.h:39
↓ 4 callersMethodload_meanstd
(self, cfg_transform)
ppdet/modeling/architectures/meta_arch.py:25
↓ 4 callersFunctionmain
main func
deploy/auto_compression/paddle_inference_eval.py:448
↓ 4 callersFunctionmasked_fill
(x, mask, value)
ppdet/modeling/transformers/petr_transformer.py:42
↓ 4 callersFunctionnms
Apply NMS to avoid detecting too many overlapping bounding boxes. Args: dets: shape [N, 5], [score, x1, y1, x2, y2] m
deploy/python/utils.py:305
↓ 4 callersMethodon_train_begin
(self, status)
ppdet/engine/callbacks.py:57
↓ 4 callersMethodon_train_end
(self, status)
ppdet/engine/callbacks.py:60
↓ 4 callersMethodparse_dataset
(self, )
ppdet/data/source/voc.py:83
↓ 4 callersMethodreset
(self)
ppdet/metrics/metrics.py:42
↓ 4 callersFunctionsave_model
save model into disk. Args: model (dict): the model state_dict to save parameters. optimizer (paddle.optimizer.Optimizer): t
ppdet/utils/checkpoint.py:239
↓ 4 callersMethodsave_quantized_model
(self, layer, path, input_spec=None, **config)
ppdet/slim/quant.py:54
↓ 4 callersFunctionuniform_
Modified tensor inspace using uniform_ Args: tensor (paddle.Tensor): paddle Tensor a (float|int): min value. b (float
ppdet/modeling/initializer.py:61
↓ 4 callersFunctionxywh2xyxy
[x, y, w, h] to [x1, y1, x2, y2], paddle Tensor op
ppdet/modeling/losses/yolov7_loss.py:673
↓ 4 callersMethodxywhn2xyxy
(self, x, w=640, h=640, padw=0, padh=0)
ppdet/data/transform/operators.py:198
↓ 3 callersMethodInit
deploy/lite/include/preprocess_op.h:90
↓ 3 callersFunctionPathExists
deploy/lite/src/main.cc:105
↓ 3 callersFunctionPathExists
deploy/cpp/src/main.cc:121
↓ 3 callersFunctionPathExists
deploy/cpp/src/main_keypoint.cc:146
↓ 3 callersFunctionPathExists
deploy/cpp/src/main_jde.cc:119
↓ 3 callersMethod__init__
(self, norm_type='bn', norm_decay=0., conv_decay=0.,
ppdet/modeling/backbones/mobilenet_v1.py:175
↓ 3 callersMethod__init__
(self, arch='P5', depth_mult=1.0, width_mult=1.0,
ppdet/modeling/backbones/cspnext.py:151
↓ 3 callersMethod__init__
(self, steps=1000, epochs=None, power=2)
ppdet/optimizer/optimizer.py:232
↓ 3 callersMethod_bbox_decode
(self, anchor_points, pred_dist)
ppdet/modeling/heads/yolov6_head.py:263
↓ 3 callersMethod_bbox_loss
(self, pred_dist, pred_bboxes, anchor_points, assigned_labels, assigned_bboxes, assigned_sc
ppdet/modeling/heads/yolov6_head.py:289
↓ 3 callersFunction_calculate_fan_in_and_fan_out
Calculate (fan_in, _fan_out) for tensor Args: tensor (Tensor): paddle.Tensor reverse (bool: False): tensor data format order
ppdet/modeling/initializer.py:127
↓ 3 callersFunction_check_bbox_area
Adjusts bbox coordinates to make sure the area is > 0. Args: min_y: Normalized bbox coordinate of type float between 0 and 1. min
ppdet/data/transform/autoaugment_utils.py:452
↓ 3 callersFunction_clip_bbox
Clip bounding box coordinates between 0 and 1. Args: min_y: Normalized bbox coordinate of type float between 0 and 1. min_x: Norm
ppdet/data/transform/autoaugment_utils.py:433
↓ 3 callersFunction_decompress
Decompress for zip and tar file
ppdet/utils/download.py:467
↓ 3 callersFunction_download
Download from url, save to path. url (str): download url path (str): download to given path
ppdet/utils/download.py:341
↓ 3 callersFunction_equal
(val1, val2, eps=1e-8)
ppdet/data/transform/autoaugment_utils.py:151
↓ 3 callersMethod_eval_with_loader
(self, loader, mode="teacher")
ppdet/engine/trainer_ssod.py:790
↓ 3 callersMethod_fuse_bn_tensor
(self, branch)
ppdet/modeling/backbones/yolov7_elannet.py:304
↓ 3 callersMethod_fuse_bn_tensor
(self, branch)
ppdet/modeling/backbones/yolov6_efficientrep.py:213
↓ 3 callersMethod_get_num_gts
(self, targets, dtype="float32")
ppdet/modeling/losses/detr_loss.py:269
↓ 3 callersMethod_get_pred_class_and_mask
(self, query_embed, mask_feat)
ppdet/modeling/transformers/mask_dino_transformer.py:528
↓ 3 callersFunction_get_voc_dir
(devkit_dir, year, type)
ppdet/utils/voc_utils.py:52
↓ 3 callersMethod_init_callbacks
(self)
ppdet/engine/trainer.py:307
↓ 3 callersMethod_load_images
(self)
ppdet/data/source/dataset.py:195
↓ 3 callersFunction_parse_size_in_M
(size_str)
ppdet/data/shm_utils.py:36
↓ 3 callersFunction_randomly_negate_tensor
With 50% prob turn the tensor negative.
ppdet/data/transform/autoaugment_utils.py:1348
↓ 3 callersMethod_sample_empty
(self, records, num)
ppdet/data/source/coco.py:78
↓ 3 callersMethod_update_out_channels
(self, channel, feature_idx, feature_maps)
ppdet/modeling/backbones/mobilenet_v3.py:450
↓ 3 callersMethod_varifocal_loss
(pred_score, gt_score, label, alpha=0.75, gamma=2.0)
ppdet/modeling/heads/yolov6_head.py:257
↓ 3 callersFunctionarea_of
Compute the areas of rectangles given two corners. Args: left_top (N, 2): left top corner. right_bottom (N, 2): right bottom corne
deploy/third_engine/demo_openvino/python/openvino_benchmark.py:114
↓ 3 callersFunctionarea_of
Compute the areas of rectangles given two corners. Args: left_top (N, 2): left top corner. right_bottom (N, 2): right bottom corne
deploy/third_engine/demo_openvino/python/openvino_infer.py:126
↓ 3 callersFunctionarea_of
Compute the areas of rectangles given two corners. Args: left_top (N, 2): left top corner. right_bottom (N, 2): right bottom corne
deploy/auto_compression/post_process.py:69
↓ 3 callersFunctionbbox_area
Calculate area of a bounding box
ppdet/metrics/map_utils.py:61
← previousnext →101–200 of 2,621, ranked by callers