High-level library to help with training and evaluating neural networks in PyTorch flexibly and transparently.
This report summarizes scanner evidence for pytorch/ignite, a Python project with 4,794 GitHub stars. SynthScan examined 92,245 lines of code across 436 source files, recording 1851 pattern matches distributed across 16 syntactic categories. The legacy adjusted pattern signal is 23.4 (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? 1398 finding(s).
Are imports declared and package/API names verified? 281 finding(s).
Are wrappers, guards, and repeated structures necessary? 1395 finding(s).
Which changes need focused human review? 1851 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 1851 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 |
|---|---|---|---|---|
| LOW | CONTRIBUTING.md | 130 | - naming of testing functions `def test_*`, e.g. `def test_precision_on_random_data()` | CODE |
| LOW | ignite/metrics/top_k_categorical_accuracy.py | 48 | def one_hot_to_binary_output_transform(output): | STRING |
| LOW | ignite/metrics/ssim.py | 156 | def _gaussian_or_uniform_kernel( | CODE |
| LOW | ignite/metrics/recall.py | 204 | def thresholded_output_transform(output): | CODE |
| LOW | ignite/metrics/fbeta.py | 128 | def thresholded_output_transform(output): | CODE |
| LOW | ignite/metrics/precision_recall_curve.py | 11 | def precision_recall_curve_compute_fn(y_preds: torch.Tensor, y_targets: torch.Tensor) -> tuple[Any, Any, Any]: | CODE |
| LOW | ignite/metrics/average_precision.py | 8 | def average_precision_compute_fn(y_preds: torch.Tensor, y_targets: torch.Tensor) -> float: | CODE |
| LOW | ignite/metrics/average_precision.py | 41 | def activated_output_transform(output): | STRING |
| LOW | ignite/metrics/metric.py | 674 | def _load_state_dict_per_rank(self, state_dict: Mapping) -> None: | CODE |
| LOW | ignite/metrics/metric.py | 903 | def _is_list_of_tensors_or_numbers(x: Sequence[torch.Tensor | float]) -> bool: | CODE |
| LOW | ignite/metrics/precision.py | 380 | def thresholded_output_transform(output): | CODE |
| LOW | ignite/metrics/mean_average_precision.py | 90 | def _compute_average_precision(self, recall: torch.Tensor, precision: torch.Tensor) -> torch.Tensor: | STRING |
| LOW | ignite/metrics/mean_average_precision.py | 244 | def _check_binary_multilabel_cases(self, output: Sequence[torch.Tensor]) -> None: | STRING |
| LOW | ignite/metrics/mean_average_precision.py | 320 | def _compute_recall_and_precision( | STRING |
| LOW | ignite/metrics/accuracy.py | 53 | def _check_binary_multilabel_cases(self, output: Sequence[torch.Tensor]) -> None: | CODE |
| LOW | ignite/metrics/accuracy.py | 287 | def thresholded_output_transform(output): | CODE |
| LOW | ignite/metrics/confusion_matrix.py | 85 | def binary_one_hot_output_transform(output): | STRING |
| LOW | ignite/metrics/matthews_corrcoef.py | 8 | def matthews_corrcoef_compute_fn(y_preds: torch.Tensor, y_targets: torch.Tensor) -> float: | CODE |
| LOW | …cs/vision/object_detection_average_precision_recall.py | 11 | def coco_tensor_list_to_dict_list( | CODE |
| LOW | …cs/vision/object_detection_average_precision_recall.py | 180 | def _compute_recall_and_precision( | STRING |
| LOW | …cs/vision/object_detection_average_precision_recall.py | 221 | def _compute_average_precision(self, recall: torch.Tensor, precision: torch.Tensor) -> torch.Tensor: | STRING |
| LOW | ignite/metrics/nlp/bleu.py | 191 | def _brevity_penalty_smoothing( | STRING |
| LOW | …metrics/regression/median_absolute_percentage_error.py | 9 | def median_absolute_percentage_error_compute_fn(y_pred: torch.Tensor, y: torch.Tensor) -> float: | CODE |
| LOW | ignite/metrics/regression/median_absolute_error.py | 10 | def median_absolute_error_compute_fn(y_pred: torch.Tensor, y: torch.Tensor) -> float: | CODE |
| LOW | …e/metrics/regression/median_relative_absolute_error.py | 10 | def median_relative_absolute_error_compute_fn(y_pred: torch.Tensor, y: torch.Tensor) -> float: | CODE |
| LOW | ignite/distributed/utils.py | 356 | def all_gather_tensors_with_shapes( | CODE |
| LOW | ignite/distributed/comp_models/__init__.py | 16 | def setup_available_computation_models() -> tuple[ | CODE |
| LOW | ignite/distributed/comp_models/native.py | 190 | def _compute_node_and_local_ranks(rank: int, hostnames: list[tuple[str, ...]]) -> tuple[int, int]: | CODE |
| LOW | ignite/distributed/comp_models/native.py | 200 | def _compute_local_rank_via_hostname(self) -> int: | CODE |
| LOW | ignite/distributed/comp_models/native.py | 578 | def _setup_ddp_vars_from_slurm_env(environ: dict[str, str]) -> dict[str, str | int]: | CODE |
| LOW | ignite/contrib/engines/common.py | 51 | def setup_common_training_handlers( | CODE |
| LOW | ignite/contrib/engines/common.py | 155 | def _setup_common_training_handlers( | CODE |
| LOW | ignite/contrib/engines/common.py | 239 | def _setup_common_distrib_training_handlers( | CODE |
| LOW | ignite/contrib/engines/common.py | 310 | def gen_save_best_models_by_val_score( | CODE |
| LOW | ignite/contrib/engines/common.py | 372 | def save_best_model_by_val_score( | CODE |
| LOW | ignite/contrib/engines/common.py | 417 | def add_early_stopping_by_val_score( | CODE |
| LOW | ignite/contrib/engines/tbptt.py | 35 | def create_supervised_tbptt_trainer( | CODE |
| LOW | ignite/engine/events.py | 152 | def before_and_after_event_filter(before: int | None = None, after: int | None = None) -> Callable: | CODE |
| LOW | ignite/engine/events.py | 165 | def every_before_and_after_event_filter( | CODE |
| LOW | ignite/engine/events.py | 344 | def call_every_itr_before_after(engine): | STRING |
| LOW | ignite/engine/__init__.py | 141 | def supervised_training_step_amp( | CODE |
| LOW | ignite/engine/__init__.py | 237 | def supervised_training_step_apex( | CODE |
| LOW | ignite/engine/__init__.py | 324 | def supervised_training_step_tpu( | CODE |
| LOW | ignite/engine/__init__.py | 440 | def create_supervised_trainer( | CODE |
| LOW | ignite/engine/__init__.py | 638 | def supervised_evaluation_step( | CODE |
| LOW | ignite/engine/__init__.py | 696 | def supervised_evaluation_step_amp( | CODE |
| LOW | ignite/engine/__init__.py | 759 | def create_supervised_evaluator( | CODE |
| LOW | ignite/engine/engine.py | 829 | def _check_and_set_termination_param( | CODE |
| LOW | ignite/engine/engine.py | 846 | def _check_and_set_max_epochs(self, max_epochs: int | None = None) -> None: | CODE |
| LOW | ignite/engine/engine.py | 1179 | def _maybe_terminate_or_interrupt(self) -> Generator: | CODE |
| LOW | ignite/engine/engine.py | 1191 | def _run_once_on_dataset_as_gen(self) -> Generator[State, None, float]: | CODE |
| LOW | ignite/engine/engine.py | 1378 | def _run_once_on_dataset_legacy(self) -> float: | CODE |
| LOW | ignite/handlers/param_scheduler.py | 1062 | def create_lr_scheduler_with_warmup( | CODE |
| LOW | ignite/handlers/mlflow_logger.py | 175 | def _create_opt_params_handler(self, *args: Any, **kwargs: Any) -> "OptimizerParamsHandler": | CODE |
| LOW | ignite/handlers/polyaxon_logger.py | 147 | def _create_opt_params_handler(self, *args: Any, **kwargs: Any) -> "OptimizerParamsHandler": | CODE |
| LOW | ignite/handlers/tensorboard_logger.py | 231 | def _create_opt_params_handler(self, *args: Any, **kwargs: Any) -> "OptimizerParamsHandler": | CODE |
| LOW | ignite/handlers/wandb_logger.py | 169 | def _create_opt_params_handler(self, *args: Any, **kwargs: Any) -> "OptimizerParamsHandler": | CODE |
| LOW | ignite/handlers/visdom_logger.py | 220 | def _create_opt_params_handler(self, *args: Any, **kwargs: Any) -> "OptimizerParamsHandler": | CODE |
| LOW | ignite/handlers/base_logger.py | 112 | def _setup_output_metrics_state_attrs( | CODE |
| LOW | ignite/handlers/base_logger.py | 285 | def attach_opt_params_handler( | CODE |
| 1129 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ignite/__init__.py | 1 | CODE | |
| LOW | ignite/__init__.py | 2 | CODE | |
| LOW | ignite/__init__.py | 3 | CODE | |
| LOW | ignite/__init__.py | 4 | CODE | |
| LOW | ignite/__init__.py | 5 | CODE | |
| LOW | ignite/__init__.py | 6 | CODE | |
| LOW | ignite/__init__.py | 7 | CODE | |
| LOW | ignite/utils.py | 1 | CODE | |
| LOW | ignite/_utils.py | 2 | CODE | |
| LOW | ignite/_utils.py | 2 | CODE | |
| LOW | ignite/_utils.py | 2 | CODE | |
| LOW | ignite/_utils.py | 2 | CODE | |
| LOW | ignite/metrics/__init__.py | 1 | CODE | |
| LOW | ignite/metrics/__init__.py | 2 | CODE | |
| LOW | ignite/metrics/__init__.py | 3 | CODE | |
| LOW | ignite/metrics/__init__.py | 5 | CODE | |
| LOW | ignite/metrics/__init__.py | 5 | CODE | |
| LOW | ignite/metrics/__init__.py | 5 | CODE | |
| LOW | ignite/metrics/__init__.py | 6 | CODE | |
| LOW | ignite/metrics/__init__.py | 7 | CODE | |
| LOW | ignite/metrics/__init__.py | 8 | CODE | |
| LOW | ignite/metrics/__init__.py | 9 | CODE | |
| LOW | ignite/metrics/__init__.py | 10 | CODE | |
| LOW | ignite/metrics/__init__.py | 10 | CODE | |
| LOW | ignite/metrics/__init__.py | 10 | CODE | |
| LOW | ignite/metrics/__init__.py | 10 | CODE | |
| LOW | ignite/metrics/__init__.py | 10 | CODE | |
| LOW | ignite/metrics/__init__.py | 11 | CODE | |
| LOW | ignite/metrics/__init__.py | 12 | CODE | |
| LOW | ignite/metrics/__init__.py | 13 | CODE | |
| LOW | ignite/metrics/__init__.py | 14 | CODE | |
| LOW | ignite/metrics/__init__.py | 15 | CODE | |
| LOW | ignite/metrics/__init__.py | 16 | CODE | |
| LOW | ignite/metrics/__init__.py | 17 | CODE | |
| LOW | ignite/metrics/__init__.py | 18 | CODE | |
| LOW | ignite/metrics/__init__.py | 19 | CODE | |
| LOW | ignite/metrics/__init__.py | 20 | CODE | |
| LOW | ignite/metrics/__init__.py | 21 | CODE | |
| LOW | ignite/metrics/__init__.py | 22 | CODE | |
| LOW | ignite/metrics/__init__.py | 23 | CODE | |
| LOW | ignite/metrics/__init__.py | 24 | CODE | |
| LOW | ignite/metrics/__init__.py | 25 | CODE | |
| LOW | ignite/metrics/__init__.py | 26 | CODE | |
| LOW | ignite/metrics/__init__.py | 27 | CODE | |
| LOW | ignite/metrics/__init__.py | 28 | CODE | |
| LOW | ignite/metrics/__init__.py | 29 | CODE | |
| LOW | ignite/metrics/__init__.py | 29 | CODE | |
| LOW | ignite/metrics/__init__.py | 29 | CODE | |
| LOW | ignite/metrics/__init__.py | 29 | CODE | |
| LOW | ignite/metrics/__init__.py | 29 | CODE | |
| LOW | ignite/metrics/__init__.py | 30 | CODE | |
| LOW | ignite/metrics/__init__.py | 31 | CODE | |
| LOW | ignite/metrics/__init__.py | 32 | CODE | |
| LOW | ignite/metrics/__init__.py | 33 | CODE | |
| LOW | ignite/metrics/__init__.py | 34 | CODE | |
| LOW | ignite/metrics/__init__.py | 35 | CODE | |
| LOW | ignite/metrics/__init__.py | 36 | CODE | |
| LOW | ignite/metrics/__init__.py | 36 | CODE | |
| LOW | ignite/metrics/__init__.py | 36 | CODE | |
| LOW | ignite/metrics/__init__.py | 37 | CODE | |
| 215 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | ignite/utils.py | 249 | Setups logger: name, level, format etc. Args: name: new name for the logger. If None, the standard logger i | STRING |
| HIGH | ignite/metrics/fbeta.py | 22 | Calculates F-beta score. .. math:: F_\beta = \left( 1 + \beta^2 \right) * \frac{ \text{precision} * \text{r | STRING |
| HIGH | ignite/metrics/metric.py | 224 | Base class for all Metrics. Args: output_transform: a callable that is used to transform the | STRING |
| HIGH | ignite/metrics/loss.py | 12 | Calculates the average loss according to the passed loss_fn. Args: loss_fn: a callable taking a predic | STRING |
| HIGH | ignite/metrics/confusion_matrix.py | 206 | Calculates Intersection over Union using :class:`~ignite.metrics.confusion_matrix.ConfusionMatrix` metric. .. math: | STRING |
| HIGH | ignite/metrics/confusion_matrix.py | 275 | Calculates mean Intersection over Union using :class:`~ignite.metrics.confusion_matrix.ConfusionMatrix` metric. Arg | STRING |
| HIGH | ignite/metrics/confusion_matrix.py | 434 | Calculates the Jaccard Index using :class:`~ignite.metrics.confusion_matrix.ConfusionMatrix` metric. Implementation | STRING |
| HIGH | ignite/distributed/utils.py | 359 | Helper method to gather tensors of possibly different shapes but with the same number of dimensions across processes | STRING |
| HIGH | ignite/distributed/utils.py | 438 | Helper method to perform broadcast operation. Args: tensor: tensor, number, str or pathlib.Path to broadcas | STRING |
| HIGH | ignite/distributed/utils.py | 572 | Initializes distributed configuration according to provided ``backend`` Args: backend: backend: `nccl`, `gl | STRING |
| HIGH | ignite/distributed/auto.py | 24 | Helper method to create a dataloader adapted for non-distributed and distributed configurations (supporting all avai | STRING |
| HIGH | ignite/distributed/auto.py | 145 | Helper method to adapt provided model for non-distributed and distributed configurations (supporting all available b | STRING |
| HIGH | ignite/distributed/auto.py | 239 | Helper method to adapt optimizer for non-distributed and distributed configurations (supporting all available backen | STRING |
| HIGH | ignite/engine/__init__.py | 70 | Factory function for supervised training. Args: model: the model to train. optimizer: the optimizer | STRING |
| HIGH | ignite/engine/__init__.py | 154 | Factory function for supervised training using ``torch.amp``. Args: model: the model to train. opti | STRING |
| HIGH | ignite/engine/__init__.py | 249 | Factory function for supervised training using apex. Args: model: the model to train. optimizer: th | STRING |
| HIGH | ignite/engine/__init__.py | 336 | Factory function for supervised training using ``torch_xla``. Args: model: the model to train. opti | STRING |
| HIGH | ignite/engine/__init__.py | 455 | Factory function for creating a trainer for supervised models. Args: model: the model to train. opt | STRING |
| HIGH | ignite/engine/engine.py | 21 | Runs a given ``process_function`` over each batch of a dataset, emitting events as it goes. Args: process_f | STRING |
| HIGH | ignite/engine/engine.py | 280 | Add an event handler to be executed when the specified event is fired. Args: event_name: An event o | STRING |
| HIGH | ignite/handlers/ema_handler.py | 29 | Exponential moving average (EMA) handler can be used to compute a smoothed version of model. The EMA model is update | STRING |
| HIGH | ignite/handlers/param_scheduler.py | 117 | Method to plot simulated scheduled values during `num_events` events. This class requires `matplotlib package < | STRING |
| HIGH | ignite/handlers/param_scheduler.py | 248 | Method to simulate scheduled values during `num_events` events. Args: num_events: number of events | STRING |
| HIGH | ignite/handlers/param_scheduler.py | 1070 | Helper method to create a learning rate scheduler with a linear warm-up. Args: lr_scheduler: learning | STRING |
| HIGH | ignite/handlers/mlflow_logger.py | 18 | `MLflow <https://mlflow.org>`_ tracking client handler to log parameters and metrics during the training and va | STRING |
| HIGH | ignite/handlers/mlflow_logger.py | 180 | Helper handler to log engine's output and/or metrics. Args: tag: common title for all produced plots. For e | STRING |
| HIGH | ignite/handlers/polyaxon_logger.py | 16 | `Polyaxon tracking client <https://polyaxon.com/>`_ handler to log parameters and metrics during the training a | STRING |
| HIGH | ignite/handlers/polyaxon_logger.py | 152 | Helper handler to log engine's output and/or metrics. Args: tag: common title for all produced plots. For e | STRING |
| HIGH | ignite/handlers/checkpoint.py | 86 | Checkpoint handler can be used to periodically save and load objects which have attribute ``state_dict/load_state_di | STRING |
| HIGH | ignite/handlers/tensorboard_logger.py | 236 | Helper handler to log engine's output, engine's state attributes and/or metrics Args: tag: common title for | STRING |
| HIGH | ignite/handlers/visdom_logger.py | 269 | Helper handler to log engine's output and/or metrics Args: tag: common title for all produced plots. For ex | STRING |
| HIGH | ignite/handlers/lr_finder.py | 395 | Attaches lr_finder to a given trainer. It also resets model and optimizer at the end of the run. Args: | STRING |
| HIGH | ignite/handlers/stores.py | 8 | EpochOutputStore handler to save output prediction and target history after every epoch, could be useful for e.g., v | STRING |
| HIGH | ignite/handlers/state_param_scheduler.py | 78 | Method to simulate scheduled engine state parameter values during `num_events` events. Args: num_ev | STRING |
| HIGH | ignite/handlers/clearml_logger.py | 232 | Helper handler to log engine's output and/or metrics Args: tag: common title for all produced plots. For ex | STRING |
| HIGH | ignite/handlers/timing.py | 10 | Timer object can be used to measure (average) time between events. Args: average: if True, then when ``.val | STRING |
| HIGH | ignite/handlers/neptune_logger.py | 216 | Helper handler to log engine's output and/or metrics. Args: tag: common title for all produced plots. For e | STRING |
| HIGH | ignite/handlers/logger_utils.py | 101 | Method to setup TensorBoard logging on trainer and a list of evaluators. Logged metrics are: - Training metrics | STRING |
| HIGH | ignite/handlers/logger_utils.py | 165 | Method to setup Visdom logging on trainer and a list of evaluators. Logged metrics are: - Training metrics, e.g | STRING |
| HIGH | ignite/handlers/logger_utils.py | 232 | Method to setup MLflow logging on trainer and a list of evaluators. Logged metrics are: - Training metrics, e.g | STRING |
| HIGH | ignite/handlers/logger_utils.py | 294 | Method to setup Neptune logging on trainer and a list of evaluators. Logged metrics are: - Training metrics, e. | STRING |
| HIGH | ignite/handlers/logger_utils.py | 356 | Method to setup WandB logging on trainer and a list of evaluators. Logged metrics are: - Training metrics, e.g. | STRING |
| HIGH | ignite/handlers/logger_utils.py | 418 | Method to setup Polyaxon logging on trainer and a list of evaluators. Logged metrics are: - Training metrics, e | STRING |
| HIGH | ignite/handlers/logger_utils.py | 480 | Method to setup ClearML logging on trainer and a list of evaluators. Logged metrics are: - Training metrics, e. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ignite/utils.py | 17 | __all__ = [ | CODE |
| LOW | ignite/exceptions.py | 1 | __all__ = ["NotComputableError"] | CODE |
| LOW | ignite/_utils.py | 4 | __all__ = ["apply_to_tensor", "apply_to_type", "convert_tensor", "to_onehot"] | CODE |
| LOW | ignite/metrics/mean_squared_error.py | 8 | __all__ = ["MeanSquaredError"] | CODE |
| LOW | ignite/metrics/multilabel_confusion_matrix.py | 8 | __all__ = ["MultiLabelConfusionMatrix"] | CODE |
| LOW | ignite/metrics/top_k_categorical_accuracy.py | 8 | __all__ = ["TopKCategoricalAccuracy"] | CODE |
| LOW | ignite/metrics/mutual_information.py | 7 | __all__ = ["MutualInformation"] | CODE |
| LOW | ignite/metrics/mean_absolute_error.py | 8 | __all__ = ["MeanAbsoluteError"] | CODE |
| LOW | ignite/metrics/ssim.py | 10 | __all__ = ["SSIM"] | CODE |
| LOW | ignite/metrics/recall.py | 8 | __all__ = ["Recall"] | CODE |
| LOW | ignite/metrics/fbeta.py | 10 | __all__ = ["Fbeta"] | CODE |
| LOW | ignite/metrics/root_mean_squared_error.py | 7 | __all__ = ["RootMeanSquaredError"] | CODE |
| LOW | ignite/metrics/__init__.py | 55 | __all__ = [ | CODE |
| LOW | ignite/metrics/accumulation.py | 9 | __all__ = ["VariableAccumulation", "GeometricAverage", "Average"] | CODE |
| LOW | ignite/metrics/hsic.py | 9 | __all__ = ["HSIC"] | CODE |
| LOW | ignite/metrics/metric.py | 19 | __all__ = [ | CODE |
| LOW | ignite/metrics/precision.py | 13 | __all__ = ["Precision"] | CODE |
| LOW | ignite/metrics/epoch_metric.py | 11 | __all__ = ["EpochMetric"] | CODE |
| LOW | ignite/metrics/loss.py | 8 | __all__ = ["Loss"] | CODE |
| LOW | ignite/metrics/js_divergence.py | 9 | __all__ = ["JSDivergence"] | CODE |
| LOW | ignite/metrics/cosine_similarity.py | 8 | __all__ = ["CosineSimilarity"] | CODE |
| LOW | ignite/metrics/psnr.py | 8 | __all__ = ["PSNR"] | CODE |
| LOW | ignite/metrics/running_average.py | 11 | __all__ = ["RunningAverage"] | CODE |
| LOW | ignite/metrics/metrics_lambda.py | 10 | __all__ = ["MetricsLambda"] | CODE |
| LOW | ignite/metrics/kl_divergence.py | 10 | __all__ = ["KLDivergence"] | CODE |
| LOW | ignite/metrics/accuracy.py | 9 | __all__ = ["Accuracy"] | CODE |
| LOW | ignite/metrics/mean_pairwise_distance.py | 9 | __all__ = ["MeanPairwiseDistance"] | CODE |
| LOW | ignite/metrics/confusion_matrix.py | 10 | __all__ = ["ConfusionMatrix", "mIoU", "IoU", "DiceCoefficient", "cmAccuracy", "cmPrecision", "cmRecall", "JaccardIndex"] | CODE |
| LOW | ignite/metrics/entropy.py | 9 | __all__ = ["Entropy"] | CODE |
| LOW | ignite/metrics/maximum_mean_discrepancy.py | 8 | __all__ = ["MaximumMeanDiscrepancy"] | CODE |
| LOW | ignite/metrics/classification_report.py | 12 | __all__ = ["ClassificationReport"] | CODE |
| LOW | ignite/metrics/gan/__init__.py | 4 | __all__ = [ | CODE |
| LOW | ignite/metrics/gan/fid.py | 10 | __all__ = [ | CODE |
| LOW | ignite/metrics/gan/inception_score.py | 11 | __all__ = ["InceptionScore"] | CODE |
| LOW | ignite/metrics/clustering/silhouette_score.py | 9 | __all__ = ["SilhouetteScore"] | CODE |
| LOW | ignite/metrics/clustering/davies_bouldin_score.py | 9 | __all__ = ["DaviesBouldinScore"] | CODE |
| LOW | ignite/metrics/clustering/calinski_harabasz_score.py | 9 | __all__ = ["CalinskiHarabaszScore"] | CODE |
| LOW | ignite/metrics/vision/__init__.py | 3 | __all__ = ["ObjectDetectionAvgPrecisionRecall"] | CODE |
| LOW | ignite/metrics/fairness/accuracy_difference.py | 6 | __all__ = ["SubgroupAccuracyDifference"] | CODE |
| LOW | ignite/metrics/fairness/demographic_parity.py | 9 | __all__ = ["DemographicParityDifference", "SelectionRate"] | CODE |
| LOW | ignite/metrics/fairness/base.py | 10 | __all__ = ["SubgroupMetric", "SubgroupDifference"] | CODE |
| LOW | ignite/metrics/nlp/bleu.py | 12 | __all__ = ["Bleu"] | CODE |
| LOW | ignite/metrics/nlp/perplexity.py | 9 | __all__ = ["Perplexity"] | CODE |
| LOW | ignite/metrics/nlp/rouge.py | 13 | __all__ = ["Rouge", "RougeN", "RougeL"] | CODE |
| LOW | ignite/metrics/nlp/__init__.py | 6 | __all__ = [ | CODE |
| LOW | ignite/metrics/nlp/utils.py | 5 | __all__ = ["ngrams", "lcs", "modified_precision"] | CODE |
| LOW | ignite/metrics/nlp/character_error_rate.py | 9 | __all__ = ["CharacterErrorRate"] | CODE |
| LOW | ignite/metrics/rec_sys/ndcg.py | 8 | __all__ = ["NDCG"] | CODE |
| LOW | ignite/metrics/rec_sys/__init__.py | 4 | __all__ = ["HitRate", "NDCG"] | CODE |
| LOW | ignite/metrics/rec_sys/hitrate.py | 8 | __all__ = ["HitRate"] | CODE |
| LOW | ignite/distributed/utils.py | 22 | __all__ = [ | CODE |
| LOW | ignite/distributed/utils.py | 531 | def set_local_rank(index: int) -> None: | CODE |
| LOW | ignite/distributed/utils.py | 557 | def _set_model(model: Any, temporary: bool = False) -> None: | CODE |
| LOW | ignite/distributed/launcher.py | 9 | __all__ = [ | CODE |
| LOW | ignite/distributed/auto.py | 20 | __all__ = ["auto_dataloader", "auto_model", "auto_optim", "DistributedProxySampler"] | CODE |
| LOW | ignite/distributed/comp_models/native.py | 258 | def _setup_env_in_slurm(self) -> None: | CODE |
| LOW | ignite/distributed/comp_models/base.py | 29 | def _setup_attrs(self) -> None: | CODE |
| LOW | ignite/contrib/metrics/gpu_info.py | 18 | __all__ = [ | CODE |
| LOW | ignite/contrib/metrics/roc_auc.py | 18 | __all__ = ["RocCurve", "ROC_AUC"] | CODE |
| LOW | ignite/contrib/metrics/precision_recall_curve.py | 18 | __all__ = [ | CODE |
| 62 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | ignite/utils.py | 387 | except ImportError: | CODE |
| HIGH | ignite/utils.py | 394 | except ImportError: | CODE |
| HIGH | ignite/metrics/gpu_info.py | 97 | except ValueError: | CODE |
| HIGH | ignite/distributed/auto.py | 134 | except ImportError: | CODE |
| HIGH | ignite/engine/deterministic.py | 94 | except ImportError: | CODE |
| HIGH | ignite/engine/deterministic.py | 111 | except ImportError: | CODE |
| HIGH | ignite/engine/deterministic.py | 266 | except TypeError as e: | CODE |
| HIGH | ignite/engine/engine.py | 1069 | except TypeError: | CODE |
| HIGH | ignite/handlers/polyaxon_logger.py | 138 | except Exception: | CODE |
| HIGH | ignite/handlers/clearml_logger.py | 1013 | except ValueError: | CODE |
| HIGH | tests/ignite/conftest.py | 185 | except FileNotFoundError: | CODE |
| HIGH | tests/ignite/metrics/nlp/test_rouge.py | 29 | except filelock._error.Timeout: | CODE |
| HIGH | tests/ignite/distributed/test_auto.py | 259 | except ImportError: | CODE |
| HIGH | tests/ignite/distributed/utils/test_xla.py | 45 | except SystemExit: | CODE |
| HIGH | tests/ignite/distributed/utils/test_xla.py | 56 | except SystemExit: | CODE |
| HIGH | tests/ignite/distributed/comp_models/test_xla.py | 46 | except SystemExit: | CODE |
| HIGH | tests/ignite/distributed/comp_models/test_xla.py | 57 | except SystemExit: | CODE |
| HIGH | tests/ignite/handlers/test_clearml_logger.py | 896 | except ValueError: | CODE |
| HIGH | tests/ignite/handlers/test_neptune_logger.py | 546 | except Exception: | CODE |
| HIGH | tests/ignite/handlers/test_lr_finder.py | 168 | except filelock._error.Timeout: | CODE |
| HIGH | tests/ignite/handlers/test_checkpoint.py | 645 | except Exception: | CODE |
| HIGH | examples/references/segmentation/pascal_voc2012/main.py | 174 | except NameError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | ignite/handlers/mlflow_logger.py | 36 | # Create a logger | STRING |
| MEDIUM | ignite/handlers/mlflow_logger.py | 202 | # Create a logger | STRING |
| MEDIUM | ignite/handlers/mlflow_logger.py | 334 | # Create a logger | STRING |
| MEDIUM | ignite/handlers/polyaxon_logger.py | 41 | # Create a logger | STRING |
| MEDIUM | ignite/handlers/polyaxon_logger.py | 174 | # Create a logger | STRING |
| MEDIUM | ignite/handlers/polyaxon_logger.py | 292 | # Create a logger | STRING |
| MEDIUM | ignite/handlers/tensorboard_logger.py | 59 | # Create a logger | STRING |
| MEDIUM | ignite/handlers/tensorboard_logger.py | 258 | # Create a logger | STRING |
| MEDIUM | ignite/handlers/tensorboard_logger.py | 376 | # Create a logger | STRING |
| MEDIUM | ignite/handlers/tensorboard_logger.py | 433 | # Create a logger | STRING |
| MEDIUM | ignite/handlers/tensorboard_logger.py | 512 | # Create a logger | STRING |
| MEDIUM | ignite/handlers/tensorboard_logger.py | 593 | # Create a logger | STRING |
| MEDIUM | ignite/handlers/tensorboard_logger.py | 674 | # Create a logger | STRING |
| MEDIUM | ignite/handlers/wandb_logger.py | 37 | # Create a logger. All parameters are optional. See documentation | STRING |
| MEDIUM | ignite/handlers/wandb_logger.py | 196 | # Create a logger. All parameters are optional. See documentation | STRING |
| MEDIUM | ignite/handlers/wandb_logger.py | 238 | # Create a logger. All parameters are optional. See documentation | STRING |
| MEDIUM | ignite/handlers/wandb_logger.py | 332 | # Create a logger. All parameters are optional. See documentation | STRING |
| MEDIUM | ignite/handlers/visdom_logger.py | 71 | # Create a logger | STRING |
| MEDIUM | ignite/handlers/visdom_logger.py | 292 | # Create a logger | STRING |
| MEDIUM | ignite/handlers/visdom_logger.py | 413 | # Create a logger | STRING |
| MEDIUM | ignite/handlers/visdom_logger.py | 467 | # Create a logger | STRING |
| MEDIUM | ignite/handlers/visdom_logger.py | 515 | # Create a logger | STRING |
| MEDIUM | ignite/handlers/time_profilers.py | 24 | # Create an object of the profiler and attach an engine to it | STRING |
| MEDIUM | ignite/handlers/time_profilers.py | 478 | # Create an object of the profiler and attach an engine to it | COMMENT |
| MEDIUM | ignite/handlers/clearml_logger.py | 61 | # Create a logger | STRING |
| MEDIUM | ignite/handlers/clearml_logger.py | 254 | # Create a logger | STRING |
| MEDIUM | ignite/handlers/clearml_logger.py | 292 | # Create a logger | STRING |
| MEDIUM | ignite/handlers/clearml_logger.py | 388 | # Create a logger | STRING |
| MEDIUM | ignite/handlers/clearml_logger.py | 450 | # Create a logger | STRING |
| MEDIUM | ignite/handlers/clearml_logger.py | 540 | # Create a logger | STRING |
| MEDIUM | ignite/handlers/clearml_logger.py | 635 | # Create a logger | STRING |
| MEDIUM | ignite/handlers/clearml_logger.py | 729 | # Create a logger | STRING |
| MEDIUM | ignite/handlers/neptune_logger.py | 59 | # Create a logger | STRING |
| MEDIUM | ignite/handlers/neptune_logger.py | 238 | # Create a logger | STRING |
| MEDIUM | ignite/handlers/neptune_logger.py | 371 | # Create a logger | STRING |
| MEDIUM | ignite/handlers/neptune_logger.py | 436 | # Create a logger | STRING |
| MEDIUM | ignite/handlers/neptune_logger.py | 539 | # Create a logger | STRING |
| MEDIUM | ignite/handlers/neptune_logger.py | 637 | # Create a logger | STRING |
| MEDIUM | tests/ignite/metrics/test_confusion_matrix.py | 157 | # Create a batch of two images: | COMMENT |
| MEDIUM | tests/ignite/metrics/test_confusion_matrix.py | 162 | # Create a batch of 2 logits tensors | COMMENT |
| MEDIUM | tests/ignite/metrics/test_confusion_matrix.py | 488 | # Create a batch of two images: | COMMENT |
| MEDIUM | tests/ignite/metrics/test_confusion_matrix.py | 494 | # Create a batch of 2 logits tensors | COMMENT |
| MEDIUM | …sts/ignite/metrics/test_multilabel_confusion_matrix.py | 114 | # Create a batch of two images: | COMMENT |
| MEDIUM | …sts/ignite/metrics/test_multilabel_confusion_matrix.py | 163 | # Create a batch of two images: | COMMENT |
| MEDIUM | tests/ignite/handlers/test_clearml_logger.py | 777 | # Create a mock clearml.Logger() object | COMMENT |
| MEDIUM | tests/ignite/handlers/test_tensorboard_logger.py | 36 | # Create a mock SummaryWriter object | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ignite/utils.py | 98 | CODE | |
| LOW | ignite/utils.py | 135 | CODE | |
| LOW | ignite/metrics/recall.py | 231 | CODE | |
| LOW | ignite/metrics/metric.py | 825 | CODE | |
| LOW | ignite/metrics/metric.py | 489 | CODE | |
| LOW | ignite/metrics/metric.py | 674 | CODE | |
| LOW | ignite/metrics/metric.py | 838 | CODE | |
| LOW | ignite/metrics/metric.py | 677 | CODE | |
| LOW | ignite/metrics/metric.py | 840 | CODE | |
| LOW | ignite/metrics/precision.py | 138 | CODE | |
| LOW | ignite/metrics/precision.py | 407 | CODE | |
| LOW | ignite/metrics/metrics_lambda.py | 148 | CODE | |
| LOW | ignite/metrics/metrics_lambda.py | 183 | CODE | |
| LOW | ignite/metrics/accuracy.py | 334 | CODE | |
| LOW | …cs/vision/object_detection_average_precision_recall.py | 136 | CODE | |
| LOW | …cs/vision/object_detection_average_precision_recall.py | 255 | CODE | |
| LOW | ignite/metrics/fairness/demographic_parity.py | 65 | CODE | |
| LOW | ignite/metrics/nlp/utils.py | 24 | CODE | |
| LOW | ignite/distributed/auto.py | 23 | CODE | |
| LOW | ignite/distributed/auto.py | 144 | CODE | |
| LOW | ignite/distributed/comp_models/native.py | 578 | CODE | |
| LOW | ignite/distributed/comp_models/base.py | 109 | CODE | |
| LOW | ignite/distributed/comp_models/base.py | 131 | CODE | |
| LOW | ignite/contrib/engines/common.py | 155 | CODE | |
| LOW | ignite/engine/deterministic.py | 202 | CODE | |
| LOW | ignite/engine/__init__.py | 409 | CODE | |
| LOW | ignite/engine/engine.py | 724 | CODE | |
| LOW | ignite/engine/engine.py | 890 | CODE | |
| LOW | ignite/engine/engine.py | 1104 | CODE | |
| LOW | ignite/engine/engine.py | 1191 | CODE | |
| LOW | ignite/engine/engine.py | 1302 | CODE | |
| LOW | ignite/engine/engine.py | 1378 | CODE | |
| LOW | ignite/handlers/param_scheduler.py | 1062 | CODE | |
| LOW | ignite/handlers/checkpoint.py | 529 | CODE | |
| LOW | ignite/handlers/lr_finder.py | 383 | CODE | |
| LOW | ignite/handlers/base_logger.py | 173 | CODE | |
| LOW | ignite/handlers/base_logger.py | 112 | CODE | |
| LOW | tests/ignite/metrics/test_classification_report.py | 144 | CODE | |
| LOW | tests/ignite/metrics/test_classification_report.py | 178 | CODE | |
| LOW | tests/ignite/metrics/test_psnr.py | 32 | CODE | |
| LOW | tests/ignite/metrics/nlp/_pyrouge.py | 129 | CODE | |
| LOW | tests/ignite/metrics/nlp/_pyrouge.py | 203 | CODE | |
| LOW | tests/ignite/metrics/nlp/_pyrouge.py | 338 | CODE | |
| LOW | tests/ignite/metrics/nlp/_pyrouge.py | 422 | CODE | |
| LOW | tests/ignite/metrics/nlp/_pyrouge.py | 513 | CODE | |
| LOW | tests/ignite/metrics/nlp/_pyrouge.py | 558 | CODE | |
| LOW | tests/ignite/metrics/nlp/_pyrouge.py | 204 | CODE | |
| LOW | tests/ignite/metrics/nlp/_pyrouge.py | 224 | CODE | |
| LOW | tests/ignite/metrics/nlp/_pyrouge.py | 249 | CODE | |
| LOW | tests/ignite/metrics/nlp/test_bleu.py | 47 | CODE | |
| LOW | tests/ignite/distributed/utils/__init__.py | 123 | CODE | |
| LOW | tests/ignite/distributed/utils/__init__.py | 227 | CODE | |
| LOW | tests/ignite/distributed/utils/__init__.py | 412 | CODE | |
| LOW | tests/ignite/engine/test_custom_events.py | 149 | CODE | |
| LOW | tests/ignite/engine/test_create_supervised.py | 184 | CODE | |
| LOW | tests/ignite/engine/test_create_supervised.py | 328 | CODE | |
| LOW | tests/ignite/handlers/test_clearml_logger.py | 851 | CODE | |
| LOW | tests/ignite/handlers/test_checkpoint.py | 1659 | CODE | |
| LOW | docs/source/conf.py | 280 | CODE | |
| LOW | examples/gan/dcgan.py | 146 | CODE | |
| 1 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | ignite/metrics/mean_squared_error.py | 0 | calculates the `root mean squared error <https://en.wikipedia.org/wiki/root-mean-square_deviation>`_. .. math:: \text{rm | STRING |
| HIGH | ignite/metrics/mean_absolute_error.py | 0 | calculates the `root mean squared error <https://en.wikipedia.org/wiki/root-mean-square_deviation>`_. .. math:: \text{rm | STRING |
| HIGH | ignite/metrics/root_mean_squared_error.py | 0 | calculates the `root mean squared error <https://en.wikipedia.org/wiki/root-mean-square_deviation>`_. .. math:: \text{rm | STRING |
| HIGH | ignite/distributed/comp_models/horovod.py | 0 | this is a private method. please, use `create_from_backend` or `create_from_context` | STRING |
| HIGH | ignite/distributed/comp_models/native.py | 0 | this is a private method. please, use `create_from_backend` or `create_from_context` | STRING |
| HIGH | ignite/distributed/comp_models/xla.py | 0 | this is a private method. please, use `create_from_backend` or `create_from_context` | STRING |
| HIGH | ignite/handlers/mlflow_logger.py | 0 | helper handler to log engine's output and/or metrics args: tag: common title for all produced plots. for example, "train | STRING |
| HIGH | ignite/handlers/polyaxon_logger.py | 0 | helper handler to log engine's output and/or metrics args: tag: common title for all produced plots. for example, "train | STRING |
| HIGH | ignite/handlers/tensorboard_logger.py | 0 | helper handler to log engine's output and/or metrics args: tag: common title for all produced plots. for example, "train | STRING |
| HIGH | ignite/handlers/visdom_logger.py | 0 | helper handler to log engine's output and/or metrics args: tag: common title for all produced plots. for example, "train | STRING |
| HIGH | ignite/handlers/clearml_logger.py | 0 | helper handler to log engine's output and/or metrics args: tag: common title for all produced plots. for example, "train | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ignite/utils.py | 239 | CODE | |
| LOW | ignite/metrics/ssim.py | 78 | CODE | |
| LOW | ignite/metrics/ssim.py | 179 | CODE | |
| LOW | …cs/vision/object_detection_average_precision_recall.py | 50 | CODE | |
| LOW | …s/regression/geometric_mean_relative_absolute_error.py | 108 | CODE | |
| LOW | ignite/distributed/comp_models/native.py | 364 | CODE | |
| LOW | ignite/distributed/comp_models/base.py | 167 | CODE | |
| LOW | ignite/contrib/engines/common.py | 51 | CODE | |
| LOW | ignite/contrib/engines/common.py | 155 | CODE | |
| LOW | ignite/contrib/engines/common.py | 239 | CODE | |
| LOW | ignite/engine/deterministic.py | 119 | CODE | |
| LOW | ignite/engine/__init__.py | 141 | CODE | |
| LOW | ignite/engine/__init__.py | 440 | CODE | |
| LOW | ignite/engine/__init__.py | 759 | CODE | |
| LOW | ignite/handlers/checkpoint.py | 337 | CODE | |
| LOW | ignite/handlers/checkpoint.py | 1017 | CODE | |
| LOW | ignite/handlers/time_profilers.py | 415 | CODE | |
| LOW | tests/ignite/conftest.py | 295 | CODE | |
| LOW | tests/ignite/metrics/test_ssim.py | 106 | CODE | |
| LOW | tests/ignite/metrics/nlp/_pyrouge.py | 37 | CODE | |
| LOW | tests/ignite/engine/test_engine.py | 748 | CODE | |
| LOW | tests/ignite/engine/test_create_supervised.py | 50 | CODE | |
| LOW | tests/ignite/engine/test_create_supervised.py | 106 | CODE | |
| LOW | examples/cifar10_qat/utils.py | 129 | CODE | |
| LOW | examples/cifar10_qat/utils.py | 188 | CODE | |
| LOW | examples/cifar10_qat/main.py | 121 | CODE | |
| LOW | examples/fast_neural_style/transformer_net.py | 54 | CODE | |
| LOW | examples/fast_neural_style/transformer_net.py | 76 | CODE | |
| LOW | examples/fast_neural_style/transformer_net.py | 99 | CODE | |
| LOW | examples/fast_neural_style/vgg.py | 39 | CODE | |
| LOW | examples/transformers/model.py | 22 | CODE | |
| LOW | examples/transformers/main.py | 129 | CODE | |
| LOW | examples/siamese_network/siamese_network.py | 66 | CODE | |
| LOW | examples/cifar10/main.py | 133 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ignite/metrics/epoch_metric.py | 142 | except Exception as e: | CODE |
| LOW | ignite/engine/engine.py | 1289 | except Exception as e: | CODE |
| LOW | ignite/engine/engine.py | 1475 | except Exception as e: | CODE |
| LOW | ignite/handlers/polyaxon_logger.py | 138 | except Exception: | CODE |
| MEDIUM | ignite/handlers/polyaxon_logger.py | 135 | def close(self) -> None: | CODE |
| LOW | tests/ignite/handlers/test_neptune_logger.py | 546 | except Exception: | CODE |
| LOW | tests/ignite/handlers/test_checkpoint.py | 645 | except Exception: | CODE |
| LOW | examples/mnist/mnist_save_resume_engine.py | 268 | except Exception as e: | CODE |
| LOW | examples/cifar10_qat/main.py | 113 | except Exception as e: | CODE |
| LOW | examples/references/classification/imagenet/main.py | 322 | except Exception as e: # noqa | CODE |
| LOW | examples/references/classification/imagenet/main.py | 421 | except Exception as e: # noqa | CODE |
| LOW | examples/references/segmentation/pascal_voc2012/main.py | 359 | except Exception as e: # noqa | CODE |
| LOW | examples/references/segmentation/pascal_voc2012/main.py | 465 | except Exception as e: # noqa | CODE |
| LOW | examples/transformers/main.py | 121 | except Exception as e: | CODE |
| LOW | examples/cifar10/main.py | 125 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ignite/handlers/mlflow_logger.py | 121 | COMMENT | |
| LOW | ignite/handlers/tensorboard_logger.py | 181 | COMMENT | |
| LOW | tests/ignite/metrics/test_metric.py | 1301 | # def test_distrib_state_dict_metric_in_metric(distributed_context_single_node_nccl): | COMMENT |
| LOW | …sts/ignite/metrics/test_multilabel_confusion_matrix.py | 361 | predictions_reshaped = predictions.permute(0, 1, 3, 4, 5, 2).reshape(-1, num_classes) | COMMENT |
| LOW | …sts/ignite/metrics/test_multilabel_confusion_matrix.py | 381 | # _test_distrib_multiclass_images(device) | COMMENT |
| LOW | …sts/ignite/metrics/test_multilabel_confusion_matrix.py | 401 | # | COMMENT |
| LOW | …sts/ignite/metrics/test_multilabel_confusion_matrix.py | 421 | # device = idist.device() | COMMENT |
| LOW | docs/source/conf.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | docs/source/conf.py | 81 | # katex options | COMMENT |
| LOW | docs/source/conf.py | 161 | # -- Options for HTMLHelp output --------------------------------------------- | COMMENT |
| LOW | .github/workflows/triage.yml | 21 | repo-token: "${{ secrets.GITHUB_TOKEN }}" | COMMENT |
| LOW | .github/workflows/unit-tests.yml | 121 | - name: Run MNIST Examples | COMMENT |
| LOW | .github/workflows/pytorch-version-tests.yml | 81 | # filename: .github/failed_schedule_issue_template.md | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | ignite/metrics/clustering/davies_bouldin_score.py | 39 | (i.e., the index is undefined), ``float('nan')`` is returned. | CODE |
| HIGH | ignite/metrics/clustering/calinski_harabasz_score.py | 39 | (i.e., the index is undefined), ``float('nan')`` is returned. | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ignite/engine/engine.py | 975 | # Check if we need to create new state or resume | COMMENT |
| LOW | ignite/handlers/lr_finder.py | 191 | # Check if the loss has diverged; if it has, stop the trainer | COMMENT |
| LOW | ignite/handlers/lr_finder.py | 303 | # Check if optimizer has multiple param_groups | COMMENT |
| LOW | tests/ignite/handlers/test_tensorboard_logger.py | 658 | # Check if event files are present | COMMENT |
| LOW | tests/ignite/handlers/test_tensorboard_logger.py | 685 | # Check if event files are present | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | ignite/handlers/neptune_logger.py | 239 | # We are using the api_token for the anonymous user neptuner but you can use your own. | STRING |
| MEDIUM | ignite/handlers/neptune_logger.py | 280 | # We are using the api_token for the anonymous user neptuner but you can use your own. | STRING |
| MEDIUM | ignite/handlers/neptune_logger.py | 372 | # We are using the api_token for the anonymous user neptuner but you can use your own. | STRING |
| MEDIUM | ignite/handlers/neptune_logger.py | 437 | # We are using the api_token for the anonymous user neptuner but you can use your own. | STRING |
| MEDIUM | ignite/handlers/neptune_logger.py | 540 | # We are using the api_token for the anonymous user neptuner but you can use your own. | STRING |
| MEDIUM | ignite/handlers/neptune_logger.py | 638 | # We are using the api_token for the anonymous user neptuner but you can use your own. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | examples/gan/dcgan.py | 249 | # ----------------------------------------------------------- | COMMENT |
| MEDIUM | examples/gan/dcgan.py | 275 | # ----------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/ignite/handlers/test_time_profilers.py | 149 | dummy_data = range(true_num_iters) | CODE |
| LOW | tests/ignite/handlers/test_time_profilers.py | 154 | dummy_trainer.run(dummy_data_loader(dummy_data), max_epochs=true_max_epochs, epoch_length=true_num_iters) | CODE |
| LOW | tests/ignite/handlers/test_time_profilers.py | 176 | dummy_data = range(true_num_iters) | CODE |
| LOW | tests/ignite/handlers/test_time_profilers.py | 181 | dummy_trainer.run(dummy_data_loader(dummy_data), max_epochs=true_max_epochs, epoch_length=true_num_iters) | CODE |