MCPcopy Create free account

hub / github.com/PaddlePaddle/PaddleYOLO / functions

Functions2,621 in github.com/PaddlePaddle/PaddleYOLO

↓ 2 callersMethod_forward
(self)
ppdet/modeling/architectures/ppyoloe.py:212
↓ 2 callersMethod_forward
(self)
ppdet/modeling/architectures/yolov10.py:72
↓ 2 callersMethod_forward
(self)
ppdet/modeling/architectures/yolox.py:87
↓ 2 callersMethod_forward
(self)
ppdet/modeling/architectures/yolov7.py:72
↓ 2 callersMethod_forward
(self)
ppdet/modeling/architectures/yolov8.py:75
↓ 2 callersMethod_forward
(self)
ppdet/modeling/architectures/detr.py:77
↓ 2 callersMethod_forward
(self)
ppdet/modeling/architectures/yolov6.py:75
↓ 2 callersMethod_freeze_parameters
(self, m)
ppdet/modeling/backbones/hgnet_v2.py:417
↓ 2 callersMethod_freeze_parameters
(self, m)
ppdet/modeling/backbones/resnet.py:566
↓ 2 callersMethod_fuse_bn_tensor
(branch)
ppdet/modeling/backbones/yolov10_csp_darknet.py:122
↓ 2 callersMethod_fuse_bn_tensor
(self, branch)
ppdet/modeling/backbones/cspresnet.py:129
↓ 2 callersMethod_generate_anchor_point
(self, feat_sizes, strides, offset=0.)
ppdet/modeling/heads/yolo_head.py:247
↓ 2 callersMethod_generate_anchors
(self, spatial_shapes=None, grid_size=0.05,
ppdet/modeling/transformers/rtdetr_transformer.py:480
↓ 2 callersMethod_generate_anchors
(self, fpn_strides, feats=None, dtype='float32')
ppdet/modeling/heads/rtmdet_head.py:542
↓ 2 callersMethod_generate_anchors
(self, feats=None, dtype='float32')
ppdet/modeling/heads/ppyoloe_ins_head.py:206
↓ 2 callersMethod_generate_anchors
(self, feats=None, dtype='float32')
ppdet/modeling/heads/yolov6_head.py:1661
↓ 2 callersMethod_generate_anchors
(self, feats=None, dtype='float32')
ppdet/modeling/heads/ppyoloe_head.py:203
↓ 2 callersFunction_get_3rd_point
To calculate the affine matrix, three pairs of points are required. This function is used to get the 3rd point, given 2D points a & b. The 3rd
deploy/third_engine/demo_onnx_trt/preprocess.py:276
↓ 2 callersFunction_get_3rd_point
To calculate the affine matrix, three pairs of points are required. This function is used to get the 3rd point, given 2D points a & b. The 3r
deploy/third_engine/onnx/preprocess.py:278
↓ 2 callersFunction_get_3rd_point
To calculate the affine matrix, three pairs of points are required. This function is used to get the 3rd point, given 2D points a & b. The 3r
deploy/serving/python/preprocess_ops.py:274
↓ 2 callersMethod_get_fps
(self, mode, base_batch_size, gpu_num, avg_of_records, unit=None)
scripts/analysis.py:128
↓ 2 callersMethod_get_infer_cfg_and_input_spec
(self, save_dir, prune_input=True,
ppdet/engine/trainer.py:1081
↓ 2 callersMethod_get_loss_bbox
(self, boxes, gt_bbox, match_indices, num_gts, postfix="")
ppdet/modeling/losses/detr_loss.py:118
↓ 2 callersMethod_get_loss_class
(self, logits, gt_class, match_indices
ppdet/modeling/losses/detr_loss.py:77
↓ 2 callersMethod_get_loss_mask
(self, masks, gt_mask, match_indices, num_gts, postfix="")
ppdet/modeling/losses/detr_loss.py:140
↓ 2 callersMethod_get_place
(self, force_to_use_cpu=False)
ppdet/modeling/tests/test_base.py:33
↓ 2 callersMethod_get_save_image_name
Get save image name from source image path.
ppdet/engine/trainer.py:1073
↓ 2 callersFunction_get_shared_memory_size_in_M
()
ppdet/data/shm_utils.py:47
↓ 2 callersMethod_gtcropiou_matrix
(self, a, b)
ppdet/data/transform/operators.py:2186
↓ 2 callersMethod_initialize_biases
(self)
ppdet/modeling/heads/yolov8_head.py:133
↓ 2 callersMethod_iou_matrix
(self, a, b)
ppdet/data/transform/operators.py:2176
↓ 2 callersFunction_is_valid_file
(f, extensions=('.jpg', '.jpeg', '.png', '.bmp'))
ppdet/data/source/dataset.py:130
↓ 2 callersMethod_make_layers
(self, in_dims, out_dims, kernel_size,
ppdet/modeling/heads/detr_head.py:148
↓ 2 callersFunction_md5check
(fullname, md5sum=None)
ppdet/utils/download.py:449
↓ 2 callersMethod_pad_1x1_to_3x3_tensor
(self, kernel1x1)
ppdet/modeling/backbones/cspresnet.py:123
↓ 2 callersFunction_prune_input_spec
(input_spec, program, targets)
ppdet/engine/export_utils.py:80
↓ 2 callersMethod_reset_parameters
(self)
ppdet/modeling/transformers/petr_transformer.py:195
↓ 2 callersMethod_resize_poly
(self, poly, im_scale_x, im_scale_y, dw, dh)
ppdet/data/transform/operators.py:406
↓ 2 callersFunction_strip_postfix
(path)
ppdet/utils/checkpoint.py:58
↓ 2 callersMethod_update_teacher_model
(self, keep_rate=0.996)
ppdet/engine/trainer_ssod.py:829
↓ 2 callersFunctionalign_weak_strong_shape
(data_weak, data_strong)
ppdet/modeling/ssod/utils.py:19
↓ 2 callersFunctionannotations_polygon
(height, width, points, label, image_num, object_num, label_to_num)
tools/x2coco.py:95
↓ 2 callersMethodapply
Process a sample. Args: sample (dict): a dict of sample, eg: {'image':xx, 'label': xxx} context (dict): info about th
ppdet/data/transform/operators.py:83
↓ 2 callersMethodapply_bbox
(self, bbox, offsets)
ppdet/data/transform/operators.py:2749
↓ 2 callersMethodapply_contrast
(self, img)
ppdet/data/transform/operators.py:956
↓ 2 callersMethodapply_image
(self, image, scale)
ppdet/data/transform/operators.py:1267
↓ 2 callersMethodapply_image
(self, image, offsets, im_size, size)
ppdet/data/transform/operators.py:2756
↓ 2 callersMethodapply_joints
(self, joints, scale, size)
ppdet/data/transform/operators.py:1291
↓ 2 callersMethodapply_segm
(self, segms, offsets, im_size, size)
ppdet/data/transform/operators.py:2715
↓ 2 callersFunctionbatch_p_dist
calculate pairwise p_dist, the first index of x and y are batch return [x.shape[0], y.shape[0]]
ppdet/modeling/assigners/uniform_assigner.py:26
↓ 2 callersFunctionbbox_area
(boxes)
ppdet/modeling/bbox_utils.py:206
↓ 2 callersFunctionbbox_area_sampling
(bboxes, labels, scores, target_size, min_size)
ppdet/data/transform/op_helper.py:111
↓ 2 callersFunctionbbox_center
Get bbox centers from boxes. Args: boxes (Tensor): boxes with shape (..., 4), "xmin, ymin, xmax, ymax" format. Returns: Tensor
ppdet/modeling/bbox_utils.py:563
↓ 2 callersMethodbuild_2d_sincos_position_embedding
( self, w, h, embed_dim=1024, temperature=10000.,
ppdet/modeling/necks/custom_pan.py:323
↓ 2 callersMethodbuild_2d_sincos_position_embedding
(w, h, embed_dim=256,
ppdet/modeling/transformers/hybrid_encoder.py:217
↓ 2 callersMethodbuild_targets
(self, p, targets, anchors, batch_images)
ppdet/modeling/losses/yolov7_loss.py:279
↓ 2 callersMethodcalc_shift_coor
(self, im_h, im_w, shift_h, shift_w)
ppdet/data/transform/operators.py:4177
↓ 2 callersFunctioncategories
(label, labels_list)
tools/x2coco.py:68
↓ 2 callersFunctioncheck_mlu
Log error and exit when set use_mlu=true in paddlepaddle cpu/gpu/xpu/npu version.
ppdet/utils/check.py:36
↓ 2 callersMethodcheck_model
Raises: ValueError: loaded model not in supported model type
deploy/python/infer.py:597
↓ 2 callersFunctioncheck_npu
Log error and exit when set use_npu=true in paddlepaddle version without paddle-custom-npu installed.
ppdet/utils/check.py:55
↓ 2 callersFunctioncheck_xpu
Log error and exit when set use_xpu=true in paddlepaddle cpu/gpu/npu version.
ppdet/utils/check.py:75
↓ 2 callersMethodconvert_to_deploy
(self)
ppdet/modeling/backbones/cspresnet.py:98
↓ 2 callersFunctioncreate_voc_list
(data_dir, devkit_subdir='VOCdevkit')
ppdet/utils/download.py:233
↓ 2 callersMethodcreate_window
(self, window_size, channel)
ppdet/slim/distill_loss.py:875
↓ 2 callersMethodcrop_segms
(self, segms, valid_ids, crop, height, width)
ppdet/data/transform/operators.py:1919
↓ 2 callersFunctiondecode_yolo
decode yolo box Args: box (list): [x, y, w, h], all have the shape [b, na, h, w, 1] anchor (list): anchor with the shape [na, 2]
ppdet/modeling/bbox_utils.py:350
↓ 2 callersFunctiondelta2bbox_v2
Decode deltas to bboxes. Modified from delta2bbox() which just use weight parameters to be divided by deltas. Used in YOLOFHead. Note: ret
ppdet/modeling/bbox_utils.py:112
↓ 2 callersMethoddetect
deploy/third_engine/demo_mnn/picodet_mnn.cpp:47
↓ 2 callersMethoddetect
deploy/third_engine/demo_ncnn/picodet.cpp:81
↓ 2 callersFunctiondifferentiable_all_reduce
Differentiable counterpart of `dist.all_reduce`.
ppdet/engine/trainer.py:74
↓ 2 callersFunctiondifferentiable_all_reduce
Differentiable counterpart of `dist.all_reduce`.
ppdet/engine/naive_syncbn.py:21
↓ 2 callersMethoddistill_softmax
(self, x, tau)
ppdet/slim/distill_loss.py:451
↓ 2 callersFunctiondraw_bboxes
deploy/third_engine/demo_mnn/main.cpp:47
↓ 2 callersFunctiondraw_bboxes
deploy/third_engine/demo_ncnn/main.cpp:49
↓ 2 callersFunctiondraw_pr_curve
(precision, recall, iou=0.5, out_dir='pr_curve',
ppdet/metrics/map_utils.py:37
↓ 2 callersMethodevaluate
(self)
ppdet/engine/trainer.py:684
↓ 2 callersFunctionfast_exp
deploy/third_engine/demo_openvino/picodet_openvino.cpp:18
↓ 2 callersFunctionfast_exp
deploy/third_engine/demo_mnn/picodet_mnn.cpp:227
↓ 2 callersFunctionfast_exp
deploy/third_engine/demo_mnn_kpts/picodet_mnn.cpp:203
↓ 2 callersFunctionfast_exp
deploy/third_engine/demo_openvino_kpts/picodet_openvino.cpp:18
↓ 2 callersFunctionfast_exp
deploy/third_engine/demo_ncnn/picodet.cpp:20
↓ 2 callersMethodfind_extra_keys
(self)
ppdet/core/config/schema.py:121
↓ 2 callersMethodfind_mismatch_keys
(self)
ppdet/core/config/schema.py:124
↓ 2 callersMethodfind_missing_keys
(self)
ppdet/core/config/schema.py:113
↓ 2 callersFunctionfind_parent_layer_and_sub_name
Given the model and the name of a layer, find the parent layer and the sub_name of the layer. For example, if name is 'block_1/convbn_1/c
ppdet/utils/fuse_utils.py:44
↓ 2 callersMethodforward_eval
(self, feats)
ppdet/modeling/heads/ppyoloe_head.py:225
↓ 2 callersMethodforward_train
(self, feats, targets, aux_pred=None)
ppdet/modeling/heads/ppyoloe_head.py:171
↓ 2 callersFunctionfuse_conv_bn
(model)
ppdet/utils/fuse_utils.py:22
↓ 2 callersFunctiongaussian2D
(shape, sigma_x=1, sigma_y=1)
ppdet/data/transform/op_helper.py:457
↓ 2 callersMethodget_2d_sincos_position_embedding
(self, h, w, temperature=10000.)
ppdet/modeling/backbones/vit_mae.py:545
↓ 2 callersFunctionget_3rd_point
deploy/lite/src/keypoint_postprocess.cc:19
↓ 2 callersFunctionget_3rd_point
deploy/cpp/src/keypoint_postprocess.cc:21
↓ 2 callersFunctionget_3rd_point
deploy/third_engine/demo_mnn_kpts/keypoint_postprocess.cpp:19
↓ 2 callersFunctionget_3rd_point
deploy/third_engine/demo_openvino_kpts/keypoint_postprocess.cpp:19
↓ 2 callersFunctionget_affine_transform
Get the affine transform matrix, given the center/scale/rot/output_size. Args: center (np.ndarray[2, ]): Center of the bounding box (x, y)
deploy/third_engine/demo_onnx_trt/preprocess.py:295
↓ 2 callersFunctionget_affine_transform
Get the affine transform matrix, given the center/scale/rot/output_size. Args: center (np.ndarray[2, ]): Center of the bounding box (x, y
deploy/third_engine/onnx/preprocess.py:300
↓ 2 callersFunctionget_color
(idx)
ppdet/utils/visualizer.py:56
↓ 2 callersFunctionget_current_memory_mb
It is used to Obtain the memory usage of the CPU and GPU during the running of the program. And this function Current program is time-consumi
deploy/python/utils.py:269
↓ 2 callersFunctionget_current_memory_mb
It is used to Obtain the memory usage of the CPU and GPU during the running of the program. And this function Current program is time-consumi
deploy/auto_compression/paddle_inference_eval.py:287
← previousnext →301–400 of 2,621, ranked by callers