MCPcopy Create free account

hub / github.com/PaddlePaddle/PaddleYOLO / functions

Functions2,621 in github.com/PaddlePaddle/PaddleYOLO

↓ 192 callersMethodget
(self, extras=None)
ppdet/utils/stats.py:79
↓ 119 callersMethodinfo
(self, average=False)
deploy/python/utils.py:207
↓ 103 callersFunctionconstant_
Modified tensor inspace using constant_ Args: tensor (paddle.Tensor): paddle Tensor value (float|int): value to fill tensor.
ppdet/modeling/initializer.py:87
↓ 102 callersFunctioncreate
Create an instance of given module class. Args: cls_or_name (type or str): Class of which to create instance. Returns: instance
ppdet/core/workspace.py:210
↓ 101 callersMethodresize
(self, sample, target_size, max_size=None, interp=
ppdet/data/transform/operators.py:3303
↓ 100 callersMethodend
(self, repeats=1, accumulative=True)
deploy/python/utils.py:181
↓ 84 callersMethodmax
(self)
ppdet/utils/stats.py:48
↓ 59 callersMethodlog
(self)
ppdet/metrics/metrics.py:52
↓ 52 callersMethod__init__
Pad image to a specified size or multiple of size_divisor. Args: size (int, Sequence): image target size, if None, pad to
ppdet/data/transform/operators.py:2677
↓ 52 callersMethodupdate
(self, model=None)
ppdet/optimizer/ema.py:99
↓ 48 callersMethodcopy
(self)
ppdet/core/workspace.py:73
↓ 46 callersFunctionxavier_uniform_
Modified tensor inspace using xavier_uniform_ Args: tensor (paddle.Tensor): paddle Tensor gain (float): super parameter, 1. d
ppdet/modeling/initializer.py:158
↓ 42 callersFunctionlinear_init_
(module)
ppdet/modeling/initializer.py:273
↓ 33 callersFunctionsetup_logger
Initialize logger and set its verbosity level to INFO. Args: output (str): a file name or a directory to save log. If None, will not
ppdet/utils/logger.py:26
↓ 30 callersMethodupdate
(self, inputs, outputs)
ppdet/metrics/metrics.py:215
↓ 26 callersMethod__init__
(self, in_channels, out_channels, kernel_size=5, act='silu')
ppdet/modeling/backbones/yolov6_efficientrep.py:423
↓ 25 callersMethoddecode
(self, anchors, cls_scores, bbox_preds, im_shape, scale_factor)
ppdet/modeling/heads/yolof_head.py:340
↓ 24 callersMethodload
(path)
ppdet/data/transform/operators.py:627
↓ 21 callersFunctionbatch_distance2bbox
Decode distance prediction to bounding box for batch. Args: points (Tensor): [B, ..., 2], "xy" format distance (Tensor): [B, ...,
ppdet/modeling/bbox_utils.py:575
↓ 21 callersMethodparameters
(self)
ppdet/slim/distill_model.py:90
↓ 21 callersMethodpost_process
(self, head_outs, img_shape, scale_factor)
ppdet/modeling/heads/yolo_head.py:409
↓ 18 callersMethodnms
deploy/third_engine/demo_ncnn/picodet.cpp:210
↓ 16 callersMethoddump
(obj, path)
ppdet/data/transform/operators.py:633
↓ 16 callersFunctionload_config
Load config from file. Args: file_path (str): Path of the config file to be loaded. Returns: global config
ppdet/core/workspace.py:110
↓ 15 callersFunctionbbox_iou
calculate the iou of box1 and box2 Args: box1 (list): [x, y, w, h], all have the shape [b, na, h, w, 1] box2 (list): [x, y, w, h]
ppdet/modeling/bbox_utils.py:399
↓ 15 callersFunctionbias_init_with_prob
initialize conv/fc bias value according to a given probability value.
ppdet/modeling/initializer.py:287
↓ 15 callersFunctioneval
()
deploy/auto_compression/eval.py:74
↓ 15 callersMethodparse_args
(self, argv=None)
deploy/serving/python/web_service.py:58
↓ 14 callersFunction_get_clones
(module, N)
ppdet/modeling/transformers/utils.py:39
↓ 14 callersFunctioninverse_sigmoid
(x, eps=1e-5)
ppdet/modeling/transformers/utils.py:66
↓ 14 callersFunctionnormal_
Modified tensor inspace using normal_ Args: tensor (paddle.Tensor): paddle Tensor mean (float|int): mean value. std (
ppdet/modeling/initializer.py:74
↓ 13 callersMethodapply
(self)
ppdet/optimizer/ema.py:122
↓ 12 callersFunctioncustom_ceil
(x)
ppdet/modeling/bbox_utils.py:623
↓ 12 callersFunctionmerge_config
Merge config into global config or another_cfg. Args: config (dict): Config to be merged. Returns: global config
ppdet/core/workspace.py:151
↓ 12 callersMethodparse_args
(self, argv=None)
ppdet/utils/cli.py:54
↓ 12 callersMethodstart
(self)
deploy/python/utils.py:178
↓ 12 callersMethodstatic_graph
(self)
ppdet/modeling/tests/test_base.py:41
↓ 12 callersMethodupdate
deploy/cpp/src/tracker.cc:55
↓ 11 callersMethodRun
deploy/cpp/src/preprocess_op.cc:23
↓ 11 callersMethod_reset_metrics
(self)
ppdet/engine/trainer.py:383
↓ 11 callersMethodaccumulate
(self)
ppdet/metrics/metrics.py:45
↓ 11 callersFunctiongenerate_anchors_for_grid_cell
r""" Like ATSS, generate anchors based on grid size. Args: feats (List[Tensor]): shape[s, (b, c, h, w)] fpn_strides (tuple|lis
ppdet/modeling/assigners/utils.py:181
↓ 11 callersMethodget_anno
(self)
ppdet/data/source/dataset.py:124
↓ 11 callersFunctionload_pretrain_weight
(model, pretrain_weight)
ppdet/utils/checkpoint.py:211
↓ 11 callersFunctionmake_divisible
(v, divisor=8, min_value=None)
ppdet/modeling/backbones/mobilenet_v3.py:31
↓ 11 callersMethodrun
(self)
ppdet/engine/callbacks.py:339
↓ 10 callersMethodPredict
deploy/cpp/src/jde_detector.cc:235
↓ 10 callersMethod__init__
SPP layer, which consist of four pooling layer follwed by conv layer Args: ch_in (int): input channel of conv layer
ppdet/modeling/necks/yolo_fpn.py:123
↓ 10 callersMethod__init__
(self, kernel_size=2, stride=2)
ppdet/modeling/backbones/yolov7_elannet.py:142
↓ 10 callersMethod_update_out_channels
(self, channel, feature_idx, feature_maps)
ppdet/modeling/backbones/mobilenet_v1.py:385
↓ 10 callersFunctionbbox_cxcywh_to_xyxy
(x)
ppdet/modeling/transformers/utils.py:43
↓ 10 callersFunctionfeature_norm
(feat)
ppdet/slim/distill_loss.py:54
↓ 10 callersMethodon_step_end
(self, status)
ppdet/engine/callbacks.py:48
↓ 9 callersFunction_apply_multi_bbox_augmentation_wrapper
Checks to be sure num bboxes > 0 before calling inner function.
ppdet/data/transform/autoaugment_utils.py:698
↓ 9 callersMethod_init_metrics
(self, validate=False)
ppdet/engine/trainer.py:325
↓ 9 callersFunction_scale_bbox_only_op_probability
Reduce the probability of the bbox-only operation. Probability is reduced so that we do not distort the content of too many bounding boxes th
ppdet/data/transform/autoaugment_utils.py:486
↓ 9 callersMethodbackward
(ctx, grad_output)
ppdet/engine/trainer.py:69
↓ 9 callersFunctioncheck_type
(*args)
ppdet/core/config/schema.py:35
↓ 9 callersMethodpredict
Args: repeats (int): repeats number for prediction Returns: result (dict): include 'boxes': np.ndarray: shape
deploy/python/infer.py:177
↓ 8 callersMethod__init__
(self)
ppdet/modeling/backbones/csp_darknet.py:47
↓ 8 callersMethod__init__
(self, encoder="", decoder="", hm_encoder="",
ppdet/modeling/transformers/petr_transformer.py:775
↓ 8 callersMethod__init__
(self, transforms, num_classes=80)
ppdet/data/reader.py:44
↓ 8 callersMethod__init__
(self, window_size=11, size_average=True)
ppdet/slim/distill_loss.py:861
↓ 8 callersFunctionget_act_fn
(act=None, trt=False)
ppdet/modeling/ops.py:61
↓ 8 callersMethodon_epoch_begin
(self, status)
ppdet/engine/callbacks.py:51
↓ 8 callersMethodon_epoch_end
(self, status)
ppdet/engine/callbacks.py:54
↓ 8 callersMethodon_step_begin
(self, status)
ppdet/engine/callbacks.py:45
↓ 8 callersMethodvalue
(self)
deploy/python/utils.py:193
↓ 7 callersFunction_no_grad_uniform_
(tensor, a, b)
ppdet/modeling/initializer.py:41
↓ 7 callersFunctionget_static_shape
(tensor)
ppdet/modeling/ops.py:456
↓ 7 callersFunctionis_poly
(segm)
ppdet/data/transform/op_helper.py:410
↓ 7 callersFunctionload_weight
(model, weight, optimizer=None, ema=None, exchange=True)
ppdet/utils/checkpoint.py:65
↓ 7 callersFunctionpostprocess
(fetch_dict, fetch_vars, draw_threshold=0.5)
deploy/serving/cpp/serving_client.py:65
↓ 7 callersMethodset_epoch
(self, epoch_id)
ppdet/data/source/dataset.py:117
↓ 7 callersFunctionzeros_
Modified tensor inspace using zeros_ Args: tensor (paddle.Tensor): paddle Tensor Return: tensor
ppdet/modeling/initializer.py:110
↓ 6 callersFunctionGenerateColorMap
deploy/cpp/src/object_detector.cc:576
↓ 6 callersMethodRun
deploy/lite/src/preprocess_op.cc:23
↓ 6 callersMethod__init__
(self, dim=0)
ppdet/modeling/layers.py:459
↓ 6 callersMethod__init__
(self, in_channels, mid_channels, out_channels,
ppdet/modeling/backbones/hgnet_v2.py:195
↓ 6 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None
ppdet/modeling/backbones/swin_transformer.py:85
↓ 6 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None
ppdet/modeling/backbones/vit_mae.py:34
↓ 6 callersMethod__init__
(self, in_channels, out_channels, add_shortcut=True,
ppdet/modeling/backbones/yolov10_csp_darknet.py:139
↓ 6 callersMethod__init__
(self, block, ch_in, ch_out, count,
ppdet/modeling/backbones/resnet.py:379
↓ 6 callersMethod__init__
(self, input_dim, hidden_dim, output_dim, num_layers)
ppdet/modeling/heads/detr_head.py:35
↓ 6 callersMethod_flops
(self, loader)
ppdet/engine/trainer.py:1236
↓ 6 callersMethod_generate_anchors
(self, feats=None, dtype='float32')
ppdet/modeling/heads/yolov6_head.py:234
↓ 6 callersFunctionclip_x
(val)
ppdet/data/transform/autoaugment_utils.py:347
↓ 6 callersFunctionclip_y
(val)
ppdet/data/transform/autoaugment_utils.py:344
↓ 6 callersMethoddynamic_graph
(self, force_to_use_cpu=False)
ppdet/modeling/tests/test_base.py:64
↓ 6 callersMethodget_results
(self)
ppdet/metrics/metrics.py:56
↓ 6 callersMethodget_static_graph_result
(self, feed, fetch_list,
ppdet/modeling/tests/test_base.py:51
↓ 6 callersMethodpostprocess
(self, inputs, result)
deploy/python/infer.py:149
↓ 6 callersMethodpreprocess
(self, image_list)
deploy/python/infer.py:125
↓ 6 callersFunctionscale_channel
Scale the 2D image using the autocontrast rule.
ppdet/data/transform/autoaugment_utils.py:1054
↓ 5 callersMethod__init__
(self, depth_mult=1.0, width_mult=1.0, in_channels=[256, 51
ppdet/modeling/necks/yolov6_pafpn.py:57
↓ 5 callersMethod__init__
(self, layers=[3, 6, 6, 3], channels=[64, 128, 256, 512, 1024],
ppdet/modeling/backbones/cspresnet.py:234
↓ 5 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None
ppdet/modeling/backbones/vision_transformer.py:29
↓ 5 callersMethod__init__
Multi-Scale Deformable Attention Module
ppdet/modeling/transformers/deformable_transformer.py:38
↓ 5 callersMethod__init__
(self, ch_in, num_protos=256, num_masks=32,
ppdet/modeling/heads/yolov6_head.py:1375
↓ 5 callersMethod_get_src_target_assign
(self, src, target, match_indices)
ppdet/modeling/losses/detr_loss.py:256
next →1–100 of 2,621, ranked by callers