[CVPR 2024] Official RT-DETR (RTDETR paddle pytorch), Real-Time DEtection TRansformer, DETRs Beat YOLOs on Real-time Object Detection. 🔥 🔥 🔥
This report presents the forensic synthetic code analysis of lyuwenyu/RT-DETR, a Python project with 5,452 GitHub stars. SynthScan v2.0 examined 55,935 lines of code across 335 source files, recording 1021 pattern matches distributed across 12 syntactic categories. The overall adjusted score of 21.3 places this repository in the Moderate AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 1021 distinct pattern matches across 12 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hubconf.py | 5 | CODE | |
| LOW | benchmark/trtinfer.py | 4 | CODE | |
| LOW | benchmark/trtinfer.py | 5 | CODE | |
| LOW | rtdetr_pytorch/tools/export_onnx.py | 9 | CODE | |
| LOW | rtdetr_pytorch/tools/infer.py | 11 | CODE | |
| LOW | rtdetr_pytorch/tools/infer.py | 13 | CODE | |
| LOW | rtdetr_pytorch/src/__init__.py | 2 | CODE | |
| LOW | rtdetr_pytorch/src/__init__.py | 3 | CODE | |
| LOW | rtdetr_pytorch/src/__init__.py | 4 | CODE | |
| LOW | rtdetr_pytorch/src/__init__.py | 5 | CODE | |
| LOW | rtdetr_pytorch/src/misc/__init__.py | 2 | CODE | |
| LOW | rtdetr_pytorch/src/misc/__init__.py | 3 | CODE | |
| LOW | rtdetr_pytorch/src/core/config.py | 4 | CODE | |
| LOW | rtdetr_pytorch/src/core/config.py | 12 | CODE | |
| LOW | rtdetr_pytorch/src/core/config.py | 12 | CODE | |
| LOW | rtdetr_pytorch/src/core/__init__.py | 5 | CODE | |
| LOW | rtdetr_pytorch/src/core/__init__.py | 6 | CODE | |
| LOW | rtdetr_pytorch/src/core/__init__.py | 7 | CODE | |
| LOW | rtdetr_pytorch/src/nn/__init__.py | 2 | CODE | |
| LOW | rtdetr_pytorch/src/nn/__init__.py | 3 | CODE | |
| LOW | rtdetr_pytorch/src/nn/__init__.py | 6 | CODE | |
| LOW | rtdetr_pytorch/src/nn/arch/classification.py | 1 | CODE | |
| LOW | rtdetr_pytorch/src/nn/arch/__init__.py | 1 | CODE | |
| LOW | rtdetr_pytorch/src/nn/backbone/test_resnet.py | 1 | CODE | |
| LOW | rtdetr_pytorch/src/nn/backbone/test_resnet.py | 5 | CODE | |
| LOW | rtdetr_pytorch/src/nn/backbone/regnet.py | 1 | CODE | |
| LOW | rtdetr_pytorch/src/nn/backbone/dla.py | 1 | CODE | |
| LOW | rtdetr_pytorch/src/nn/backbone/dla.py | 2 | CODE | |
| LOW | rtdetr_pytorch/src/nn/backbone/dla.py | 3 | CODE | |
| LOW | rtdetr_pytorch/src/nn/backbone/__init__.py | 2 | CODE | |
| LOW | rtdetr_pytorch/src/nn/backbone/__init__.py | 3 | CODE | |
| LOW | rtdetr_pytorch/src/nn/backbone/__init__.py | 4 | CODE | |
| LOW | rtdetr_pytorch/src/nn/backbone/__init__.py | 5 | CODE | |
| LOW | rtdetr_pytorch/src/nn/backbone/__init__.py | 6 | CODE | |
| LOW | rtdetr_pytorch/src/nn/backbone/utils.py | 8 | CODE | |
| LOW | rtdetr_pytorch/src/optim/amp.py | 1 | CODE | |
| LOW | rtdetr_pytorch/src/optim/amp.py | 2 | CODE | |
| LOW | rtdetr_pytorch/src/optim/amp.py | 7 | CODE | |
| LOW | rtdetr_pytorch/src/optim/__init__.py | 2 | CODE | |
| LOW | rtdetr_pytorch/src/optim/__init__.py | 3 | CODE | |
| LOW | rtdetr_pytorch/src/optim/__init__.py | 4 | CODE | |
| LOW | rtdetr_pytorch/src/optim/optim.py | 2 | CODE | |
| LOW | rtdetr_pytorch/src/optim/optim.py | 3 | CODE | |
| LOW | rtdetr_pytorch/src/solver/det_engine.py | 9 | CODE | |
| LOW | rtdetr_pytorch/src/solver/det_engine.py | 11 | CODE | |
| LOW | rtdetr_pytorch/src/solver/solver.py | 5 | CODE | |
| LOW | rtdetr_pytorch/src/zoo/__init__.py | 2 | CODE | |
| LOW | rtdetr_pytorch/src/zoo/rtdetr/rtdetr.py | 4 | CODE | |
| LOW | rtdetr_pytorch/src/zoo/rtdetr/__init__.py | 5 | CODE | |
| LOW | rtdetr_pytorch/src/zoo/rtdetr/__init__.py | 7 | CODE | |
| LOW | rtdetr_pytorch/src/zoo/rtdetr/__init__.py | 8 | CODE | |
| LOW | rtdetr_pytorch/src/zoo/rtdetr/__init__.py | 9 | CODE | |
| LOW | rtdetr_pytorch/src/zoo/rtdetr/__init__.py | 10 | CODE | |
| LOW | rtdetr_pytorch/src/zoo/rtdetr/__init__.py | 12 | CODE | |
| LOW | rtdetr_pytorch/src/data/__init__.py | 2 | CODE | |
| LOW | rtdetr_pytorch/src/data/__init__.py | 3 | CODE | |
| LOW | rtdetr_pytorch/src/data/__init__.py | 5 | CODE | |
| LOW | rtdetr_pytorch/src/data/__init__.py | 6 | CODE | |
| LOW | rtdetr_pytorch/src/data/functional.py | 5 | CODE | |
| LOW | rtdetr_pytorch/src/data/functional.py | 5 | CODE | |
| 414 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | rtdetr_pytorch/src/misc/logger.py | 0 | track a series of values and provide access to smoothed values over a window or the global series average. | STRING |
| HIGH | rtdetrv2_pytorch/src/misc/logger.py | 0 | track a series of values and provide access to smoothed values over a window or the global series average. | STRING |
| HIGH | rtdetr_paddle/ppdet/utils/stats.py | 0 | track a series of values and provide access to smoothed values over a window or the global series average. | STRING |
| HIGH | rtdetr_pytorch/src/misc/logger.py | 0 | run all_gather on arbitrary picklable data (not necessarily tensors) args: data: any picklable object returns: list[data | STRING |
| HIGH | rtdetr_pytorch/src/misc/dist.py | 0 | run all_gather on arbitrary picklable data (not necessarily tensors) args: data: any picklable object returns: list[data | STRING |
| HIGH | rtdetrv2_pytorch/src/misc/logger.py | 0 | run all_gather on arbitrary picklable data (not necessarily tensors) args: data: any picklable object returns: list[data | STRING |
| HIGH | rtdetrv2_pytorch/src/misc/dist_utils.py | 0 | run all_gather on arbitrary picklable data (not necessarily tensors) args: data: any picklable object returns: list[data | STRING |
| HIGH | rtdetr_pytorch/src/optim/ema.py | 0 | model exponential moving average from https://github.com/rwightman/pytorch-image-models keep a moving average of everyth | STRING |
| HIGH | rtdetrv2_pytorch/src/optim/ema.py | 0 | model exponential moving average from https://github.com/rwightman/pytorch-image-models keep a moving average of everyth | STRING |
| HIGH | rtdetr_paddle/ppdet/optimizer/ema.py | 0 | model exponential moving average from https://github.com/rwightman/pytorch-image-models keep a moving average of everyth | STRING |
| HIGH | rtdetr_pytorch/src/zoo/rtdetr/rtdetr_decoder.py | 0 | args: query (tensor): [bs, query_length, c] reference_points (tensor): [bs, query_length, n_levels, 2], range in [0, 1], | STRING |
| HIGH | rtdetrv2_pytorch/src/zoo/rtdetr/rtdetr_decoder.py | 0 | args: query (tensor): [bs, query_length, c] reference_points (tensor): [bs, query_length, n_levels, 2], range in [0, 1], | STRING |
| HIGH | …ddle/ppdet/modeling/transformers/rtdetr_transformer.py | 0 | args: query (tensor): [bs, query_length, c] reference_points (tensor): [bs, query_length, n_levels, 2], range in [0, 1], | STRING |
| HIGH | rtdetrv2_pytorch/src/zoo/rtdetr/rtdetrv2_decoder.py | 0 | args: query (tensor): [bs, query_length, c] reference_points (tensor): [bs, query_length, n_levels, 2], range in [0, 1], | STRING |
| HIGH | …/ppdet/modeling/transformers/deformable_transformer.py | 0 | args: query (tensor): [bs, query_length, c] reference_points (tensor): [bs, query_length, n_levels, 2], range in [0, 1], | STRING |
| HIGH | rtdetr_pytorch/src/zoo/rtdetr/rtdetr_criterion.py | 0 | this class computes the loss for detr. the process happens in two steps: 1) we compute hungarian assignment between grou | STRING |
| HIGH | rtdetrv2_pytorch/src/zoo/rtdetr/rtdetr_criterion.py | 0 | this class computes the loss for detr. the process happens in two steps: 1) we compute hungarian assignment between grou | STRING |
| HIGH | rtdetrv2_pytorch/src/zoo/rtdetr/rtdetrv2_criterion.py | 0 | this class computes the loss for detr. the process happens in two steps: 1) we compute hungarian assignment between grou | STRING |
| HIGH | rtdetr_pytorch/src/zoo/rtdetr/rtdetr_criterion.py | 0 | create the criterion. parameters: matcher: module able to compute a matching between targets and proposals num_classes: | STRING |
| HIGH | rtdetrv2_pytorch/src/zoo/rtdetr/rtdetr_criterion.py | 0 | create the criterion. parameters: matcher: module able to compute a matching between targets and proposals num_classes: | STRING |
| HIGH | rtdetrv2_pytorch/src/zoo/rtdetr/rtdetrv2_criterion.py | 0 | create the criterion. parameters: matcher: module able to compute a matching between targets and proposals num_classes: | STRING |
| HIGH | rtdetr_pytorch/src/zoo/rtdetr/rtdetr_criterion.py | 0 | compute the losses related to the bounding boxes, the l1 regression loss and the giou loss targets dicts must contain th | STRING |
| HIGH | rtdetrv2_pytorch/src/zoo/rtdetr/rtdetr_criterion.py | 0 | compute the losses related to the bounding boxes, the l1 regression loss and the giou loss targets dicts must contain th | STRING |
| HIGH | rtdetrv2_pytorch/src/zoo/rtdetr/rtdetrv2_criterion.py | 0 | compute the losses related to the bounding boxes, the l1 regression loss and the giou loss targets dicts must contain th | STRING |
| HIGH | rtdetr_pytorch/src/zoo/rtdetr/rtdetr_criterion.py | 0 | this performs the loss computation. parameters: outputs: dict of tensors, see the output specification of the model for | STRING |
| HIGH | rtdetrv2_pytorch/src/zoo/rtdetr/rtdetr_criterion.py | 0 | this performs the loss computation. parameters: outputs: dict of tensors, see the output specification of the model for | STRING |
| HIGH | rtdetrv2_pytorch/src/zoo/rtdetr/rtdetrv2_criterion.py | 0 | this performs the loss computation. parameters: outputs: dict of tensors, see the output specification of the model for | STRING |
| HIGH | rtdetr_pytorch/src/zoo/rtdetr/utils.py | 0 | args: value (tensor): [bs, value_length, n_head, c] value_spatial_shapes (tensor|list): [n_levels, 2] value_level_start_ | STRING |
| HIGH | rtdetrv2_pytorch/src/zoo/rtdetr/utils.py | 0 | args: value (tensor): [bs, value_length, n_head, c] value_spatial_shapes (tensor|list): [n_levels, 2] value_level_start_ | STRING |
| HIGH | rtdetr_paddle/ppdet/modeling/transformers/utils.py | 0 | args: value (tensor): [bs, value_length, n_head, c] value_spatial_shapes (tensor|list): [n_levels, 2] value_level_start_ | STRING |
| HIGH | rtdetr_pytorch/src/zoo/rtdetr/utils.py | 0 | initialize conv/fc bias value according to a given probability value. | STRING |
| HIGH | rtdetrv2_pytorch/src/zoo/rtdetr/utils.py | 0 | initialize conv/fc bias value according to a given probability value. | STRING |
| HIGH | rtdetr_paddle/ppdet/modeling/initializer.py | 0 | initialize conv/fc bias value according to a given probability value. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | rtdetr_pytorch/tools/export_onnx.py | 81 | print(f'Simplify onnx model {check}...') | COMMENT |
| LOW | rtdetr_pytorch/tools/export_onnx.py | 101 | # output = sess.run( | COMMENT |
| LOW | rtdetr_pytorch/tools/export_onnx.py | 121 | # print(i, sum(scr > thrh)) | COMMENT |
| LOW | rtdetr_pytorch/src/solver/det_engine.py | 121 | outputs = model(samples) | COMMENT |
| LOW | rtdetr_pytorch/src/solver/det_engine.py | 141 | # target_sizes = torch.stack([t["size"] for t in targets], dim=0) | COMMENT |
| LOW | rtdetr_pytorch/src/zoo/rtdetr/denoising.py | 61 | mask = torch.rand_like(input_query_class, dtype=torch.float) < (label_noise_ratio * 0.5) | COMMENT |
| LOW | rtdetrv2_pytorch/references/deploy/rtdetrv2_tensorrt.py | 1 | # Copyright 2023 lyuwenyu. All Rights Reserved. | COMMENT |
| LOW | rtdetrv2_pytorch/src/data/__init__.py | 21 | # _set_epoch_func([CIFAR10, VOCDetection, CocoDetection]) | COMMENT |
| LOW | rtdetr_paddle/ppdet/__init__.py | 1 | # Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/metrics/keypoint_metrics.py | 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/metrics/metrics.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/metrics/mcmot_metrics.py | 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/metrics/munkres.py | 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/metrics/__init__.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/metrics/mot_metrics.py | 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/metrics/mot_metrics.py | 881 | # should be greater or equal to 0 | COMMENT |
| LOW | rtdetr_paddle/ppdet/metrics/map_utils.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/metrics/widerface_utils.py | 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/metrics/pose3d_metrics.py | 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/metrics/coco_utils.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/metrics/json_results.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/core/__init__.py | 1 | # Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/core/workspace.py | 1 | # Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/core/config/yaml_helpers.py | 1 | # Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/core/config/__init__.py | 1 | # Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/core/config/schema.py | 1 | # Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/optimizer/ema.py | 1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/optimizer/__init__.py | 1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/optimizer/utils.py | 1 | # Copyright (c) 2023 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/optimizer/optimizer.py | 1 | # Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/utils/colormap.py | 1 | # Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/utils/voc_utils.py | 1 | # Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/utils/checkpoint.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/utils/check.py | 1 | # Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/utils/download.py | 1 | # Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/utils/__init__.py | 1 | # Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/utils/logger.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/utils/fuse_utils.py | 1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/utils/cli.py | 1 | # Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/utils/stats.py | 1 | # Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/utils/profiler.py | 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/utils/visualizer.py | 1 | # Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/modeling/shape_spec.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/modeling/__init__.py | 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/modeling/keypoint_utils.py | 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/modeling/ops.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/modeling/initializer.py | 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/modeling/bbox_utils.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/modeling/layers.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/modeling/post_process.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/modeling/cls_utils.py | 1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/modeling/losses/gfocal_loss.py | 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/modeling/losses/__init__.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/modeling/losses/detr_loss.py | 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/modeling/losses/focal_loss.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/modeling/losses/varifocal_loss.py | 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/modeling/losses/iou_loss.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/modeling/losses/smooth_l1_loss.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/modeling/architectures/detr.py | 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | rtdetr_paddle/ppdet/modeling/architectures/__init__.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| 57 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | rtdetr_pytorch/src/misc/visualizer.py | 12 | __all__ = ['show_sample'] | CODE |
| LOW | rtdetr_pytorch/src/core/config.py | 15 | __all__ = ['BaseConfig', ] | CODE |
| LOW | rtdetr_pytorch/src/core/yaml_utils.py | 9 | __all__ = ['GLOBAL_CONFIG', 'register', 'create', 'load_config', 'merge_config', 'merge_dict'] | CODE |
| LOW | rtdetr_pytorch/src/nn/arch/classification.py | 7 | __all__ = ['Classification', 'ClassHead'] | CODE |
| LOW | rtdetr_pytorch/src/nn/backbone/regnet.py | 8 | __all__ = ['RegNet'] | CODE |
| LOW | rtdetr_pytorch/src/nn/backbone/dla.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | rtdetr_pytorch/src/nn/backbone/presnet.py | 14 | __all__ = ['PResNet'] | CODE |
| LOW | rtdetr_pytorch/src/optim/ema.py | 20 | __all__ = ['ModelEMA'] | CODE |
| LOW | rtdetr_pytorch/src/optim/amp.py | 10 | __all__ = ['GradScaler'] | CODE |
| LOW | rtdetr_pytorch/src/optim/optim.py | 10 | __all__ = ['AdamW', 'SGD', 'Adam', 'MultiStepLR', 'CosineAnnealingLR', 'OneCycleLR', 'LambdaLR'] | CODE |
| LOW | rtdetr_pytorch/src/zoo/rtdetr/rtdetr.py | 14 | __all__ = ['RTDETR', ] | CODE |
| LOW | rtdetr_pytorch/src/zoo/rtdetr/rtdetr_decoder.py | 21 | __all__ = ['RTDETRTransformer'] | CODE |
| LOW | rtdetr_pytorch/src/zoo/rtdetr/rtdetr_postprocessor.py | 13 | __all__ = ['RTDETRPostProcessor'] | CODE |
| LOW | rtdetr_pytorch/src/zoo/rtdetr/hybrid_encoder.py | 14 | __all__ = ['HybridEncoder'] | CODE |
| LOW | rtdetr_pytorch/src/data/transforms.py | 21 | __all__ = ['Compose', ] | CODE |
| LOW | rtdetr_pytorch/src/data/dataloader.py | 7 | __all__ = ['DataLoader'] | CODE |
| LOW | rtdetr_pytorch/src/data/coco/coco_dataset.py | 20 | __all__ = ['CocoDetection'] | CODE |
| LOW | rtdetr_pytorch/src/data/coco/coco_eval.py | 22 | __all__ = ['CocoEvaluator',] | CODE |
| LOW | rtdetrv2_pytorch/tools/run_profile.py | 17 | __all__ = ["profile_stats"] | CODE |
| LOW | rtdetrv2_pytorch/src/misc/visualizer.py | 12 | __all__ = ['show_sample'] | CODE |
| LOW | rtdetrv2_pytorch/src/core/yaml_utils.py | 11 | __all__ = [ | CODE |
| LOW | rtdetrv2_pytorch/src/core/_config.py | 16 | __all__ = ['BaseConfig', ] | CODE |
| LOW | …trv2_pytorch/src/nn/postprocessor/nms_postprocessor.py | 15 | __all__ = ['DetNMSPostProcessor', ] | CODE |
| LOW | …rv2_pytorch/src/nn/postprocessor/detr_postprocessor.py | 11 | __all__ = ['DetDETRPostProcessor'] | CODE |
| LOW | rtdetrv2_pytorch/src/nn/arch/classification.py | 11 | __all__ = ['Classification', 'ClassHead'] | CODE |
| LOW | rtdetrv2_pytorch/src/nn/arch/yolo.py | 9 | __all__ = ['YOLO', ] | CODE |
| LOW | rtdetrv2_pytorch/src/nn/backbone/csp_resnet.py | 16 | __all__ = ['CSPResNet'] | CODE |
| LOW | rtdetrv2_pytorch/src/nn/backbone/hgnetv2.py | 18 | __all__ = ['HGNetv2'] | CODE |
| LOW | rtdetrv2_pytorch/src/nn/backbone/presnet.py | 14 | __all__ = ['PResNet'] | CODE |
| LOW | rtdetrv2_pytorch/src/nn/backbone/torchvision_model.py | 10 | __all__ = ['TorchVisionModel'] | CODE |
| LOW | rtdetrv2_pytorch/src/optim/ema.py | 14 | __all__ = ['ModelEMA'] | CODE |
| LOW | rtdetrv2_pytorch/src/optim/amp.py | 10 | __all__ = ['GradScaler'] | CODE |
| LOW | rtdetrv2_pytorch/src/optim/optim.py | 11 | __all__ = ['AdamW', 'SGD', 'Adam', 'MultiStepLR', 'CosineAnnealingLR', 'OneCycleLR', 'LambdaLR'] | CODE |
| LOW | rtdetrv2_pytorch/src/zoo/rtdetr/rtdetr.py | 15 | __all__ = ['RTDETR', ] | CODE |
| LOW | rtdetrv2_pytorch/src/zoo/rtdetr/rtdetr_decoder.py | 21 | __all__ = ['RTDETRTransformer'] | CODE |
| LOW | rtdetrv2_pytorch/src/zoo/rtdetr/rtdetrv2_decoder.py | 21 | __all__ = ['RTDETRTransformerv2'] | CODE |
| LOW | rtdetrv2_pytorch/src/zoo/rtdetr/rtdetr_postprocessor.py | 13 | __all__ = ['RTDETRPostProcessor'] | CODE |
| LOW | rtdetrv2_pytorch/src/zoo/rtdetr/hybrid_encoder.py | 16 | __all__ = ['HybridEncoder'] | CODE |
| LOW | rtdetrv2_pytorch/src/data/__init__.py | 13 | # def set_epoch(self, epoch) -> None: | COMMENT |
| LOW | rtdetrv2_pytorch/src/data/dataloader.py | 20 | __all__ = [ | CODE |
| LOW | rtdetrv2_pytorch/src/data/dataset/coco_dataset.py | 19 | __all__ = ['CocoDetection'] | CODE |
| LOW | rtdetrv2_pytorch/src/data/dataset/_dataset.py | 17 | def set_epoch(self, epoch) -> None: | CODE |
| LOW | rtdetr_paddle/ppdet/metrics/keypoint_metrics.py | 27 | __all__ = ['KeyPointTopDownCOCOEval', 'KeyPointTopDownMPIIEval'] | CODE |
| LOW | rtdetr_paddle/ppdet/metrics/metrics.py | 37 | __all__ = [ | CODE |
| LOW | rtdetr_paddle/ppdet/metrics/mcmot_metrics.py | 42 | __all__ = ['MCMOTEvaluator', 'MCMOTMetric'] | CODE |
| LOW | rtdetr_paddle/ppdet/metrics/munkres.py | 20 | __all__ = ['Munkres', 'make_cost_matrix'] | CODE |
| LOW | rtdetr_paddle/ppdet/metrics/mot_metrics.py | 43 | __all__ = ['MOTEvaluator', 'MOTMetric', 'JDEDetMetric', 'KITTIMOTMetric'] | CODE |
| LOW | rtdetr_paddle/ppdet/metrics/map_utils.py | 28 | __all__ = [ | CODE |
| LOW | rtdetr_paddle/ppdet/metrics/widerface_utils.py | 29 | __all__ = ['face_eval_run', 'lmk2out'] | CODE |
| LOW | rtdetr_paddle/ppdet/metrics/pose3d_metrics.py | 24 | __all__ = ['Pose3DEval'] | CODE |
| LOW | rtdetr_paddle/ppdet/core/workspace.py | 34 | __all__ = [ | CODE |
| LOW | rtdetr_paddle/ppdet/core/config/yaml_helpers.py | 21 | __all__ = ['serializable', 'Callable'] | CODE |
| LOW⚡ | rtdetr_paddle/ppdet/core/config/schema.py | 39 | __all__ = ['SchemaValue', 'SchemaDict', 'SharedConfig', 'extract_schema'] | CODE |
| LOW | rtdetr_paddle/ppdet/optimizer/ema.py | 26 | __all__ = ['ModelEMA', 'SimpleModelEMA'] | CODE |
| LOW | rtdetr_paddle/ppdet/optimizer/optimizer.py | 30 | __all__ = ['LearningRate', 'OptimizerBuilder'] | CODE |
| LOW | rtdetr_paddle/ppdet/utils/voc_utils.py | 24 | __all__ = ['create_list'] | CODE |
| LOW | rtdetr_paddle/ppdet/utils/check.py | 28 | __all__ = [ | CODE |
| LOW | rtdetr_paddle/ppdet/utils/download.py | 41 | __all__ = [ | CODE |
| LOW | rtdetr_paddle/ppdet/utils/logger.py | 21 | __all__ = ['setup_logger'] | CODE |
| LOW | rtdetr_paddle/ppdet/utils/fuse_utils.py | 19 | __all__ = ['fuse_conv_bn'] | CODE |
| 43 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | rtdetr_pytorch/src/nn/backbone/test_resnet.py | 34 | CODE | |
| LOW | rtdetr_pytorch/src/nn/backbone/test_resnet.py | 70 | CODE | |
| LOW | rtdetr_pytorch/src/nn/backbone/dla.py | 71 | CODE | |
| LOW | rtdetr_pytorch/src/nn/backbone/dla.py | 116 | CODE | |
| LOW | rtdetr_pytorch/src/nn/backbone/dla.py | 165 | CODE | |
| LOW | rtdetr_pytorch/src/nn/backbone/presnet.py | 67 | CODE | |
| LOW | rtdetr_pytorch/src/nn/backbone/presnet.py | 112 | CODE | |
| LOW | rtdetr_pytorch/src/zoo/rtdetr/rtdetr_decoder.py | 142 | CODE | |
| LOW | rtdetr_pytorch/src/zoo/rtdetr/rtdetr_decoder.py | 284 | CODE | |
| LOW | rtdetr_pytorch/src/zoo/rtdetr/hybrid_encoder.py | 184 | CODE | |
| LOW | rtdetrv2_pytorch/src/nn/postprocessor/box_revert.py | 23 | CODE | |
| LOW | …rv2_pytorch/src/nn/postprocessor/detr_postprocessor.py | 18 | CODE | |
| LOW | rtdetrv2_pytorch/src/nn/backbone/test_resnet.py | 34 | CODE | |
| LOW | rtdetrv2_pytorch/src/nn/backbone/test_resnet.py | 70 | CODE | |
| LOW | rtdetrv2_pytorch/src/nn/backbone/presnet.py | 84 | CODE | |
| LOW | rtdetrv2_pytorch/src/nn/backbone/presnet.py | 129 | CODE | |
| LOW | rtdetrv2_pytorch/src/zoo/rtdetr/rtdetr_decoder.py | 142 | CODE | |
| LOW | rtdetrv2_pytorch/src/zoo/rtdetr/rtdetr_decoder.py | 284 | CODE | |
| LOW | rtdetrv2_pytorch/src/zoo/rtdetr/rtdetrv2_decoder.py | 160 | CODE | |
| LOW | rtdetrv2_pytorch/src/zoo/rtdetr/rtdetrv2_decoder.py | 164 | CODE | |
| LOW | rtdetrv2_pytorch/src/zoo/rtdetr/rtdetrv2_decoder.py | 291 | CODE | |
| LOW | rtdetrv2_pytorch/src/zoo/rtdetr/rtdetr_postprocessor.py | 18 | CODE | |
| LOW | rtdetrv2_pytorch/src/zoo/rtdetr/hybrid_encoder.py | 186 | CODE | |
| LOW | rtdetr_paddle/ppdet/metrics/metrics.py | 223 | CODE | |
| LOW | rtdetr_paddle/ppdet/metrics/mot_metrics.py | 335 | CODE | |
| LOW | rtdetr_paddle/ppdet/metrics/mot_metrics.py | 385 | CODE | |
| LOW | rtdetr_paddle/ppdet/metrics/pose3d_metrics.py | 136 | CODE | |
| LOW | rtdetr_paddle/ppdet/utils/cam_utils.py | 200 | CODE | |
| LOW | rtdetr_paddle/ppdet/modeling/ops.py | 340 | CODE | |
| LOW | rtdetr_paddle/ppdet/modeling/ops.py | 481 | CODE | |
| LOW | rtdetr_paddle/ppdet/modeling/ops.py | 927 | CODE | |
| LOW | rtdetr_paddle/ppdet/modeling/ops.py | 1097 | CODE | |
| LOW | rtdetr_paddle/ppdet/modeling/layers.py | 1048 | CODE | |
| LOW | rtdetr_paddle/ppdet/modeling/layers.py | 118 | CODE | |
| LOW | rtdetr_paddle/ppdet/modeling/layers.py | 187 | CODE | |
| LOW | rtdetr_paddle/ppdet/modeling/layers.py | 325 | CODE | |
| LOW | rtdetr_paddle/ppdet/modeling/layers.py | 372 | CODE | |
| LOW | rtdetr_paddle/ppdet/modeling/layers.py | 510 | CODE | |
| LOW | rtdetr_paddle/ppdet/modeling/layers.py | 572 | CODE | |
| LOW | rtdetr_paddle/ppdet/modeling/post_process.py | 30 | CODE | |
| LOW | rtdetr_paddle/ppdet/modeling/losses/detr_loss.py | 35 | CODE | |
| LOW | rtdetr_paddle/ppdet/modeling/losses/detr_loss.py | 439 | CODE | |
| LOW | rtdetr_paddle/ppdet/modeling/architectures/meta_arch.py | 117 | CODE | |
| LOW | rtdetr_paddle/ppdet/modeling/heads/detr_head.py | 190 | CODE | |
| LOW | …ddle/ppdet/modeling/transformers/rtdetr_transformer.py | 85 | CODE | |
| LOW | …ddle/ppdet/modeling/transformers/rtdetr_transformer.py | 89 | CODE | |
| LOW | …ddle/ppdet/modeling/transformers/rtdetr_transformer.py | 237 | CODE | |
| LOW | …paddle/ppdet/modeling/transformers/detr_transformer.py | 234 | CODE | |
| LOW | …addle/ppdet/modeling/transformers/position_encoding.py | 32 | CODE | |
| LOW | …paddle/ppdet/modeling/transformers/dino_transformer.py | 46 | CODE | |
| LOW | …paddle/ppdet/modeling/transformers/dino_transformer.py | 186 | CODE | |
| LOW | …r_paddle/ppdet/modeling/transformers/hybrid_encoder.py | 119 | CODE | |
| LOW | …/ppdet/modeling/transformers/deformable_transformer.py | 158 | CODE | |
| LOW | …/ppdet/modeling/transformers/deformable_transformer.py | 162 | CODE | |
| LOW | …/ppdet/modeling/transformers/deformable_transformer.py | 266 | CODE | |
| LOW | …/ppdet/modeling/transformers/deformable_transformer.py | 379 | CODE | |
| LOW | …_paddle/ppdet/modeling/backbones/vision_transformer.py | 160 | CODE | |
| LOW | …_paddle/ppdet/modeling/backbones/vision_transformer.py | 319 | CODE | |
| LOW | …r_paddle/ppdet/modeling/backbones/transformer_utils.py | 41 | CODE | |
| LOW | rtdetr_paddle/ppdet/modeling/backbones/cspresnet.py | 234 | CODE | |
| 37 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | rtdetr_pytorch/src/core/yaml_utils.py | 71 | CODE | |
| LOW | rtdetr_pytorch/src/nn/backbone/common.py | 70 | CODE | |
| LOW | rtdetr_pytorch/src/solver/det_solver.py | 19 | CODE | |
| LOW | rtdetr_pytorch/src/zoo/rtdetr/rtdetr_criterion.py | 228 | CODE | |
| LOW | rtdetr_pytorch/src/zoo/rtdetr/utils.py | 67 | CODE | |
| LOW | rtdetr_pytorch/src/data/transforms.py | 39 | CODE | |
| LOW | rtdetrv2_pytorch/src/core/yaml_utils.py | 93 | CODE | |
| LOW | rtdetrv2_pytorch/src/core/yaml_utils.py | 108 | CODE | |
| LOW | rtdetrv2_pytorch/src/core/workspace.py | 92 | CODE | |
| LOW | rtdetrv2_pytorch/src/nn/backbone/common.py | 62 | CODE | |
| LOW | rtdetrv2_pytorch/src/nn/backbone/hgnetv2.py | 384 | CODE | |
| LOW | rtdetrv2_pytorch/src/solver/det_solver.py | 18 | CODE | |
| LOW | rtdetrv2_pytorch/src/zoo/rtdetr/rtdetr_criterion.py | 175 | CODE | |
| LOW | rtdetrv2_pytorch/src/zoo/rtdetr/utils.py | 137 | CODE | |
| LOW | rtdetrv2_pytorch/src/data/transforms/container.py | 19 | CODE | |
| LOW | rtdetr_paddle/ppdet/metrics/keypoint_metrics.py | 143 | CODE | |
| LOW | rtdetr_paddle/ppdet/metrics/metrics.py | 427 | CODE | |
| LOW | rtdetr_paddle/ppdet/metrics/mcmot_metrics.py | 227 | CODE | |
| LOW | rtdetr_paddle/ppdet/metrics/munkres.py | 299 | CODE | |
| LOW | rtdetr_paddle/ppdet/metrics/mot_metrics.py | 46 | CODE | |
| LOW | rtdetr_paddle/ppdet/metrics/mot_metrics.py | 477 | CODE | |
| LOW | rtdetr_paddle/ppdet/metrics/mot_metrics.py | 658 | CODE | |
| LOW | rtdetr_paddle/ppdet/metrics/map_utils.py | 147 | CODE | |
| LOW | rtdetr_paddle/ppdet/metrics/map_utils.py | 196 | CODE | |
| LOW | rtdetr_paddle/ppdet/metrics/widerface_utils.py | 217 | CODE | |
| LOW | rtdetr_paddle/ppdet/metrics/widerface_utils.py | 256 | CODE | |
| LOW | rtdetr_paddle/ppdet/metrics/widerface_utils.py | 339 | CODE | |
| LOW | rtdetr_paddle/ppdet/metrics/json_results.py | 76 | CODE | |
| LOW | rtdetr_paddle/ppdet/core/workspace.py | 210 | CODE | |
| LOW | rtdetr_paddle/ppdet/optimizer/ema.py | 141 | CODE | |
| LOW | rtdetr_paddle/ppdet/optimizer/optimizer.py | 61 | CODE | |
| LOW | rtdetr_paddle/ppdet/utils/voc_utils.py | 56 | CODE | |
| LOW | rtdetr_paddle/ppdet/utils/download.py | 179 | CODE | |
| LOW | rtdetr_paddle/ppdet/utils/download.py | 341 | CODE | |
| LOW | rtdetr_paddle/ppdet/utils/download.py | 393 | CODE | |
| LOW | rtdetr_paddle/ppdet/utils/download.py | 503 | CODE | |
| LOW | rtdetr_paddle/ppdet/utils/download.py | 539 | CODE | |
| LOW | rtdetr_paddle/ppdet/utils/cli.py | 91 | CODE | |
| LOW | rtdetr_paddle/ppdet/utils/cli.py | 61 | CODE | |
| LOW | rtdetr_paddle/ppdet/utils/cam_utils.py | 137 | CODE | |
| LOW | rtdetr_paddle/ppdet/utils/cam_utils.py | 202 | CODE | |
| LOW | rtdetr_paddle/ppdet/utils/profiler.py | 60 | CODE | |
| LOW | rtdetr_paddle/ppdet/utils/visualizer.py | 140 | CODE | |
| LOW | rtdetr_paddle/ppdet/modeling/keypoint_utils.py | 346 | CODE | |
| LOW | rtdetr_paddle/ppdet/modeling/initializer.py | 202 | CODE | |
| LOW | rtdetr_paddle/ppdet/modeling/initializer.py | 294 | CODE | |
| LOW | rtdetr_paddle/ppdet/modeling/post_process.py | 192 | CODE | |
| LOW | rtdetr_paddle/ppdet/modeling/losses/gfocal_loss.py | 132 | CODE | |
| LOW | rtdetr_paddle/ppdet/modeling/losses/gfocal_loss.py | 186 | CODE | |
| LOW | rtdetr_paddle/ppdet/modeling/losses/varifocal_loss.py | 114 | CODE | |
| LOW | rtdetr_paddle/ppdet/modeling/heads/detr_head.py | 376 | CODE | |
| LOW | rtdetr_paddle/ppdet/modeling/backbones/shufflenet_v2.py | 172 | CODE | |
| LOW | rtdetr_paddle/ppdet/modeling/backbones/mobilenet_v3.py | 89 | CODE | |
| LOW | rtdetr_paddle/ppdet/modeling/backbones/vit_mae.py | 640 | CODE | |
| LOW | rtdetr_paddle/ppdet/modeling/backbones/hgnet_v2.py | 421 | CODE | |
| LOW | rtdetr_paddle/ppdet/modeling/backbones/mobileone.py | 211 | CODE | |
| LOW | rtdetr_paddle/ppdet/data/shm_utils.py | 47 | CODE | |
| LOW | rtdetr_paddle/ppdet/data/utils.py | 24 | CODE | |
| LOW | rtdetr_paddle/ppdet/data/source/coco.py | 85 | CODE | |
| LOW | rtdetr_paddle/ppdet/data/source/coco.py | 395 | CODE | |
| 28 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | rtdetr_pytorch/src/misc/logger.py | 37 | def synchronize_between_processes(self): | CODE |
| LOW | rtdetr_pytorch/src/misc/logger.py | 179 | def synchronize_between_processes(self): | CODE |
| LOW | rtdetr_pytorch/src/misc/dist.py | 66 | def is_dist_available_and_initialized(): | CODE |
| LOW | rtdetr_pytorch/src/zoo/rtdetr/denoising.py | 11 | def get_contrastive_denoising_training_group(targets, | CODE |
| LOW | rtdetr_pytorch/src/zoo/rtdetr/utils.py | 15 | def deformable_attention_core_func(value, value_spatial_shapes, sampling_locations, attention_weights): | CODE |
| LOW | rtdetr_pytorch/src/zoo/rtdetr/hybrid_encoder.py | 62 | def get_equivalent_kernel_bias(self): | CODE |
| LOW | rtdetr_pytorch/src/data/functional.py | 99 | def get_size_with_aspect_ratio(image_size, size, max_size=None): | CODE |
| LOW | rtdetr_pytorch/src/data/coco/coco_dataset.py | 67 | def convert_coco_poly_to_mask(segmentations, height, width): | CODE |
| LOW | rtdetr_pytorch/src/data/coco/coco_eval.py | 58 | def synchronize_between_processes(self): | CODE |
| LOW | rtdetr_pytorch/src/data/coco/coco_eval.py | 82 | def prepare_for_coco_detection(self, predictions): | CODE |
| LOW | rtdetr_pytorch/src/data/coco/coco_eval.py | 106 | def prepare_for_coco_segmentation(self, predictions): | CODE |
| LOW | rtdetr_pytorch/src/data/coco/coco_eval.py | 141 | def prepare_for_coco_keypoint(self, predictions): | CODE |
| LOW | rtdetr_pytorch/src/data/coco/coco_utils.py | 10 | def convert_coco_poly_to_mask(segmentations, height, width): | CODE |
| LOW | rtdetr_pytorch/src/data/coco/coco_utils.py | 82 | def _coco_remove_images_without_annotations(dataset, cat_list=None): | CODE |
| LOW | rtdetr_pytorch/src/data/coco/coco_utils.py | 173 | def get_coco_api_from_dataset(dataset): | CODE |
| LOW | rtdetrv2_pytorch/src/misc/box_ops.py | 37 | def elementwise_generalized_box_iou(boxes1: Tensor, boxes2: Tensor) -> Tensor: | CODE |
| LOW | rtdetrv2_pytorch/src/misc/logger.py | 37 | def synchronize_between_processes(self): | CODE |
| LOW | rtdetrv2_pytorch/src/misc/logger.py | 179 | def synchronize_between_processes(self): | CODE |
| LOW | rtdetrv2_pytorch/src/misc/dist_utils.py | 86 | def is_dist_available_and_initialized(): | CODE |
| LOW | rtdetrv2_pytorch/src/nn/backbone/csp_resnet.py | 75 | def get_equivalent_kernel_bias(self): | CODE |
| LOW | rtdetrv2_pytorch/src/zoo/rtdetr/denoising.py | 11 | def get_contrastive_denoising_training_group(targets, | CODE |
| LOW | rtdetrv2_pytorch/src/zoo/rtdetr/utils.py | 23 | def deformable_attention_core_func(value, value_spatial_shapes, sampling_locations, attention_weights): | CODE |
| LOW | rtdetrv2_pytorch/src/zoo/rtdetr/hybrid_encoder.py | 62 | def get_equivalent_kernel_bias(self): | CODE |
| LOW | rtdetrv2_pytorch/src/data/dataset/coco_dataset.py | 90 | def convert_coco_poly_to_mask(segmentations, height, width): | CODE |
| LOW | rtdetrv2_pytorch/src/data/dataset/coco_utils.py | 15 | def convert_coco_poly_to_mask(segmentations, height, width): | CODE |
| LOW | rtdetrv2_pytorch/src/data/dataset/coco_utils.py | 87 | def _coco_remove_images_without_annotations(dataset, cat_list=None): | CODE |
| LOW | rtdetrv2_pytorch/src/data/dataset/coco_utils.py | 183 | def get_coco_api_from_dataset(dataset): | CODE |
| LOW | rtdetrv2_pytorch/src/data/transforms/functional.py | 99 | def get_size_with_aspect_ratio(image_size, size, max_size=None): | CODE |
| LOW | rtdetr_paddle/ppdet/metrics/keypoint_metrics.py | 93 | def _write_coco_keypoint_results(self, keypoints): | CODE |
| LOW | rtdetr_paddle/ppdet/metrics/keypoint_metrics.py | 118 | def _coco_keypoint_results_one_category_kernel(self, data_pack): | CODE |
| LOW | rtdetr_paddle/ppdet/metrics/keypoint_metrics.py | 272 | def _mpii_keypoint_results_save(self): | CODE |
| LOW | rtdetr_paddle/ppdet/metrics/pose3d_metrics.py | 44 | def mean_per_joint_position_error(pred, gt, has_3d_joints): | CODE |
| LOW | rtdetr_paddle/ppdet/metrics/pose3d_metrics.py | 61 | def compute_similarity_transform(S1, S2): | CODE |
| LOW | rtdetr_paddle/ppdet/metrics/pose3d_metrics.py | 111 | def compute_similarity_transform_batch(S1, S2): | CODE |
| LOW | rtdetr_paddle/ppdet/core/config/yaml_helpers.py | 24 | def represent_dictionary_order(self, dict_data): | CODE |
| LOW | rtdetr_paddle/ppdet/optimizer/utils.py | 24 | def get_bn_running_state_names(model: nn.Layer) -> List[str]: | CODE |
| LOW | rtdetr_paddle/ppdet/utils/fuse_utils.py | 44 | def find_parent_layer_and_sub_name(model, name): | CODE |
| LOW | rtdetr_paddle/ppdet/modeling/ops.py | 1074 | def sigmoid_cross_entropy_with_logits(input, | STRING |
| LOW | rtdetr_paddle/ppdet/modeling/initializer.py | 127 | def _calculate_fan_in_and_fan_out(tensor, reverse=False): | CODE |
| LOW | rtdetr_paddle/ppdet/modeling/initializer.py | 294 | def reset_initialized_parameter(model, include_self=True): | CODE |
| LOW | rtdetr_paddle/ppdet/modeling/cls_utils.py | 16 | def _get_class_default_kwargs(cls, *args, **kwargs): | CODE |
| LOW | rtdetr_paddle/ppdet/modeling/losses/detr_loss.py | 553 | def _get_point_coords_by_uncertainty(self, masks): | STRING |
| LOW | rtdetr_paddle/ppdet/modeling/architectures/meta_arch.py | 85 | def merge_multi_scale_predictions(self, outs): | CODE |
| LOW | rtdetr_paddle/ppdet/modeling/heads/detr_head.py | 232 | def get_gt_mask_from_polygons(gt_poly, pad_mask): | CODE |
| LOW | …paddle/ppdet/modeling/transformers/dino_transformer.py | 450 | def _get_encoder_output_anchors(self, | CODE |
| LOW | rtdetr_paddle/ppdet/modeling/transformers/utils.py | 107 | def deformable_attention_core_func(value, value_spatial_shapes, | CODE |
| LOW | rtdetr_paddle/ppdet/modeling/transformers/utils.py | 161 | def get_denoising_training_group(targets, | CODE |
| LOW | rtdetr_paddle/ppdet/modeling/transformers/utils.py | 254 | def get_contrastive_denoising_training_group(targets, | CODE |
| LOW | rtdetr_paddle/ppdet/modeling/transformers/utils.py | 442 | def varifocal_loss_with_logits(pred_logits, | CODE |
| LOW | …ling/transformers/ext_op/test_ms_deformable_attn_op.py | 73 | def check_forward_equal_with_paddle_float(): | CODE |
| LOW | …_paddle/ppdet/modeling/backbones/vision_transformer.py | 293 | def get_sinusoid_encoding_table(n_position, d_hid, token=False): | CODE |
| LOW | rtdetr_paddle/ppdet/modeling/backbones/cspresnet.py | 113 | def get_equivalent_kernel_bias(self): | CODE |
| LOW | rtdetr_paddle/ppdet/modeling/backbones/mobileone.py | 182 | def get_equivalent_kernel_bias(self): | CODE |
| LOW | rtdetr_paddle/ppdet/data/source/dataset.py | 104 | def check_or_download_dataset(self): | CODE |
| LOW | rtdetr_paddle/ppdet/data/source/dataset.py | 167 | def check_or_download_dataset(self): | CODE |
| LOW | rtdetr_paddle/ppdet/data/transform/op_helper.py | 148 | def generate_sample_bbox_square(sampler, image_width, image_height): | CODE |
| LOW | rtdetr_paddle/ppdet/data/transform/op_helper.py | 296 | def satisfy_sample_constraint(sampler, | CODE |
| LOW | rtdetr_paddle/ppdet/data/transform/op_helper.py | 326 | def satisfy_sample_constraint_coverage(sampler, sample_bbox, gt_bboxes): | CODE |
| LOW | rtdetr_paddle/ppdet/data/transform/operators.py | 1617 | def _crop_box_with_center_constraint(self, box, crop): | CODE |
| LOW | rtdetr_paddle/ppdet/data/transform/operators.py | 2703 | def get_size_with_aspect_ratio(self, image_shape, size, max_size=None): | CODE |
| 1 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | rtdetr_paddle/ppdet/metrics/keypoint_metrics.py | 108 | except Exception: | CODE |
| LOW | rtdetr_paddle/ppdet/metrics/mcmot_metrics.py | 311 | except Exception as e: | CODE |
| LOW | rtdetr_paddle/ppdet/metrics/mot_metrics.py | 129 | except Exception as e: | CODE |
| LOW | rtdetr_paddle/ppdet/metrics/map_utils.py | 49 | except Exception as e: | CODE |
| LOW | rtdetr_paddle/ppdet/metrics/map_utils.py | 267 | except Exception as e: | CODE |
| LOW | rtdetr_paddle/ppdet/metrics/coco_utils.py | 123 | except Exception as e: | CODE |
| LOW | rtdetr_paddle/ppdet/core/config/yaml_helpers.py | 42 | except Exception as ex: | CODE |
| MEDIUM | rtdetr_paddle/ppdet/core/config/yaml_helpers.py | 43 | print("Error when construct {} instance from yaml config". | CODE |
| LOW | rtdetr_paddle/ppdet/core/config/yaml_helpers.py | 113 | except Exception: | CODE |
| LOW⚡ | rtdetr_paddle/ppdet/core/config/schema.py | 25 | except Exception: | CODE |
| LOW⚡ | rtdetr_paddle/ppdet/core/config/schema.py | 33 | except Exception: | CODE |
| LOW | rtdetr_paddle/ppdet/core/config/schema.py | 131 | except Exception: | CODE |
| LOW | rtdetr_paddle/ppdet/core/config/schema.py | 205 | except Exception: | CODE |
| LOW | rtdetr_paddle/ppdet/utils/check.py | 49 | except Exception as e: | CODE |
| LOW | rtdetr_paddle/ppdet/utils/check.py | 69 | except Exception as e: | CODE |
| LOW | rtdetr_paddle/ppdet/utils/check.py | 88 | except Exception as e: | CODE |
| LOW | rtdetr_paddle/ppdet/utils/check.py | 107 | except Exception as e: | CODE |
| LOW | rtdetr_paddle/ppdet/utils/check.py | 150 | except Exception as e: | CODE |
| LOW | rtdetr_paddle/ppdet/utils/visualizer.py | 240 | except Exception as e: | CODE |
| LOW | rtdetr_paddle/ppdet/utils/visualizer.py | 342 | except Exception as e: | CODE |
| MEDIUM | rtdetr_paddle/ppdet/utils/visualizer.py | 229 | def draw_pose(image, | CODE |
| MEDIUM | rtdetr_paddle/ppdet/utils/visualizer.py | 332 | def draw_pose3d(image, | CODE |
| LOW | …ling/transformers/ext_op/test_ms_deformable_attn_op.py | 41 | except Exception as e: | CODE |
| LOW | rtdetr_paddle/ppdet/data/reader.py | 60 | except Exception as e: | CODE |
| LOW | rtdetr_paddle/ppdet/data/reader.py | 79 | except Exception as e: | CODE |
| LOW | rtdetr_paddle/ppdet/data/source/coco.py | 19 | except Exception: | CODE |
| LOW | rtdetr_paddle/ppdet/data/source/coco.py | 310 | except Exception as e: | CODE |
| LOW | rtdetr_paddle/ppdet/data/source/dataset.py | 20 | except Exception: | CODE |
| LOW | rtdetr_paddle/ppdet/data/source/dataset.py | 227 | except Exception as e: | CODE |
| LOW | rtdetr_paddle/ppdet/data/transform/batch_operators.py | 23 | except Exception: | CODE |
| LOW | rtdetr_paddle/ppdet/data/transform/operators.py | 25 | except Exception: | CODE |
| LOW | rtdetr_paddle/ppdet/data/transform/operators.py | 229 | except Exception as e: | CODE |
| LOW | rtdetr_paddle/ppdet/engine/export_utils.py | 210 | except Exception: | CODE |
| LOW | rtdetr_paddle/ppdet/engine/callbacks.py | 266 | except Exception as e: | CODE |
| LOW | rtdetr_paddle/ppdet/engine/callbacks.py | 320 | except Exception as e: | CODE |
| LOW | rtdetr_paddle/tools/slice_image.py | 23 | except Exception as e: | CODE |
| MEDIUM | rtdetr_paddle/tools/slice_image.py | 19 | def slice_data(image_dir, dataset_json_path, output_dir, slice_size, | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | rtdetr_paddle/ppdet/modeling/ops.py | 120 | **Anchor generator operator** Generate anchors for Faster RCNN algorithm. Each position of the input produc | STRING |
| HIGH | rtdetr_paddle/ppdet/modeling/ops.py | 218 | **This op only takes LoDTensor as input.** In Feature Pyramid Networks (FPN) models, it is needed to dist | STRING |
| HIGH | rtdetr_paddle/ppdet/modeling/ops.py | 352 | This op generates prior boxes for SSD(Single Shot MultiBox Detector) algorithm. Each position of the input pro | STRING |
| HIGH | rtdetr_paddle/ppdet/modeling/ops.py | 494 | This operator is to do multi-class non maximum suppression (NMS) on boxes and scores. In the NMS step, this | STRING |
| HIGH | rtdetr_paddle/ppdet/modeling/ops.py | 649 | **Matrix NMS** This operator does matrix non maximum suppression (NMS). First selects a subset of candidate | STRING |
| HIGH | rtdetr_paddle/ppdet/modeling/ops.py | 780 | **Box Coder Layer** Encode/Decode the target bounding box with the priorbox information. The Encoding | STRING |
| HIGH | rtdetr_paddle/ppdet/modeling/ops.py | 940 | **Generate proposal Faster-RCNN** This operation proposes RoIs according to each box with their probability | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | rtdetrv2_pytorch/references/deploy/rtdetrv2_tensorrt.py | 16 | # ============================================================================== | COMMENT |
| MEDIUM | rtdetrv2_pytorch/references/deploy/rtdetrv2_tensorrt.py | 20 | # ============================================================================== | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | rtdetrv2_pytorch/tools/onnx2trt.sh | 9 | # Check if an input file is provided. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | rtdetr_paddle/ppdet/data/transform/operators.py | 1481 | # threshold and attempt to find a valid crop, and simply return the | COMMENT |