Ultralytics YOLOv5 in PyTorch for object detection, instance segmentation, classification, training, and export.
This report summarizes scanner evidence for ultralytics/yolov5, a Python project with 58,134 GitHub stars. SynthScan examined 24,989 lines of code across 131 source files, recording 238 pattern matches distributed across 16 syntactic categories. The legacy adjusted pattern signal is 18.5 (Elevated pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 167 finding(s).
Are imports declared and package/API names verified? 25 finding(s).
Are wrappers, guards, and repeated structures necessary? 82 finding(s).
Which changes need focused human review? 238 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 238 distinct pattern matches across 16 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | val.py | 66 | Saves a single JSON detection result, including image ID, category ID, bounding box, and confidence score. Args: | STRING |
| HIGH | val.py | 397 | Parse command-line options for configuring YOLOv5 model inference. Args: data (str, optional): Path to the | STRING |
| HIGH | val.py | 475 | Executes YOLOv5 tasks like training, validation, testing, speed, and study benchmarks based on provided options. Ar | STRING |
| HIGH | export.py | 97 | Initializes an iOS compatible model with normalization based on image dimensions. Args: model (torc | STRING |
| HIGH | export.py | 123 | Run a forward pass on the input tensor, returning class confidences and normalized coordinates. Args: | STRING |
| HIGH | export.py | 144 | Returns a DataFrame of supported YOLOv5 model export formats and their properties. Returns: pandas.DataFram | STRING |
| HIGH | export.py | 183 | Log success or failure, execution time, and file size for YOLOv5 model export functions wrapped with @try_export. A | STRING |
| HIGH | export.py | 226 | Export a YOLOv5 model to the TorchScript format. Args: model (torch.nn.Module): The YOLOv5 model to be expo | STRING |
| HIGH | export.py | 281 | Export a YOLOv5 model to ONNX format with dynamic axes support and optional model simplification. Args: mod | STRING |
| HIGH | export.py | 379 | Export a YOLOv5 model to OpenVINO format with optional FP16 and INT8 quantization. Args: file (Path): Path | STRING |
| HIGH | export.py | 463 | Export a YOLOv5 PyTorch model to PaddlePaddle format using X2Paddle, saving the converted model and metadata. Args: | STRING |
| HIGH | export.py | 511 | Export a YOLOv5 model to CoreML format with optional NMS, INT8, and FP16 support. Args: model (torch.nn.Mod | STRING |
| HIGH | export.py | 592 | Export a YOLOv5 model to TensorRT engine format, requiring GPU and TensorRT>=7.0.0. Args: model (torch.nn.M | STRING |
| HIGH | export.py | 711 | Export a YOLOv5 model to the TensorFlow SavedModel format, supporting dynamic axes and non-maximum suppression (NMS) | STRING |
| HIGH | export.py | 794 | Export YOLOv5 model to TensorFlow GraphDef (*.pb) format. Args: keras_model (tf.keras.Model): The Keras mod | STRING |
| HIGH | export.py | 831 | Export a YOLOv5 model to TensorFlow Lite format with optional INT8 quantization and NMS support. Args: kera | STRING |
| HIGH | export.py | 904 | Exports a YOLOv5 model to Edge TPU compatible TFLite format; requires Linux and Edge TPU compiler. Args: fi | STRING |
| HIGH | export.py | 989 | Convert a YOLOv5 model to TensorFlow.js format with optional uint8 quantization. Args: file (Path): Path to | STRING |
| HIGH | export.py | 1050 | Adds metadata to a TensorFlow Lite (TFLite) model file, supporting multiple outputs according to TensorFlow guidelin | STRING |
| HIGH | export.py | 1111 | Convert a PyTorch YOLOv5 model to CoreML format with Non-Maximum Suppression (NMS), handling different input/output | STRING |
| HIGH | export.py | 1312 | Exports a YOLOv5 model to specified formats including ONNX, TensorRT, CoreML, and TensorFlow. Args: data (s | STRING |
| HIGH | export.py | 1492 | Parse command-line options for YOLOv5 model export configurations. Args: known (bool): If True, uses `argpa | STRING |
| HIGH | train.py | 107 | Train a YOLOv5 model on a custom dataset using specified hyperparameters, options, and device, managing datasets, mo | STRING |
| HIGH | train.py | 534 | Parse command-line arguments for YOLOv5 training, validation, and testing. Args: known (bool, optional): If | STRING |
| HIGH | train.py | 603 | Runs the main entry point for training or hyperparameter evolution with specified options and optional callbacks. A | STRING |
| HIGH | train.py | 878 | Generate an individual with random hyperparameters within specified ranges. Args: input_ranges (list[tuple[ | STRING |
| HIGH | train.py | 908 | Execute YOLOv5 training with specified options, allowing optional overrides through keyword arguments. Args: | STRING |
| HIGH | hubconf.py | 17 | Creates or loads a YOLOv5 model, with options for pretrained weights and model customization. Args: name (s | STRING |
| HIGH | hubconf.py | 110 | Loads a custom or local YOLOv5 model from a given path with optional autoshaping and device specification. Args: | STRING |
| HIGH | hubconf.py | 141 | Instantiates the YOLOv5-nano model with options for pretraining, input channels, class count, autoshaping, verbosity | STRING |
| HIGH | hubconf.py | 177 | Create a YOLOv5-small (yolov5s) model with options for pretraining, input channels, class count, autoshaping, verbos | STRING |
| HIGH | hubconf.py | 218 | Instantiates the YOLOv5-medium model with customizable pretraining, channel count, class count, autoshaping, verbosi | STRING |
| HIGH | hubconf.py | 251 | Creates YOLOv5-large model with options for pretraining, channels, classes, autoshaping, verbosity, and device selec | STRING |
| HIGH | hubconf.py | 281 | Create the YOLOv5-xlarge model with options for pretraining, input channels, class count, autoshaping, verbosity, an | STRING |
| HIGH | hubconf.py | 311 | Creates YOLOv5-nano-P6 model with options for pretraining, channels, classes, autoshaping, verbosity, and device. A | STRING |
| HIGH | hubconf.py | 338 | Instantiate the YOLOv5-small-P6 model with options for pretraining, input channels, number of classes, autoshaping, | STRING |
| HIGH | hubconf.py | 375 | Create YOLOv5-medium-P6 model with options for pretraining, channel count, class count, autoshaping, verbosity, and | STRING |
| HIGH | hubconf.py | 409 | Instantiate the YOLOv5-large-P6 model with options for pretraining, channel and class counts, autoshaping, verbosity | STRING |
| HIGH | hubconf.py | 441 | Creates the YOLOv5-xlarge-P6 model with options for pretraining, number of input channels, class count, autoshaping, | STRING |
| HIGH | detect.py | 101 | Runs YOLOv5 detection inference on various sources like images, videos, directories, streams, etc. Args: we | STRING |
| HIGH | detect.py | 328 | Parse command-line arguments for YOLOv5 detection, allowing custom inference options and model configurations. Args | STRING |
| HIGH | detect.py | 412 | Executes YOLOv5 model inference based on provided command-line arguments, validating dependencies before running. A | STRING |
| HIGH | benchmarks.py | 62 | Run YOLOv5 benchmarks on multiple export formats and log results for model performance evaluation. Args: we | STRING |
| HIGH | benchmarks.py | 157 | Run YOLOv5 export tests for all supported formats and log the results, including export statuses. Args: wei | STRING |
| HIGH | benchmarks.py | 214 | Parses command-line arguments for YOLOv5 model inference configuration. Args: weights (str): The path to th | STRING |
| HIGH | benchmarks.py | 252 | Executes YOLOv5 benchmark tests or main training/inference routines based on the provided command-line arguments. A | STRING |
| HIGH | utils/autoanchor.py | 68 | Creates kmeans-evolved anchors from training dataset. Args: dataset: path to data.yaml, or a loaded dataset | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | val.py | 382 | except Exception as e: | CODE |
| LOW | export.py | 217 | except Exception as e: | CODE |
| LOW | export.py | 372 | except Exception as e: | CODE |
| LOW | export.py | 628 | except Exception: | CODE |
| LOW | export.py | 747 | except Exception: | CODE |
| LOW | hubconf.py | 86 | except Exception: | CODE |
| LOW | hubconf.py | 100 | except Exception as e: | CODE |
| LOW | benchmarks.py | 126 | except Exception as e: | CODE |
| LOW | benchmarks.py | 202 | except Exception: | CODE |
| LOW | segment/val.py | 381 | except Exception as e: | CODE |
| LOW | tests/test_invariant_export.py | 104 | except Exception: | CODE |
| LOW | utils/autobatch.py | 53 | except Exception as e: | CODE |
| LOW | utils/dataloaders.py | 523 | except Exception as e: | CODE |
| LOW | utils/dataloaders.py | 533 | except Exception: | CODE |
| LOW | utils/dataloaders.py | 688 | except Exception as e: | CODE |
| LOW | utils/dataloaders.py | 942 | except Exception as e: | CODE |
| LOW | utils/downloads.py | 67 | except Exception as e: # url2 | CODE |
| LOW⚡ | utils/downloads.py | 109 | except Exception: | CODE |
| LOW⚡ | utils/downloads.py | 112 | except Exception: | CODE |
| LOW⚡ | utils/downloads.py | 115 | except Exception: | CODE |
| LOW | utils/plots.py | 300 | except Exception as e: | CODE |
| LOW | utils/autoanchor.py | 141 | except Exception: | CODE |
| LOW | utils/torch_utils.py | 177 | except Exception: | CODE |
| LOW | utils/torch_utils.py | 188 | except Exception: # no backward method | CODE |
| LOW | utils/torch_utils.py | 198 | except Exception as e: | CODE |
| LOW | utils/general.py | 211 | except Exception: | CODE |
| LOW | utils/general.py | 288 | except Exception as e: | CODE |
| LOW | utils/general.py | 432 | except Exception: | CODE |
| LOW | utils/general.py | 910 | except Exception: | CODE |
| LOW | utils/augmentations.py | 51 | except Exception as e: | CODE |
| LOW | utils/augmentations.py | 293 | except Exception as e: | CODE |
| LOW | utils/loggers/__init__.py | 437 | except Exception as e: | CODE |
| LOW | utils/loggers/comet/comet_utils.py | 64 | except Exception: | CODE |
| LOW | utils/segment/plots.py | 146 | except Exception as e: | CODE |
| LOW | utils/flask_rest_api/restapi.py | 55 | except Exception: | CODE |
| LOW | models/yolo.py | 489 | except Exception as e: | CODE |
| LOW | .github/workflows/merge-main-into-prs.yml | 71 | except Exception as update_error: | CODE |
| LOW | .github/workflows/merge-main-into-prs.yml | 77 | except Exception as e: | CODE |
| LOW | data/Objects365.yaml | 438 | except Exception as e: | CODE |
| LOW | data/xView.yaml | 136 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | val.py | 112 | CODE | |
| LOW | val.py | 474 | CODE | |
| LOW | train.py | 106 | CODE | |
| LOW | train.py | 602 | CODE | |
| LOW | hubconf.py | 16 | CODE | |
| LOW | detect.py | 71 | CODE | |
| LOW | classify/val.py | 52 | CODE | |
| LOW | classify/predict.py | 68 | CODE | |
| LOW | classify/train.py | 78 | CODE | |
| LOW | segment/val.py | 104 | CODE | |
| LOW | segment/val.py | 428 | CODE | |
| LOW | segment/predict.py | 71 | CODE | |
| LOW | segment/train.py | 100 | CODE | |
| LOW | segment/train.py | 577 | CODE | |
| LOW | utils/dataloaders.py | 897 | CODE | |
| LOW | utils/dataloaders.py | 268 | CODE | |
| LOW | utils/dataloaders.py | 475 | CODE | |
| LOW | utils/dataloaders.py | 798 | CODE | |
| LOW | utils/downloads.py | 81 | CODE | |
| LOW | utils/plots.py | 55 | CODE | |
| LOW | utils/torch_utils.py | 79 | CODE | |
| LOW | utils/torch_utils.py | 151 | CODE | |
| LOW | utils/torch_utils.py | 263 | CODE | |
| LOW | utils/general.py | 310 | CODE | |
| LOW | utils/general.py | 350 | CODE | |
| LOW | utils/general.py | 475 | CODE | |
| LOW | utils/general.py | 478 | CODE | |
| LOW | utils/augmentations.py | 248 | CODE | |
| LOW | utils/segment/dataloaders.py | 235 | CODE | |
| LOW | utils/segment/loss.py | 48 | CODE | |
| LOW | utils/segment/plots.py | 20 | CODE | |
| LOW | utils/segment/plots.py | 116 | CODE | |
| LOW | models/tf.py | 504 | CODE | |
| LOW | models/common.py | 459 | CODE | |
| LOW | models/common.py | 685 | CODE | |
| LOW | models/common.py | 880 | CODE | |
| LOW | models/common.py | 971 | CODE | |
| LOW | models/yolo.py | 375 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | val.py | 335 | # Print results | COMMENT |
| LOW | val.py | 341 | # Print results per class | COMMENT |
| LOW | detect.py | 250 | # Print results | COMMENT |
| LOW | detect.py | 315 | # Print results | COMMENT |
| LOW | benchmarks.py | 134 | # Print results | COMMENT |
| LOW | benchmarks.py | 205 | # Print results | COMMENT |
| LOW | classify/val.py | 140 | # Print results | COMMENT |
| LOW | classify/predict.py | 151 | # Print results | COMMENT |
| LOW | classify/predict.py | 195 | # Print results | COMMENT |
| LOW | segment/val.py | 334 | # Print results | COMMENT |
| LOW | segment/val.py | 340 | # Print results per class | COMMENT |
| LOW | segment/predict.py | 182 | # Print results | COMMENT |
| LOW | segment/predict.py | 239 | # Print results | COMMENT |
| LOW | utils/loggers/comet/__init__.py | 163 | # Check if running the Experiment with the Comet Optimizer | COMMENT |
| LOW | utils/loggers/comet/__init__.py | 448 | # Check if running Experiment with Comet Optimizer | COMMENT |
| LOW | utils/loggers/clearml/clearml_utils.py | 146 | # Set data to data_dict because wandb will crash without this information and opt is the best way | COMMENT |
| LOW | .github/workflows/merge-main-into-prs.yml | 59 | # Check if PR is behind the default branch | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | utils/triton.py | 4 | CODE | |
| LOW | utils/__init__.py | 6 | CODE | |
| LOW | utils/__init__.py | 6 | CODE | |
| LOW | utils/__init__.py | 6 | CODE | |
| LOW | utils/torch_utils.py | 21 | CODE | |
| LOW | utils/torch_utils.py | 24 | CODE | |
| LOW | utils/torch_utils.py | 24 | CODE | |
| LOW | utils/torch_utils.py | 24 | CODE | |
| LOW | utils/torch_utils.py | 17 | CODE | |
| LOW | utils/torch_utils.py | 19 | CODE | |
| LOW | utils/general.py | 4 | CODE | |
| LOW | utils/general.py | 42 | CODE | |
| LOW | utils/general.py | 43 | CODE | |
| LOW | utils/general.py | 43 | CODE | |
| LOW | utils/general.py | 51 | CODE | |
| LOW | utils/general.py | 51 | CODE | |
| LOW | utils/general.py | 51 | CODE | |
| LOW | utils/general.py | 53 | CODE | |
| LOW | utils/general.py | 53 | CODE | |
| LOW | utils/general.py | 53 | CODE | |
| LOW | utils/general.py | 53 | CODE | |
| LOW | utils/general.py | 63 | CODE | |
| LOW | utils/general.py | 63 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | requirements.txt | 21 | # clearml>=1.2.0 | COMMENT |
| LOW | requirements.txt | 41 | # tritonclient[all]~=2.24.0 | COMMENT |
| LOW | pyproject.toml | 1 | # Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license | COMMENT |
| LOW | export.py | 1181 | out0.type.multiArrayType.shape[:] = out0_shape # (3780, 80) | COMMENT |
| LOW | models/common.py | 461 | # PyTorch: weights = *.pt | COMMENT |
| LOW | data/ImageNet1000.yaml | 1 | # Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license | COMMENT |
| LOW | data/coco128.yaml | 1 | # Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license | COMMENT |
| LOW | data/coco.yaml | 1 | # Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license | COMMENT |
| LOW | data/coco128-seg.yaml | 1 | # Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license | COMMENT |
| LOW | data/GlobalWheat2020.yaml | 1 | # Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license | COMMENT |
| LOW | data/VisDrone.yaml | 1 | # Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license | COMMENT |
| LOW | data/SKU-110K.yaml | 1 | # Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license | COMMENT |
| LOW | data/Objects365.yaml | 1 | # Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license | COMMENT |
| LOW | data/ImageNet10.yaml | 1 | # Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license | COMMENT |
| LOW | data/xView.yaml | 1 | # Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license | COMMENT |
| LOW | data/ImageNet100.yaml | 1 | # Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license | COMMENT |
| LOW | data/Argoverse.yaml | 1 | # Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license | COMMENT |
| LOW | data/ImageNet.yaml | 1 | # Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license | COMMENT |
| LOW | data/VOC.yaml | 1 | # Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license | COMMENT |
| LOW | data/hyps/hyp.VOC.yaml | 1 | # Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license | COMMENT |
| LOW | data/scripts/get_imagenet1000.sh | 1 | #!/bin/bash | COMMENT |
| LOW | data/scripts/get_imagenet100.sh | 1 | #!/bin/bash | COMMENT |
| LOW | data/scripts/get_imagenet10.sh | 1 | #!/bin/bash | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_invariant_export.py | 21 | def test_shell_injection_via_model_path(malicious_path): | CODE |
| LOW | tests/test_invariant_export.py | 40 | def test_export_edgetpu_no_shell_true(): | CODE |
| LOW⚡ | tests/test_flask_rest_api.py | 57 | def test_rejects_non_image_upload_with_allowed_extension(client): | CODE |
| LOW⚡ | tests/test_flask_rest_api.py | 63 | def test_rejects_upload_with_disallowed_extension(client): | CODE |
| LOW⚡ | tests/test_flask_rest_api.py | 69 | def test_rejects_oversized_upload(client): | CODE |
| LOW⚡ | tests/test_flask_rest_api.py | 75 | def test_accepts_valid_image_upload(client): | CODE |
| LOW | tests/test_invariant_common.py | 42 | def test_ssrf_redirect_target_is_validated(monkeypatch): | CODE |
| LOW | tests/test_invariant_common.py | 72 | def test_scale_image_many_masks(): | CODE |
| LOW | tests/test_invariant_common.py | 83 | def test_tensorrt_deserialize_failure_reports_environment(monkeypatch, tmp_path): | CODE |
| LOW | utils/triton.py | 36 | def create_input_placeholders() -> list[InferInput]: | CODE |
| LOW | utils/dataloaders.py | 988 | def create_classification_dataloader( | CODE |
| LOW | utils/torch_utils.py | 79 | def reshape_classifier_output(model, n=1000): | CODE |
| LOW | utils/torch_utils.py | 103 | def torch_distributed_zero_first(local_rank: int): | CODE |
| LOW | utils/loggers/__init__.py | 154 | def on_pretrain_routine_start(self): | CODE |
| LOW | utils/loggers/comet/__init__.py | 367 | def download_dataset_artifact(self, artifact_path): | CODE |
| LOW | utils/loggers/comet/comet_utils.py | 21 | def download_model_checkpoint(opt, experiment): | CODE |
| LOW | utils/segment/metrics.py | 17 | def ap_per_class_box_and_mask( | CODE |
| LOW | models/tf.py | 707 | def representative_dataset_gen(dataset, ncalib=100): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | val.py | 112 | CODE | |
| LOW | export.py | 697 | CODE | |
| LOW | export.py | 1285 | CODE | |
| LOW | detect.py | 71 | CODE | |
| LOW | benchmarks.py | 51 | CODE | |
| LOW | benchmarks.py | 146 | CODE | |
| LOW | classify/val.py | 52 | CODE | |
| LOW | classify/predict.py | 68 | CODE | |
| LOW | segment/val.py | 104 | CODE | |
| LOW | segment/predict.py | 71 | CODE | |
| LOW | utils/dataloaders.py | 106 | CODE | |
| LOW | utils/dataloaders.py | 475 | CODE | |
| LOW | utils/general.py | 658 | CODE | |
| LOW | utils/augmentations.py | 118 | CODE | |
| LOW | utils/augmentations.py | 248 | CODE | |
| LOW | utils/segment/dataloaders.py | 21 | CODE | |
| LOW | utils/segment/dataloaders.py | 89 | CODE | |
| LOW | utils/segment/augmentations.py | 26 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/test_invariant_export.py | 104 | except Exception: | CODE |
| HIGH | utils/augmentations.py | 49 | except ImportError: # package not installed, skip | CODE |
| HIGH | models/tf.py | 526 | except NameError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | export.py | 1263 | pipeline.spec.description.metadata.userDefined.update( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | train.py | 837 | # Create the next generation through crossover and mutation | COMMENT |
| MEDIUM | detect.py | 188 | # Define the path for the CSV file | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | pyproject.toml | 14 | # For comprehensive documentation and usage instructions, visit: https://docs.ultralytics.com/yolov5 | COMMENT |
| MEDIUM | models/common.py | 844 | """AutoShape class for robust YOLOv5 inference with preprocessing, NMS, and support for various input formats.""" | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | utils/loggers/comet/__init__.py | 10 | logger = logging.getLogger(__name__) | CODE |
| LOW | utils/loggers/comet/comet_utils.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | utils/loggers/comet/hpo.py | 12 | logger = logging.getLogger(__name__) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | utils/autobatch.py | 21 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | utils/augmentations.py | 275 | # TODO: implement AugMix, AutoAug & RandAug in albumentation | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | export.py | 41 | $ cd .. && git clone https://github.com/zldrobit/tfjs-yolov5-example.git && cd tfjs-yolov5-example | STRING |