pytorch-ignite 0.6.0.dev20251210__py3-none-any.whl → 0.6.0.dev20251211__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. ignite/__init__.py +1 -1
  2. ignite/contrib/engines/common.py +1 -0
  3. ignite/contrib/engines/tbptt.py +1 -0
  4. ignite/contrib/handlers/base_logger.py +1 -1
  5. ignite/contrib/handlers/clearml_logger.py +1 -1
  6. ignite/contrib/handlers/lr_finder.py +1 -1
  7. ignite/contrib/handlers/mlflow_logger.py +1 -1
  8. ignite/contrib/handlers/neptune_logger.py +1 -1
  9. ignite/contrib/handlers/param_scheduler.py +1 -1
  10. ignite/contrib/handlers/polyaxon_logger.py +1 -1
  11. ignite/contrib/handlers/tensorboard_logger.py +1 -1
  12. ignite/contrib/handlers/time_profilers.py +1 -1
  13. ignite/contrib/handlers/tqdm_logger.py +1 -1
  14. ignite/contrib/handlers/visdom_logger.py +1 -1
  15. ignite/contrib/handlers/wandb_logger.py +1 -1
  16. ignite/contrib/metrics/average_precision.py +1 -1
  17. ignite/contrib/metrics/cohen_kappa.py +1 -1
  18. ignite/contrib/metrics/gpu_info.py +1 -1
  19. ignite/contrib/metrics/precision_recall_curve.py +1 -1
  20. ignite/contrib/metrics/regression/canberra_metric.py +2 -3
  21. ignite/contrib/metrics/regression/fractional_absolute_error.py +2 -3
  22. ignite/contrib/metrics/regression/fractional_bias.py +2 -3
  23. ignite/contrib/metrics/regression/geometric_mean_absolute_error.py +2 -3
  24. ignite/contrib/metrics/regression/geometric_mean_relative_absolute_error.py +2 -3
  25. ignite/contrib/metrics/regression/manhattan_distance.py +2 -3
  26. ignite/contrib/metrics/regression/maximum_absolute_error.py +2 -3
  27. ignite/contrib/metrics/regression/mean_absolute_relative_error.py +2 -3
  28. ignite/contrib/metrics/regression/mean_error.py +2 -3
  29. ignite/contrib/metrics/regression/mean_normalized_bias.py +2 -3
  30. ignite/contrib/metrics/regression/median_absolute_error.py +2 -3
  31. ignite/contrib/metrics/regression/median_absolute_percentage_error.py +2 -3
  32. ignite/contrib/metrics/regression/median_relative_absolute_error.py +2 -3
  33. ignite/contrib/metrics/regression/r2_score.py +2 -3
  34. ignite/contrib/metrics/regression/wave_hedges_distance.py +2 -3
  35. ignite/contrib/metrics/roc_auc.py +1 -1
  36. ignite/distributed/auto.py +1 -0
  37. ignite/distributed/comp_models/horovod.py +5 -0
  38. ignite/distributed/comp_models/native.py +1 -0
  39. ignite/distributed/comp_models/xla.py +2 -0
  40. ignite/engine/deterministic.py +1 -1
  41. ignite/engine/engine.py +3 -0
  42. ignite/engine/events.py +2 -1
  43. ignite/handlers/checkpoint.py +3 -0
  44. ignite/handlers/lr_finder.py +2 -0
  45. ignite/handlers/neptune_logger.py +1 -0
  46. ignite/handlers/param_scheduler.py +6 -0
  47. ignite/handlers/state_param_scheduler.py +1 -0
  48. ignite/handlers/time_profilers.py +3 -0
  49. ignite/handlers/tqdm_logger.py +6 -1
  50. ignite/handlers/visdom_logger.py +1 -0
  51. ignite/metrics/accuracy.py +2 -0
  52. ignite/metrics/metric.py +1 -0
  53. ignite/metrics/nlp/rouge.py +3 -0
  54. ignite/metrics/roc_auc.py +1 -0
  55. ignite/metrics/ssim.py +4 -0
  56. ignite/metrics/vision/object_detection_average_precision_recall.py +3 -0
  57. {pytorch_ignite-0.6.0.dev20251210.dist-info → pytorch_ignite-0.6.0.dev20251211.dist-info}/METADATA +1 -1
  58. {pytorch_ignite-0.6.0.dev20251210.dist-info → pytorch_ignite-0.6.0.dev20251211.dist-info}/RECORD +60 -60
  59. {pytorch_ignite-0.6.0.dev20251210.dist-info → pytorch_ignite-0.6.0.dev20251211.dist-info}/WHEEL +0 -0
  60. {pytorch_ignite-0.6.0.dev20251210.dist-info → pytorch_ignite-0.6.0.dev20251211.dist-info}/licenses/LICENSE +0 -0
ignite/__init__.py CHANGED
@@ -6,4 +6,4 @@ import ignite.handlers
6
6
  import ignite.metrics
7
7
  import ignite.utils
8
8
 
9
- __version__ = "0.6.0.dev20251210"
9
+ __version__ = "0.6.0.dev20251211"
@@ -265,6 +265,7 @@ def _setup_common_distrib_training_handlers(
265
265
 
266
266
  @trainer.on(Events.EPOCH_STARTED)
267
267
  def distrib_set_epoch(engine: Engine) -> None:
268
+ # pyrefly: ignore [missing-attribute]
268
269
  train_sampler.set_epoch(engine.state.epoch - 1)
269
270
 
270
271
 
@@ -117,5 +117,6 @@ def create_supervised_tbptt_trainer(
117
117
  return sum(loss_list) / len(loss_list)
118
118
 
119
119
  engine = Engine(_update)
120
+ # pyrefly: ignore [bad-argument-type]
120
121
  engine.register_events(*Tbptt_Events)
121
122
  return engine
@@ -9,7 +9,7 @@ import warnings
9
9
  removed_in = "0.6.0"
10
10
  deprecation_warning = (
11
11
  f"{__file__} has been moved to /ignite/handlers/base_logger.py"
12
- + (f" and will be removed in version {removed_in}" if removed_in else "")
12
+ + f" and will be removed in version {removed_in}"
13
13
  + ".\n Please refer to the documentation for more details."
14
14
  )
15
15
  warnings.warn(deprecation_warning, DeprecationWarning, stacklevel=2)
@@ -9,7 +9,7 @@ import warnings
9
9
  removed_in = "0.6.0"
10
10
  deprecation_warning = (
11
11
  f"{__file__} has been moved to /ignite/handlers/clearml_logger.py"
12
- + (f" and will be removed in version {removed_in}" if removed_in else "")
12
+ + f" and will be removed in version {removed_in}"
13
13
  + ".\n Please refer to the documentation for more details."
14
14
  )
15
15
  warnings.warn(deprecation_warning, DeprecationWarning, stacklevel=2)
@@ -9,7 +9,7 @@ import warnings
9
9
  removed_in = "0.6.0"
10
10
  deprecation_warning = (
11
11
  f"{__file__} has been moved to /ignite/handlers/lr_finder.py"
12
- + (f" and will be removed in version {removed_in}" if removed_in else "")
12
+ + f" and will be removed in version {removed_in}"
13
13
  + ".\n Please refer to the documentation for more details."
14
14
  )
15
15
  warnings.warn(deprecation_warning, DeprecationWarning, stacklevel=2)
@@ -9,7 +9,7 @@ import warnings
9
9
  removed_in = "0.6.0"
10
10
  deprecation_warning = (
11
11
  f"{__file__} has been moved to /ignite/handlers/mlflow_logger.py"
12
- + (f" and will be removed in version {removed_in}" if removed_in else "")
12
+ + f" and will be removed in version {removed_in}"
13
13
  + ".\n Please refer to the documentation for more details."
14
14
  )
15
15
  warnings.warn(deprecation_warning, DeprecationWarning, stacklevel=2)
@@ -9,7 +9,7 @@ import warnings
9
9
  removed_in = "0.6.0"
10
10
  deprecation_warning = (
11
11
  f"{__file__} has been moved to /ignite/handlers/neptune_logger.py"
12
- + (f" and will be removed in version {removed_in}" if removed_in else "")
12
+ + f" and will be removed in version {removed_in}"
13
13
  + ".\n Please refer to the documentation for more details."
14
14
  )
15
15
  warnings.warn(deprecation_warning, DeprecationWarning, stacklevel=2)
@@ -9,7 +9,7 @@ import warnings
9
9
  removed_in = "0.6.0"
10
10
  deprecation_warning = (
11
11
  f"{__file__} has been moved to /ignite/handlers/param_scheduler.py"
12
- + (f" and will be removed in version {removed_in}" if removed_in else "")
12
+ + f" and will be removed in version {removed_in}"
13
13
  + ".\n Please refer to the documentation for more details."
14
14
  )
15
15
  warnings.warn(deprecation_warning, DeprecationWarning, stacklevel=2)
@@ -9,7 +9,7 @@ import warnings
9
9
  removed_in = "0.6.0"
10
10
  deprecation_warning = (
11
11
  f"{__file__} has been moved to /ignite/handlers/polyaxon_logger.py"
12
- + (f" and will be removed in version {removed_in}" if removed_in else "")
12
+ + f" and will be removed in version {removed_in}"
13
13
  + ".\n Please refer to the documentation for more details."
14
14
  )
15
15
  warnings.warn(deprecation_warning, DeprecationWarning, stacklevel=2)
@@ -9,7 +9,7 @@ import warnings
9
9
  removed_in = "0.6.0"
10
10
  deprecation_warning = (
11
11
  f"{__file__} has been moved to /ignite/handlers/tensorboard_logger.py"
12
- + (f" and will be removed in version {removed_in}" if removed_in else "")
12
+ + f" and will be removed in version {removed_in}"
13
13
  + ".\n Please refer to the documentation for more details."
14
14
  )
15
15
  warnings.warn(deprecation_warning, DeprecationWarning, stacklevel=2)
@@ -9,7 +9,7 @@ import warnings
9
9
  removed_in = "0.6.0"
10
10
  deprecation_warning = (
11
11
  f"{__file__} has been moved to /ignite/handlers/time_profilers.py"
12
- + (f" and will be removed in version {removed_in}" if removed_in else "")
12
+ + f" and will be removed in version {removed_in}"
13
13
  + ".\n Please refer to the documentation for more details."
14
14
  )
15
15
  warnings.warn(deprecation_warning, DeprecationWarning, stacklevel=2)
@@ -9,7 +9,7 @@ import warnings
9
9
  removed_in = "0.6.0"
10
10
  deprecation_warning = (
11
11
  f"{__file__} has been moved to /ignite/handlers/tqdm_logger.py"
12
- + (f" and will be removed in version {removed_in}" if removed_in else "")
12
+ + f" and will be removed in version {removed_in}"
13
13
  + ".\n Please refer to the documentation for more details."
14
14
  )
15
15
  warnings.warn(deprecation_warning, DeprecationWarning, stacklevel=2)
@@ -9,7 +9,7 @@ import warnings
9
9
  removed_in = "0.6.0"
10
10
  deprecation_warning = (
11
11
  f"{__file__} has been moved to /ignite/handlers/visdom_logger.py"
12
- + (f" and will be removed in version {removed_in}" if removed_in else "")
12
+ + f" and will be removed in version {removed_in}"
13
13
  + ".\n Please refer to the documentation for more details."
14
14
  )
15
15
  warnings.warn(deprecation_warning, DeprecationWarning, stacklevel=2)
@@ -9,7 +9,7 @@ import warnings
9
9
  removed_in = "0.6.0"
10
10
  deprecation_warning = (
11
11
  f"{__file__} has been moved to /ignite/handlers/wandb_logger.py"
12
- + (f" and will be removed in version {removed_in}" if removed_in else "")
12
+ + f" and will be removed in version {removed_in}"
13
13
  + ".\n Please refer to the documentation for more details."
14
14
  )
15
15
  warnings.warn(deprecation_warning, DeprecationWarning, stacklevel=2)
@@ -9,7 +9,7 @@ import warnings
9
9
  removed_in = "0.6.0"
10
10
  deprecation_warning = (
11
11
  f"{__file__} has been moved to /ignite/metrics/average_precision.py"
12
- + (f" and will be removed in version {removed_in}" if removed_in else "")
12
+ + f" and will be removed in version {removed_in}"
13
13
  + ".\n Please refer to the documentation for more details."
14
14
  )
15
15
  warnings.warn(deprecation_warning, DeprecationWarning, stacklevel=2)
@@ -9,7 +9,7 @@ import warnings
9
9
  removed_in = "0.6.0"
10
10
  deprecation_warning = (
11
11
  f"{__file__} has been moved to ignite/metrics/cohen_kappa.py"
12
- + (f" and will be removed in version {removed_in}" if removed_in else "")
12
+ + f" and will be removed in version {removed_in}"
13
13
  + ".\n Please refer to the documentation for more details."
14
14
  )
15
15
  warnings.warn(deprecation_warning, DeprecationWarning, stacklevel=2)
@@ -9,7 +9,7 @@ import warnings
9
9
  removed_in = "0.6.0"
10
10
  deprecation_warning = (
11
11
  f"{__file__} has been moved to ignite/metrics/gpu_info.py"
12
- + (f" and will be removed in version {removed_in}" if removed_in else "")
12
+ + f" and will be removed in version {removed_in}"
13
13
  + ".\n Please refer to the documentation for more details."
14
14
  )
15
15
  warnings.warn(deprecation_warning, DeprecationWarning, stacklevel=2)
@@ -9,7 +9,7 @@ import warnings
9
9
  removed_in = "0.6.0"
10
10
  deprecation_warning = (
11
11
  f"{__file__} has been moved to ignite/metrics/precision_recall_curve.py"
12
- + (f" and will be removed in version {removed_in}" if removed_in else "")
12
+ + f" and will be removed in version {removed_in}"
13
13
  + ".\n Please refer to the documentation for more details."
14
14
  )
15
15
  warnings.warn(deprecation_warning, DeprecationWarning, stacklevel=2)
@@ -9,9 +9,8 @@ import warnings
9
9
  removed_in = "0.6.0"
10
10
  deprecation_warning = (
11
11
  f"{__file__} has been moved to ignite/metrics/regression/canberra_metric.py"
12
- f" and will be removed in version {removed_in}"
13
- if removed_in
14
- else "" ".\n Please refer to the documentation for more details."
12
+ + f" and will be removed in version {removed_in}"
13
+ + ".\n Please refer to the documentation for more details."
15
14
  )
16
15
  warnings.warn(deprecation_warning, DeprecationWarning, stacklevel=2)
17
16
  from ignite.metrics.regression.canberra_metric import CanberraMetric
@@ -9,9 +9,8 @@ import warnings
9
9
  removed_in = "0.6.0"
10
10
  deprecation_warning = (
11
11
  f"{__file__} has been moved to ignite/metrics/regression/fractional_absolute_error.py"
12
- f" and will be removed in version {removed_in}"
13
- if removed_in
14
- else "" ".\n Please refer to the documentation for more details."
12
+ + f" and will be removed in version {removed_in}"
13
+ + ".\n Please refer to the documentation for more details."
15
14
  )
16
15
  warnings.warn(deprecation_warning, DeprecationWarning, stacklevel=2)
17
16
  from ignite.metrics.regression.fractional_absolute_error import FractionalAbsoluteError
@@ -9,9 +9,8 @@ import warnings
9
9
  removed_in = "0.6.0"
10
10
  deprecation_warning = (
11
11
  f"{__file__} has been moved to ignite/metrics/regression/fractional_bias.py"
12
- f" and will be removed in version {removed_in}"
13
- if removed_in
14
- else "" ".\n Please refer to the documentation for more details."
12
+ + f" and will be removed in version {removed_in}"
13
+ + ".\n Please refer to the documentation for more details."
15
14
  )
16
15
  warnings.warn(deprecation_warning, DeprecationWarning, stacklevel=2)
17
16
  from ignite.metrics.regression.fractional_bias import FractionalBias
@@ -9,9 +9,8 @@ import warnings
9
9
  removed_in = "0.6.0"
10
10
  deprecation_warning = (
11
11
  f"{__file__} has been moved to ignite/metrics/regression/geometric_mean_absolute_error.py"
12
- f" and will be removed in version {removed_in}"
13
- if removed_in
14
- else "" ".\n Please refer to the documentation for more details."
12
+ + f" and will be removed in version {removed_in}"
13
+ + ".\n Please refer to the documentation for more details."
15
14
  )
16
15
  warnings.warn(deprecation_warning, DeprecationWarning, stacklevel=2)
17
16
  from ignite.metrics.regression.geometric_mean_absolute_error import GeometricMeanAbsoluteError
@@ -9,9 +9,8 @@ import warnings
9
9
  removed_in = "0.6.0"
10
10
  deprecation_warning = (
11
11
  f"{__file__} has been moved to ignite/metrics/regression/geometric_mean_relative_absolute_error.py"
12
- f" and will be removed in version {removed_in}"
13
- if removed_in
14
- else "" ".\n Please refer to the documentation for more details."
12
+ + f" and will be removed in version {removed_in}"
13
+ + ".\n Please refer to the documentation for more details."
15
14
  )
16
15
  warnings.warn(deprecation_warning, DeprecationWarning, stacklevel=2)
17
16
  from ignite.metrics.regression.geometric_mean_relative_absolute_error import GeometricMeanRelativeAbsoluteError
@@ -9,9 +9,8 @@ import warnings
9
9
  removed_in = "0.6.0"
10
10
  deprecation_warning = (
11
11
  f"{__file__} has been moved to ignite/metrics/regression/manhattan_distance.py"
12
- f" and will be removed in version {removed_in}"
13
- if removed_in
14
- else "" ".\n Please refer to the documentation for more details."
12
+ + f" and will be removed in version {removed_in}"
13
+ + ".\n Please refer to the documentation for more details."
15
14
  )
16
15
  warnings.warn(deprecation_warning, DeprecationWarning, stacklevel=2)
17
16
  from ignite.metrics.regression.manhattan_distance import ManhattanDistance
@@ -9,9 +9,8 @@ import warnings
9
9
  removed_in = "0.6.0"
10
10
  deprecation_warning = (
11
11
  f"{__file__} has been moved to ignite/metrics/regression/maximum_absolute_error.py"
12
- f" and will be removed in version {removed_in}"
13
- if removed_in
14
- else "" ".\n Please refer to the documentation for more details."
12
+ + f" and will be removed in version {removed_in}"
13
+ + ".\n Please refer to the documentation for more details."
15
14
  )
16
15
  warnings.warn(deprecation_warning, DeprecationWarning, stacklevel=2)
17
16
  from ignite.metrics.regression.maximum_absolute_error import MaximumAbsoluteError
@@ -9,9 +9,8 @@ import warnings
9
9
  removed_in = "0.6.0"
10
10
  deprecation_warning = (
11
11
  f"{__file__} has been moved to ignite/metrics/regression/mean_absolute_relative_error.py"
12
- f" and will be removed in version {removed_in}"
13
- if removed_in
14
- else "" ".\n Please refer to the documentation for more details."
12
+ + f" and will be removed in version {removed_in}"
13
+ + ".\n Please refer to the documentation for more details."
15
14
  )
16
15
  warnings.warn(deprecation_warning, DeprecationWarning, stacklevel=2)
17
16
  from ignite.metrics.regression.mean_absolute_relative_error import MeanAbsoluteRelativeError
@@ -9,9 +9,8 @@ import warnings
9
9
  removed_in = "0.6.0"
10
10
  deprecation_warning = (
11
11
  f"{__file__} has been moved to ignite/metrics/regression/mean_error.py"
12
- f" and will be removed in version {removed_in}"
13
- if removed_in
14
- else "" ".\n Please refer to the documentation for more details."
12
+ + f" and will be removed in version {removed_in}"
13
+ + ".\n Please refer to the documentation for more details."
15
14
  )
16
15
  warnings.warn(deprecation_warning, DeprecationWarning, stacklevel=2)
17
16
  from ignite.metrics.regression.mean_error import MeanError
@@ -9,9 +9,8 @@ import warnings
9
9
  removed_in = "0.6.0"
10
10
  deprecation_warning = (
11
11
  f"{__file__} has been moved to ignite/metrics/regression/mean_normalized_bias.py"
12
- f" and will be removed in version {removed_in}"
13
- if removed_in
14
- else "" ".\n Please refer to the documentation for more details."
12
+ + f" and will be removed in version {removed_in}"
13
+ + ".\n Please refer to the documentation for more details."
15
14
  )
16
15
  warnings.warn(deprecation_warning, DeprecationWarning, stacklevel=2)
17
16
  from ignite.metrics.regression.mean_normalized_bias import MeanNormalizedBias
@@ -9,9 +9,8 @@ import warnings
9
9
  removed_in = "0.6.0"
10
10
  deprecation_warning = (
11
11
  f"{__file__} has been moved to ignite/metrics/regression/median_absolute_error.py"
12
- f" and will be removed in version {removed_in}"
13
- if removed_in
14
- else "" ".\n Please refer to the documentation for more details."
12
+ + f" and will be removed in version {removed_in}"
13
+ + ".\n Please refer to the documentation for more details."
15
14
  )
16
15
  warnings.warn(deprecation_warning, DeprecationWarning, stacklevel=2)
17
16
  from ignite.metrics.regression.median_absolute_error import MedianAbsoluteError
@@ -9,9 +9,8 @@ import warnings
9
9
  removed_in = "0.6.0"
10
10
  deprecation_warning = (
11
11
  f"{__file__} has been moved to ignite/metrics/regression/median_absolute_percentage_error.py"
12
- f" and will be removed in version {removed_in}"
13
- if removed_in
14
- else "" ".\n Please refer to the documentation for more details."
12
+ + f" and will be removed in version {removed_in}"
13
+ + ".\n Please refer to the documentation for more details."
15
14
  )
16
15
  warnings.warn(deprecation_warning, DeprecationWarning, stacklevel=2)
17
16
  from ignite.metrics.regression.median_absolute_percentage_error import MedianAbsolutePercentageError
@@ -9,9 +9,8 @@ import warnings
9
9
  removed_in = "0.6.0"
10
10
  deprecation_warning = (
11
11
  f"{__file__} has been moved to ignite/metrics/regression/median_relative_absolute_error.py"
12
- f" and will be removed in version {removed_in}"
13
- if removed_in
14
- else "" ".\n Please refer to the documentation for more details."
12
+ + f" and will be removed in version {removed_in}"
13
+ + ".\n Please refer to the documentation for more details."
15
14
  )
16
15
  warnings.warn(deprecation_warning, DeprecationWarning, stacklevel=2)
17
16
  from ignite.metrics.regression.median_relative_absolute_error import MedianRelativeAbsoluteError
@@ -9,9 +9,8 @@ import warnings
9
9
  removed_in = "0.6.0"
10
10
  deprecation_warning = (
11
11
  f"{__file__} has been moved to ignite/metrics/regression/r2_score.py"
12
- f" and will be removed in version {removed_in}"
13
- if removed_in
14
- else "" ".\n Please refer to the documentation for more details."
12
+ + f" and will be removed in version {removed_in}"
13
+ + ".\n Please refer to the documentation for more details."
15
14
  )
16
15
  warnings.warn(deprecation_warning, DeprecationWarning, stacklevel=2)
17
16
  from ignite.metrics.regression.r2_score import R2Score
@@ -9,9 +9,8 @@ import warnings
9
9
  removed_in = "0.6.0"
10
10
  deprecation_warning = (
11
11
  f"{__file__} has been moved to ignite/metrics/regression/wave_hedges_distance.py"
12
- f" and will be removed in version {removed_in}"
13
- if removed_in
14
- else "" ".\n Please refer to the documentation for more details."
12
+ + f" and will be removed in version {removed_in}"
13
+ + ".\n Please refer to the documentation for more details."
15
14
  )
16
15
  warnings.warn(deprecation_warning, DeprecationWarning, stacklevel=2)
17
16
  from ignite.metrics.regression.wave_hedges_distance import WaveHedgesDistance
@@ -9,7 +9,7 @@ import warnings
9
9
  removed_in = "0.6.0"
10
10
  deprecation_warning = (
11
11
  f"{__file__} has been moved to ignite/metrics/roc_auc.py"
12
- + (f" and will be removed in version {removed_in}" if removed_in else "")
12
+ + f" and will be removed in version {removed_in}"
13
13
  + ".\n Please refer to the documentation for more details."
14
14
  )
15
15
  warnings.warn(deprecation_warning, DeprecationWarning, stacklevel=2)
@@ -336,6 +336,7 @@ if idist.has_xla_support:
336
336
  # From pytorch/xla if `torch_xla.distributed.parallel_loader.MpDeviceLoader` is not available
337
337
  def __init__(self, loader: Any, device: torch.device, **kwargs: Any) -> None:
338
338
  self._loader = loader
339
+ # pyrefly: ignore [read-only]
339
340
  self._device = device
340
341
  self._parallel_loader_kwargs = kwargs
341
342
 
@@ -70,6 +70,7 @@ if has_hvd_support:
70
70
  self._init_from_context()
71
71
 
72
72
  def _create_from_backend(self, backend: str, **kwargs: Any) -> None:
73
+ # pyrefly: ignore [bad-override]
73
74
  self._backend: str = backend
74
75
  comm = kwargs.get("comm", None)
75
76
  hvd.init(comm=comm)
@@ -129,6 +130,7 @@ if has_hvd_support:
129
130
  finalize()
130
131
 
131
132
  @staticmethod
133
+ # pyrefly: ignore [bad-override]
132
134
  def spawn(
133
135
  fn: Callable,
134
136
  args: Tuple,
@@ -169,8 +171,11 @@ if has_hvd_support:
169
171
  return group
170
172
 
171
173
  _reduce_op_map = {
174
+ # pyrefly: ignore [unbound-name]
172
175
  "SUM": hvd.mpi_ops.Sum,
176
+ # pyrefly: ignore [unbound-name]
173
177
  "AVERAGE": hvd.mpi_ops.Average,
178
+ # pyrefly: ignore [unbound-name]
174
179
  "ADASUM": hvd.mpi_ops.Adasum,
175
180
  }
176
181
 
@@ -345,6 +345,7 @@ if has_native_dist_support:
345
345
  os.environ.update(copy_env_vars)
346
346
 
347
347
  @staticmethod
348
+ # pyrefly: ignore [bad-override]
348
349
  def spawn(
349
350
  fn: Callable,
350
351
  args: Tuple,
@@ -54,6 +54,7 @@ if has_xla_support:
54
54
  def _create_from_backend(self, backend: str, **kwargs: Any) -> None:
55
55
  xm.rendezvous("init")
56
56
 
57
+ # pyrefly: ignore [bad-override]
57
58
  self._backend: str = backend
58
59
  self._setup_attrs()
59
60
 
@@ -106,6 +107,7 @@ if has_xla_support:
106
107
  finalize()
107
108
 
108
109
  @staticmethod
110
+ # pyrefly: ignore [bad-override]
109
111
  def spawn(
110
112
  fn: Callable,
111
113
  args: Tuple,
@@ -85,7 +85,7 @@ class ReproducibleBatchSampler(BatchSampler):
85
85
 
86
86
 
87
87
  def _get_rng_states() -> List[Any]:
88
- output = [random.getstate(), torch.get_rng_state()]
88
+ output: List[Any] = [random.getstate(), torch.get_rng_state()]
89
89
  try:
90
90
  import numpy as np
91
91
 
ignite/engine/engine.py CHANGED
@@ -153,6 +153,7 @@ class Engine(Serializable):
153
153
  self._dataloader_iter: Optional[Iterator[Any]] = None
154
154
  self._init_iter: Optional[int] = None
155
155
 
156
+ # pyrefly: ignore [bad-argument-type]
156
157
  self.register_events(*Events)
157
158
 
158
159
  if self._process_function is None:
@@ -1038,6 +1039,7 @@ class Engine(Serializable):
1038
1039
  "https://github.com/pytorch/ignite/issues/new/choose"
1039
1040
  )
1040
1041
 
1042
+ # pyrefly: ignore [unbound-name]
1041
1043
  time_taken = time.time() - start_time
1042
1044
  # time is available for handlers but must be updated after fire
1043
1045
  self.state.times[Events.COMPLETED.name] = time_taken
@@ -1238,6 +1240,7 @@ class Engine(Serializable):
1238
1240
  "https://github.com/pytorch/ignite/issues/new/choose"
1239
1241
  )
1240
1242
 
1243
+ # pyrefly: ignore [unbound-name]
1241
1244
  time_taken = time.time() - start_time
1242
1245
  # time is available for handlers but must be updated after fire
1243
1246
  self.state.times[Events.COMPLETED.name] = time_taken
ignite/engine/events.py CHANGED
@@ -91,7 +91,7 @@ class CallableEventWithFilter:
91
91
  raise ValueError("Argument every should be integer and greater than zero")
92
92
 
93
93
  if once is not None:
94
- c1 = isinstance(once, numbers.Integral) and once > 0
94
+ c1 = isinstance(once, int) and once > 0
95
95
  c2 = isinstance(once, Sequence) and len(once) > 0 and all(isinstance(e, int) and e > 0 for e in once)
96
96
  if not (c1 or c2):
97
97
  raise ValueError(
@@ -240,6 +240,7 @@ class EventEnum(CallableEventWithFilter, Enum):
240
240
  def __new__(cls, value: str) -> "EventEnum":
241
241
  obj = CallableEventWithFilter.__new__(cls)
242
242
  obj._value_ = value
243
+ # pyrefly: ignore [bad-return]
243
244
  return obj
244
245
 
245
246
 
@@ -440,6 +440,7 @@ class Checkpoint(Serializable):
440
440
 
441
441
  def __call__(self, engine: Engine) -> None:
442
442
  if not engine.has_registered_events(CheckpointEvents.SAVED_CHECKPOINT):
443
+ # pyrefly: ignore [bad-argument-type]
443
444
  engine.register_events(*CheckpointEvents)
444
445
  global_step = None
445
446
  if self.global_step_transform is not None:
@@ -454,6 +455,7 @@ class Checkpoint(Serializable):
454
455
  global_step = engine.state.get_event_attrib_value(Events.ITERATION_COMPLETED)
455
456
  priority = global_step
456
457
 
458
+ # pyrefly: ignore [bad-argument-type]
457
459
  if self._check_lt_n_saved() or self._compare_fn(priority):
458
460
  priority_str = f"{priority}" if isinstance(priority, numbers.Integral) else f"{priority:.4f}"
459
461
 
@@ -495,6 +497,7 @@ class Checkpoint(Serializable):
495
497
  if isinstance(self.save_handler, BaseSaveHandler):
496
498
  self.save_handler.remove(item.filename)
497
499
 
500
+ # pyrefly: ignore [bad-argument-type]
498
501
  self._saved.append(Checkpoint.Item(priority, filename))
499
502
  self._saved.sort(key=lambda it: it[0])
500
503
 
@@ -100,6 +100,7 @@ class FastaiLRFinder:
100
100
 
101
101
  # attach LRScheduler to trainer.
102
102
  if num_iter is None:
103
+ # pyrefly: ignore [unsupported-operation]
103
104
  num_iter = trainer.state.epoch_length * trainer.state.max_epochs
104
105
  else:
105
106
  max_iter = trainer.state.epoch_length * trainer.state.max_epochs # type: ignore[operator]
@@ -183,6 +184,7 @@ class FastaiLRFinder:
183
184
  else:
184
185
  if smooth_f > 0:
185
186
  loss = smooth_f * loss + (1 - smooth_f) * self._history["loss"][-1]
187
+ # pyrefly: ignore [unsupported-operation]
186
188
  if loss < self._best_loss:
187
189
  self._best_loss = loss
188
190
  self._history["loss"].append(loss)
@@ -698,6 +698,7 @@ class NeptuneSaver(BaseSaveHandler):
698
698
  # hold onto the file stream for uploading.
699
699
  # NOTE: This won't load the whole file in memory and upload
700
700
  # the stream in smaller chunks.
701
+ # pyrefly: ignore [bad-argument-type]
701
702
  self._logger[filename].upload(File.from_stream(tmp.file))
702
703
 
703
704
  @idist.one_rank_only(with_barrier=True)
@@ -1154,6 +1154,7 @@ def create_lr_scheduler_with_warmup(
1154
1154
  init_lr = lr_scheduler.get_param()
1155
1155
  if init_lr == param_group_warmup_end_value:
1156
1156
  if warmup_duration > 2:
1157
+ # pyrefly: ignore [unsupported-operation]
1157
1158
  d = (param_group_warmup_end_value - warmup_start_value) / (warmup_duration - 1)
1158
1159
  milestones_values[-1] = (warmup_duration - 2, param_group_warmup_end_value - d)
1159
1160
  else:
@@ -1163,6 +1164,7 @@ def create_lr_scheduler_with_warmup(
1163
1164
  PiecewiseLinear(
1164
1165
  lr_scheduler.optimizer,
1165
1166
  param_name="lr",
1167
+ # pyrefly: ignore [bad-argument-type]
1166
1168
  milestones_values=milestones_values,
1167
1169
  param_group_index=param_group_index,
1168
1170
  save_history=save_history,
@@ -1175,7 +1177,9 @@ def create_lr_scheduler_with_warmup(
1175
1177
  warmup_scheduler,
1176
1178
  lr_scheduler,
1177
1179
  ]
1180
+ # pyrefly: ignore [unbound-name, unsupported-operation]
1178
1181
  durations = [milestones_values[-1][0] + 1]
1182
+ # pyrefly: ignore [bad-argument-type]
1179
1183
  combined_scheduler = ConcatScheduler(schedulers, durations=durations, save_history=save_history)
1180
1184
 
1181
1185
  if output_simulated_values is not None:
@@ -1185,6 +1189,7 @@ def create_lr_scheduler_with_warmup(
1185
1189
  f"but given {type(output_simulated_values)}."
1186
1190
  )
1187
1191
  num_events = len(output_simulated_values)
1192
+ # pyrefly: ignore [bad-argument-type]
1188
1193
  result = ConcatScheduler.simulate_values(num_events=num_events, schedulers=schedulers, durations=durations)
1189
1194
  for i in range(num_events):
1190
1195
  output_simulated_values[i] = result[i]
@@ -1656,6 +1661,7 @@ class ReduceLROnPlateauScheduler(ParamScheduler):
1656
1661
  raise TypeError(f"When param_group_index is given, min_lr should be a float, but given {type(min_lr)}")
1657
1662
  _min_lr = min_lr
1658
1663
  min_lr = [0] * len(optimizer.param_groups)
1664
+ # pyrefly: ignore [unsupported-operation]
1659
1665
  min_lr[param_group_index] = _min_lr
1660
1666
  else:
1661
1667
  min_lr = 0
@@ -193,6 +193,7 @@ class LambdaStateScheduler(StateParamScheduler):
193
193
  self._state_attrs += ["lambda_obj"]
194
194
 
195
195
  def get_param(self) -> Union[List[float], float]:
196
+ # pyrefly: ignore [bad-return]
196
197
  return self.lambda_obj(self.event_index)
197
198
 
198
199
 
@@ -251,6 +251,7 @@ class BasicTimeProfiler:
251
251
  total_eh_time: Union[int, torch.Tensor] = sum(
252
252
  [(self.event_handlers_times[e]).sum() for e in Events if e not in self.events_to_ignore]
253
253
  )
254
+ # pyrefly: ignore [no-matching-overload]
254
255
  event_handlers_stats = dict(
255
256
  [
256
257
  (str(e.name).replace(".", "_"), self._compute_basic_stats(self.event_handlers_times[e]))
@@ -334,6 +335,7 @@ class BasicTimeProfiler:
334
335
 
335
336
  results_df = pd.DataFrame(
336
337
  data=results_dump,
338
+ # pyrefly: ignore [bad-argument-type]
337
339
  columns=[
338
340
  "epoch",
339
341
  "iteration",
@@ -689,6 +691,7 @@ class HandlersTimeProfiler:
689
691
 
690
692
  results_dump = torch.stack(cols, dim=1).numpy()
691
693
 
694
+ # pyrefly: ignore [bad-argument-type]
692
695
  results_df = pd.DataFrame(data=results_dump, columns=headers)
693
696
  results_df.to_csv(output_path, index=False)
694
697
 
@@ -224,7 +224,12 @@ class ProgressBar(BaseLogger):
224
224
  engine.add_event_handler(closing_event_name, self._close)
225
225
 
226
226
  def attach_opt_params_handler( # type: ignore[empty-body]
227
- self, engine: Engine, event_name: Union[str, Events], *args: Any, **kwargs: Any
227
+ self,
228
+ engine: Engine,
229
+ event_name: Union[str, Events],
230
+ *args: Any,
231
+ **kwargs: Any,
232
+ # pyrefly: ignore [bad-return]
228
233
  ) -> RemovableEventHandle:
229
234
  """Intentionally empty"""
230
235
  pass
@@ -199,6 +199,7 @@ class VisdomLogger(BaseLogger):
199
199
 
200
200
  self.executor: Union[_DummyExecutor, "ThreadPoolExecutor"] = _DummyExecutor()
201
201
  if num_workers > 0:
202
+ # pyrefly: ignore [unbound-name]
202
203
  self.executor = ThreadPoolExecutor(max_workers=num_workers)
203
204
 
204
205
  def _save(self) -> None:
@@ -255,7 +255,9 @@ class Accuracy(_BaseClassification):
255
255
  y = torch.transpose(y, 1, last_dim - 1).reshape(-1, num_classes)
256
256
  correct = torch.all(y == y_pred.type_as(y), dim=-1)
257
257
 
258
+ # pyrefly: ignore [unbound-name]
258
259
  self._num_correct += torch.sum(correct).to(self._device)
260
+ # pyrefly: ignore [unbound-name]
259
261
  self._num_examples += correct.shape[0]
260
262
 
261
263
  @sync_all_reduce("_num_examples", "_num_correct")
ignite/metrics/metric.py CHANGED
@@ -369,6 +369,7 @@ class Metric(Serializable, metaclass=ABCMeta):
369
369
  if torch.device(device).type == "xla":
370
370
  raise ValueError("Cannot create metric on an XLA device. Use device='cpu' instead.")
371
371
 
372
+ # pyrefly: ignore [read-only]
372
373
  self._device = torch.device(device)
373
374
  self._skip_unrolling = skip_unrolling
374
375
 
@@ -13,6 +13,7 @@ from ignite.metrics.nlp.utils import lcs, ngrams
13
13
  __all__ = ["Rouge", "RougeN", "RougeL"]
14
14
 
15
15
 
16
+ # pyrefly: ignore [invalid-inheritance]
16
17
  class Score(namedtuple("Score", ["match", "candidate", "reference"])):
17
18
  r"""
18
19
  Computes precision and recall for given matches, candidate and reference lengths.
@@ -22,12 +23,14 @@ class Score(namedtuple("Score", ["match", "candidate", "reference"])):
22
23
  """
23
24
  Calculates precision.
24
25
  """
26
+ # pyrefly: ignore [missing-attribute]
25
27
  return self.match / self.candidate if self.candidate > 0 else 0
26
28
 
27
29
  def recall(self) -> float:
28
30
  """
29
31
  Calculates recall.
30
32
  """
33
+ # pyrefly: ignore [missing-attribute]
31
34
  return self.match / self.reference if self.reference > 0 else 0
32
35
 
33
36
 
ignite/metrics/roc_auc.py CHANGED
@@ -210,4 +210,5 @@ class RocCurve(EpochMetric):
210
210
  tpr = idist.broadcast(tpr, src=0, safe_mode=True)
211
211
  thresholds = idist.broadcast(thresholds, src=0, safe_mode=True)
212
212
 
213
+ # pyrefly: ignore [bad-return]
213
214
  return fpr, tpr, thresholds
ignite/metrics/ssim.py CHANGED
@@ -161,11 +161,15 @@ class SSIM(Metric):
161
161
  kernel_y = self._gaussian(kernel_size[1], sigma[1])
162
162
  if ndims == 3:
163
163
  kernel_z = self._gaussian(kernel_size[2], sigma[2])
164
+ else:
165
+ kernel_z = None
164
166
  else:
165
167
  kernel_x = self._uniform(kernel_size[0])
166
168
  kernel_y = self._uniform(kernel_size[1])
167
169
  if ndims == 3:
168
170
  kernel_z = self._uniform(kernel_size[2])
171
+ else:
172
+ kernel_z = None
169
173
 
170
174
  result = (
171
175
  torch.einsum("i,j->ij", kernel_x, kernel_y)
@@ -160,6 +160,9 @@ class ObjectDetectionAvgPrecisionRecall(Metric, _BaseAveragePrecision):
160
160
  elif self._area_range == "large":
161
161
  min_area = 9216
162
162
  max_area = 1e10
163
+ else:
164
+ min_area = 0
165
+ max_area = 1e10
163
166
  return torch.logical_and(areas >= min_area, areas <= max_area)
164
167
 
165
168
  def _check_matching_input(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pytorch-ignite
3
- Version: 0.6.0.dev20251210
3
+ Version: 0.6.0.dev20251211
4
4
  Summary: A lightweight library to help with training neural networks in PyTorch.
5
5
  Project-URL: Homepage, https://pytorch-ignite.ai
6
6
  Project-URL: Repository, https://github.com/pytorch/ignite
@@ -1,4 +1,4 @@
1
- ignite/__init__.py,sha256=CXjZv7LxgNe4MQhi8XyeWHLOBK7AR5b2DyuuFrqy6lM,194
1
+ ignite/__init__.py,sha256=nDjxbjP0fQmI-1Ifr5S3XSyAsA-sYPcmVCeDpQA7Pxw,194
2
2
  ignite/_utils.py,sha256=XDPpUDJ8ykLXWMV2AYTqGSj8XCfApsyzsQ3Vij_OB4M,182
3
3
  ignite/exceptions.py,sha256=5ZWCVLPC9rgoW8t84D-VeEleqz5O7XpAGPpCdU8rKd0,150
4
4
  ignite/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -7,84 +7,84 @@ ignite/base/__init__.py,sha256=y2g9egjuVCYRtaj-4ge081y-8cjIXsw_ZgZ6BRguHi0,44
7
7
  ignite/base/mixins.py,sha256=Ip1SHCQCsvNUnLJKJwX9L-hqpfcZAlTad87-PaVgCBI,991
8
8
  ignite/contrib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
9
  ignite/contrib/engines/__init__.py,sha256=BxmXYIYEtEB1niMWITL8pgyKufCIpXR61rSzPQOhA0g,87
10
- ignite/contrib/engines/common.py,sha256=ChAzJhgqQi_2SLcZF8m9nI9VpefZ3dUZAlJj_PiRwwQ,28433
11
- ignite/contrib/engines/tbptt.py,sha256=FSmF5SnoZn7mWNZWRZ-ohWUCfucET78GQu3lvVRNItk,4507
10
+ ignite/contrib/engines/common.py,sha256=8WyVV6pqVHKnBfcdZoBPbOUXqqwSOTUI2OKUyMqvOks,28483
11
+ ignite/contrib/engines/tbptt.py,sha256=pFVwnk8mN0mFFLwDfVK0ee8DrQnHi_Zpr20mOFHGArs,4549
12
12
  ignite/contrib/handlers/__init__.py,sha256=rZszZnCbzncE2jqsvx9KP1iS3WZ0I-CnrV3Jh3Xl8_o,1073
13
- ignite/contrib/handlers/base_logger.py,sha256=uv1VRoSyuoZ2c6mxqJT9jaiPbSNtOp78D685Dog7kVQ,1182
14
- ignite/contrib/handlers/clearml_logger.py,sha256=_vG45njqIH7T2P9X-mxsGWrWLbg7S5HNJuTvcZ_IqkY,1409
15
- ignite/contrib/handlers/lr_finder.py,sha256=A62cXyRXClTHRXUaaUUK7v74Yryudh6o4Af4m9NTF9A,702
16
- ignite/contrib/handlers/mlflow_logger.py,sha256=L9Vl0fgBLLvZKuBjr9xbKE323gxUYPBUshTry9XkWbk,940
17
- ignite/contrib/handlers/neptune_logger.py,sha256=TvKCa2dpfwKNRn0l0C2her6ti8qQ9JrkexGjePgxsLQ,1319
18
- ignite/contrib/handlers/param_scheduler.py,sha256=UbpdeCYHQ59f3M43iBfiVryiTjFGUf1SpyCXgk-AjDM,1517
19
- ignite/contrib/handlers/polyaxon_logger.py,sha256=vZBStQamhlDoRITEby8nkgcvsstv-igcO7EJO3QvEp4,962
20
- ignite/contrib/handlers/tensorboard_logger.py,sha256=l7lK8rumZUz6nqe9M4RRF5HqTUv8341ckaCWYE_4elE,1388
21
- ignite/contrib/handlers/time_profilers.py,sha256=OKl7gm09O5AiQHf6acEjF1g6zLdi7ePpMR-2FCe1Dlg,846
22
- ignite/contrib/handlers/tqdm_logger.py,sha256=WtEPBGYkX4AmH4fzjHP0dTsPN6qwzmbgaD1iotvDzMc,703
23
- ignite/contrib/handlers/visdom_logger.py,sha256=5Cn_UiG5b7ZMZ5E7JVg5WE4pEoztifrZHHEcXx-pmmU,1212
24
- ignite/contrib/handlers/wandb_logger.py,sha256=dF872Eymw9w7Km72wJkCMn5mEpkfwFeyFWCVenx_5U8,929
13
+ ignite/contrib/handlers/base_logger.py,sha256=gHVTkVvYMRUXI793rNq8564mMyJaL_HCuoCu8xiKxFY,1158
14
+ ignite/contrib/handlers/clearml_logger.py,sha256=4CRD38jrif-8MeKYiEu5RbF5B-PhEkPnUGfielvt5s8,1385
15
+ ignite/contrib/handlers/lr_finder.py,sha256=ef9rdoPriBo8wGBfk4hfyRz6JUaQVXJmSxeNQOnznjE,678
16
+ ignite/contrib/handlers/mlflow_logger.py,sha256=fIfYVqydhQNVXnAzAKhhBKv1t-KWDzvZo-zs291zcy4,916
17
+ ignite/contrib/handlers/neptune_logger.py,sha256=gOkdMGoKZVqEnCAF-EVfHL-wk0OLXxGwcoXya2O_NIE,1295
18
+ ignite/contrib/handlers/param_scheduler.py,sha256=Z651F0MBJrmgFz5TQMh_BlbXhxr-mh6rs4ZMY5naqQ0,1493
19
+ ignite/contrib/handlers/polyaxon_logger.py,sha256=WZDKx86S_AqGiRnaEZmCP4BoB5c6G7Sd1b0MregAFJI,938
20
+ ignite/contrib/handlers/tensorboard_logger.py,sha256=DwjicfzeW9108k2lxmeZ21e4hcPIcddzbqUQpG9g2NU,1364
21
+ ignite/contrib/handlers/time_profilers.py,sha256=n5QKwor0xdrNmjfgH6q3TZFFk3GBVEdnbkGtvSqFnVc,822
22
+ ignite/contrib/handlers/tqdm_logger.py,sha256=bcqx7YwWCx5pjhIkKwcpU4jMwLBVfTrvxp_2rau5GZM,679
23
+ ignite/contrib/handlers/visdom_logger.py,sha256=uTs9kE4-e2YRrZgkZJGHpjmE19WYGC8Mj3Ke1FpUrGU,1188
24
+ ignite/contrib/handlers/wandb_logger.py,sha256=QUAsXlVq7b9NcXoc1-99jfoghYrxC2izAL-ZIknVNRo,905
25
25
  ignite/contrib/metrics/__init__.py,sha256=Hh_hYZol4iAZ5nH_WEFIaiuqgw7UqkJrxj0mb-Oaj9A,414
26
- ignite/contrib/metrics/average_precision.py,sha256=5bY5N6YRX88wV7Q69Q2B84LyFRlIaJ8Vo_J-wB6PGds,759
27
- ignite/contrib/metrics/cohen_kappa.py,sha256=fakVVFraPHNVlMRlSPtQQDizH18Bwnw4xFe_qNCvAZ8,692
28
- ignite/contrib/metrics/gpu_info.py,sha256=PffJkgNXo8qD6V9msh9XcZvGKeX2s6BGDeLCH0luRtk,659
29
- ignite/contrib/metrics/precision_recall_curve.py,sha256=qfNM-W2WbaBMhjOd8Y3ENuwkxvEGGAlp8SIZqfw3jOE,956
30
- ignite/contrib/metrics/roc_auc.py,sha256=KxQlipus1_nht3N0Q0wW2iWNwV3urQZzupGKHcSCeiI,687
26
+ ignite/contrib/metrics/average_precision.py,sha256=QBMwk8qVxiLXtIKnLPjspXUKvsQE7H0Xxq3CLFciwdA,735
27
+ ignite/contrib/metrics/cohen_kappa.py,sha256=GoxJkBgIB21E5Nl_UqIe5oLqEHrGeQePpPcZot6-rJ8,668
28
+ ignite/contrib/metrics/gpu_info.py,sha256=s7KWhvoLzy7_AT5r4624ivSqHJ7Nc2D0s6XLgv7xsCo,635
29
+ ignite/contrib/metrics/precision_recall_curve.py,sha256=_Y6Ra6JdBP5Qng0Lx7_qy35BeLpRz77SHN-HN-B5S88,932
30
+ ignite/contrib/metrics/roc_auc.py,sha256=tI5yXSWCt6W4JDSnAEcuN5gyV7u6JhOJwB-DnEiXKyw,663
31
31
  ignite/contrib/metrics/regression/__init__.py,sha256=pyDDt7-eG_xaii_2Noy3DkHh6E437Aqx8XfgRhGGiew,2581
32
32
  ignite/contrib/metrics/regression/_base.py,sha256=z3HI4L5ezfmvHcJziTsDtNNNQqQX2QxdR80CwWmXaTs,2268
33
- ignite/contrib/metrics/regression/canberra_metric.py,sha256=3tantTRqmW15jQZ6UJTS0iVY-7cBpBUCoozUmfVEWMk,818
34
- ignite/contrib/metrics/regression/fractional_absolute_error.py,sha256=LIn9X-UhAW7kTPRMby5IvT9Z9Gg2MhfWgqYJiwfoEDg,924
35
- ignite/contrib/metrics/regression/fractional_bias.py,sha256=_qkvHWZqAaPCdRYqwU3HvzkIUi4qalSq5cIoh1ejbtY,818
36
- ignite/contrib/metrics/regression/geometric_mean_absolute_error.py,sha256=F4ixbdhQsraztRMVIjQfhQ3VtzbS9IwYEWDVmLD67A8,964
37
- ignite/contrib/metrics/regression/geometric_mean_relative_absolute_error.py,sha256=XVLou8nz3qBfmoXH8EZ08lIc_8T1J0zwksZS2crLFtk,1059
38
- ignite/contrib/metrics/regression/manhattan_distance.py,sha256=dT7U8iaX05tfN95nRaLIFehb8Gy8EOgLgVL_vepzSns,851
39
- ignite/contrib/metrics/regression/maximum_absolute_error.py,sha256=hYCR-R80BqFa39-diInnGSqAlRU1mqZe4hIK5_X80tA,891
40
- ignite/contrib/metrics/regression/mean_absolute_relative_error.py,sha256=gD_Y7bq_V7l2uYZ0dAWsRC6G5q9ccRU_kozlTfOT9ho,953
41
- ignite/contrib/metrics/regression/mean_error.py,sha256=53dmrYXuF2wEB5wh6-XjFJaPVxplhmFvGChPMHZ2XUo,763
42
- ignite/contrib/metrics/regression/mean_normalized_bias.py,sha256=fzHfqErIvxhzyT5Ig4hWYX1jCFLBTVxK60XTBPoDZAc,869
43
- ignite/contrib/metrics/regression/median_absolute_error.py,sha256=4GiWvDqhq5NlZju8ZtdfRFrT9UrtAxe-R-M80CCXqak,880
44
- ignite/contrib/metrics/regression/median_absolute_percentage_error.py,sha256=zODfHYqn8VDwUut3H24nuP-YHQG4iShrHi17g7xTJKY,997
45
- ignite/contrib/metrics/regression/median_relative_absolute_error.py,sha256=5G2QIoE_LsyQ54lH9dDAjdVuJ7qAKfBYKAKe0ks87yM,975
46
- ignite/contrib/metrics/regression/r2_score.py,sha256=g4dTNC6idrgnTZSs2o_xxp5_JuP1JVgyZvNtCpjtRVs,741
47
- ignite/contrib/metrics/regression/wave_hedges_distance.py,sha256=z1eGISFBmo4BjXrGpAndV7Vk7xg7l7jKnwZVGDlLrVI,869
33
+ ignite/contrib/metrics/regression/canberra_metric.py,sha256=J9wHIM19uooMyFT95B01y3L9xH2fQDSct3nwq0HtFlo,796
34
+ ignite/contrib/metrics/regression/fractional_absolute_error.py,sha256=t1jqwbMtN4JUPgz3WzTQhX2kSdli172lgiAiShfqK-M,902
35
+ ignite/contrib/metrics/regression/fractional_bias.py,sha256=qlRPtzDEkZ_rTO0_0F-2hPxsEPvGweQ61wCzJd82psE,796
36
+ ignite/contrib/metrics/regression/geometric_mean_absolute_error.py,sha256=LPmjhPCp_o5cXFLVMYm6eEC0RNINovftuC53JEBtmwo,942
37
+ ignite/contrib/metrics/regression/geometric_mean_relative_absolute_error.py,sha256=n_dc0IAk2qnxeGyteSaEyejTeWMMcB2mDPQLR7Dj6EY,1037
38
+ ignite/contrib/metrics/regression/manhattan_distance.py,sha256=Cuzj8gJABN59jxLg3B13iUXzzC9nGoVX8trNDBs_N14,829
39
+ ignite/contrib/metrics/regression/maximum_absolute_error.py,sha256=J3JFZp5nMdmjtyGkcS1Wo4sIeHzxKhx02RK8Ro0f8Rs,869
40
+ ignite/contrib/metrics/regression/mean_absolute_relative_error.py,sha256=CYr02QTeKubrgsGKuvt1i83Yjxa6CWWjgEa7uHVX8HU,931
41
+ ignite/contrib/metrics/regression/mean_error.py,sha256=rNJuoCDYzTS7sbHG-2gap3nzsq--GYG_brHAV0gac14,741
42
+ ignite/contrib/metrics/regression/mean_normalized_bias.py,sha256=bO4HdG4W-WNjuSMYUU-MrVfHQKHI__3NdiuFMbd4HOs,847
43
+ ignite/contrib/metrics/regression/median_absolute_error.py,sha256=z3xesUZUmjtSXUDQ29r2E6x8BiDNWjec7_KLRUFCv_o,858
44
+ ignite/contrib/metrics/regression/median_absolute_percentage_error.py,sha256=ogc_WJFF9NWjzSogSOaAtmZAadM74jv_eDo_69QoiXo,975
45
+ ignite/contrib/metrics/regression/median_relative_absolute_error.py,sha256=lqzsNL-TIGPv97xlOwV2aNlZJM_vQXgl5pKnvAOAI4Y,953
46
+ ignite/contrib/metrics/regression/r2_score.py,sha256=1Mwo3Ft2PkYL8xq-CcbKqidJP5jeaWe1ba5sVESsTaU,719
47
+ ignite/contrib/metrics/regression/wave_hedges_distance.py,sha256=1uSqAUZX5aBzw0UJNla6bRYhHM3uPdVPuEzNJa4dixk,847
48
48
  ignite/distributed/__init__.py,sha256=qC28ok9XHWJawZfQR2MqWf6ctggS4rUY9PiTJjOCNvI,181
49
- ignite/distributed/auto.py,sha256=iqJ5-kkOqwCjIOociEB4N8gtgKO7J-2thJsYn4pvGnk,15401
49
+ ignite/distributed/auto.py,sha256=9nk9ArklntyzTaHx-odUTtKtX7bch-qQf1HQE7Y6YQE,15443
50
50
  ignite/distributed/launcher.py,sha256=hjdL8pnWNrpMQjw_GrY9CGWyUqvb6g42nfEsT_5cxdo,13492
51
51
  ignite/distributed/utils.py,sha256=D97JwWgL9RKP8rTfDRf1zMmfRUeJizr7XfLZ8LAScOI,24999
52
52
  ignite/distributed/comp_models/__init__.py,sha256=S2WHl463U7BvpcUe9-JaGtuCi3G1cMHFW5QFBQ6fv20,1357
53
53
  ignite/distributed/comp_models/base.py,sha256=pTIylP1h2g6NWopBEponfXC6UefqS1l2lEdzTUTNXFc,14185
54
- ignite/distributed/comp_models/horovod.py,sha256=Mn5xG92bzBT1Dd-0IxEaN342kihUwJNkLCqsxP06ijc,9076
55
- ignite/distributed/comp_models/native.py,sha256=oxJeK-Dc_dtLpG02wz29y5BvjJv_a3vEXPlRVRLWEIU,28098
56
- ignite/distributed/comp_models/xla.py,sha256=kVa5HrXaWt8TCLObxUMVpSsUnDv3SPOQ0dP2SlqpmLg,6281
54
+ ignite/distributed/comp_models/horovod.py,sha256=0YatfhWVGRsNCDNcOZDtQi4F_KIWJOv6uPh4lP8VmYg,9297
55
+ ignite/distributed/comp_models/native.py,sha256=k2ADEkHNTRDyWfBE1JP7AvTQTjjPtW8a2pyNLkeV6AQ,28139
56
+ ignite/distributed/comp_models/xla.py,sha256=XhKFeo7kNu4mTe9yyzLoEzxS8cDbTFJKAYY9m_dDHIk,6367
57
57
  ignite/engine/__init__.py,sha256=MRFj6yywKhVkov4ccPkrw4dX1O8PfqceiJkngrcFb7A,36094
58
- ignite/engine/deterministic.py,sha256=lIacEolZPmfPgVWM_T0Eqg-2G08Wpi_hc1fifzFq0p8,11632
59
- ignite/engine/engine.py,sha256=xeUx7QkjC4p6iLMCTzFDU7Pq7PXoaoFaRf8TcpIuSog,60915
60
- ignite/engine/events.py,sha256=ydfG3HPMo3HKcycFSG_GrZ199Tuttcjmd85eQaV_5c0,21807
58
+ ignite/engine/deterministic.py,sha256=uXn5VfxN_AgcEzZwBk_zdPWlSdKH2tl8Md1lcx1mvJ4,11643
59
+ ignite/engine/engine.py,sha256=H_dbEsuydRHcD7uSpfLX7Qn71WjEAusnbsU1gTyFzxA,61051
60
+ ignite/engine/events.py,sha256=FrcvnvjNZEzzohMQU6ZxL8ezrUQshUuM917Rsyxf8v0,21833
61
61
  ignite/engine/utils.py,sha256=QG5mkdg4OipspqgpNQcJuoHTYdr2Sx5LS16kfjOHDdI,1073
62
62
  ignite/handlers/__init__.py,sha256=Qq85YTtHPcii6UAfMOoCPg9RwigH96iqxOJKIlRfDqw,2728
63
63
  ignite/handlers/base_logger.py,sha256=wPiGn9iCh5ung1GaRUf_qAlqe63h1NpUUQ0XK709p2k,13011
64
- ignite/handlers/checkpoint.py,sha256=1k_RhDW5rjkJB4oz2jNWxjpuGgLvbNCt7_-1Pqz9Lxg,46266
64
+ ignite/handlers/checkpoint.py,sha256=1d59fTyO4gh_iJWTDCTRQS9fEdoWMs82McD7tWIqhYE,46412
65
65
  ignite/handlers/clearml_logger.py,sha256=12a9eue6hnFh5CrdSFz_EpGF0-XKRMlBXpR2NWWw8DY,37949
66
66
  ignite/handlers/early_stopping.py,sha256=UA6TiKho5CbD085R-16H8w3r0BYPQcWQjhEXg8aITSw,4139
67
67
  ignite/handlers/ema_handler.py,sha256=SmUyyWIFPZW3yMvjD_sSk5m_LfnMFl9R-uQdbXNFfY0,11854
68
68
  ignite/handlers/fbresearch_logger.py,sha256=MfQeiBIXBYLEwZoDIld2oCceMeTAsz8rc5cd7fLtpJs,11133
69
- ignite/handlers/lr_finder.py,sha256=AAQLUcRLrfkrVOQufmRNZqAOTw1MpmAAo8YLk3JkdQs,22145
69
+ ignite/handlers/lr_finder.py,sha256=zHOb-gEW_e0obZnw5olnasLVLxInUjTnftjS6vvoifg,22253
70
70
  ignite/handlers/mlflow_logger.py,sha256=M5Mggrnr2wMsms8wbEaHqNtTk5L1zNs1MlPWD0ZCpDQ,13894
71
- ignite/handlers/neptune_logger.py,sha256=SrehLclS8ccyuxO_0HYPvt5SN8EB8g9KWFfqQMQsGAw,27298
72
- ignite/handlers/param_scheduler.py,sha256=c730LIS6obDNNH2jitc2BRDK6AO36FfD3e1x336Oen4,68261
71
+ ignite/handlers/neptune_logger.py,sha256=Rv-O_i0zGZC2Ozzeetxv7rtD7iP3IeWEcbY-U28Mkzg,27348
72
+ ignite/handlers/param_scheduler.py,sha256=L4e9Nx9QbIbf4HHMCvrG12Nb_p3Uv7bzbZWd5McsRYU,68579
73
73
  ignite/handlers/polyaxon_logger.py,sha256=5b7Zxhksne8Ufg_SBTG-rlf_9CPSjkBQOJR4-ynoZnQ,12354
74
- ignite/handlers/state_param_scheduler.py,sha256=xBOF07_JVexafmC-k4ifL_nN31IF8ThbebGWIxlbLs8,20745
74
+ ignite/handlers/state_param_scheduler.py,sha256=Jk4tAFQhmP-C3jo1L_paiInn74Flc2Vaxqi-zQwCfqc,20784
75
75
  ignite/handlers/stores.py,sha256=8XM_Qqsitfu0WtOOE-K2FMtv51vD90r3GgQlCzRABYc,2616
76
76
  ignite/handlers/tensorboard_logger.py,sha256=q3YxXkbIFayBggI_kcHyl-upttVVjjnqFOLgyjj2cRo,27967
77
77
  ignite/handlers/terminate_on_nan.py,sha256=RFSKd3Oqn9Me2xLCos4lSE-hnY7fYWWjE9blioeMlIs,2103
78
78
  ignite/handlers/time_limit.py,sha256=heTuS-ReBbOUCm1NcNJGhzxI080Hanc4hOLB2Y4GeZk,1567
79
- ignite/handlers/time_profilers.py,sha256=GZCoOpiFSc2yVgHQjpS1To8Yjb6G6HwydsiWMjwMQfA,30301
79
+ ignite/handlers/time_profilers.py,sha256=0Jd_dDBcD5i280xsN4KoaBdmXbS04S2nbFNghSNLmBc,30446
80
80
  ignite/handlers/timing.py,sha256=nHeBHvPwYdPRMAx-jk_8MjZit4a7rmsmIWkUrajAG-s,4705
81
- ignite/handlers/tqdm_logger.py,sha256=5N70XA9rRm2x6sWYAJB1U5Y_bky2fa3qhec8SVgB3hY,13049
81
+ ignite/handlers/tqdm_logger.py,sha256=GvrvSLz2WDQHosPUvAZe4GHffMSO8wnfLURbjnmbcOg,13121
82
82
  ignite/handlers/utils.py,sha256=X4LRqo1kqGsbmX0pEuZKYR6K4C8sZudAqxCLriiXtCg,872
83
- ignite/handlers/visdom_logger.py,sha256=sg75ohEkDT7gYfEbLn5464GO-s0MLUEWxdFw_zSVSYw,21830
83
+ ignite/handlers/visdom_logger.py,sha256=HhKurlolglUaqX_rzvK3iG2ofwU0-XGr6rSSzQCRSkk,21875
84
84
  ignite/handlers/wandb_logger.py,sha256=vGok3gADQmTNkc6KkfFBreYoHAO8EneuU65xjBpT5-Q,14837
85
85
  ignite/metrics/__init__.py,sha256=m-8F8J17r-aEwsO6Ww-8AqDRN59WFfYBwCDKwqGDSmI,3627
86
86
  ignite/metrics/accumulation.py,sha256=xWdsm9u6JfsfODX_GUKzQc_omrdFDJ4yELBR-xXgc4s,12448
87
- ignite/metrics/accuracy.py,sha256=rI1TG-7WdJxcqGCMxGErXBWLmTNP1yczJgjjRyby0No,10168
87
+ ignite/metrics/accuracy.py,sha256=iddxBPlOOGv1Vda2hIcMTi9jZwuPibVQqvYptRPMaa8,10250
88
88
  ignite/metrics/average_precision.py,sha256=AL4fvWCUL6zMNq_u2vQRnAdmdByB8S8x8jSE-MoFVjY,3694
89
89
  ignite/metrics/classification_report.py,sha256=zjGlaMnRz2__op6hrZq74OusO0W_5B1AIe8KzYGFilM,5988
90
90
  ignite/metrics/cohen_kappa.py,sha256=Qwcd4P2kN12CVCFC-kVdzn_2XV7kGzP6LlWkK209JJ8,3815
@@ -104,7 +104,7 @@ ignite/metrics/mean_absolute_error.py,sha256=gfbzoXNdyj9GCEzSxHXn0359TNNjnKBYshS
104
104
  ignite/metrics/mean_average_precision.py,sha256=cXP9pYidQnAazGXBrhC80WoI4eK4lb3avNO5d70TLd4,19136
105
105
  ignite/metrics/mean_pairwise_distance.py,sha256=Ys6Rns6s-USS_tyP6Pa3bWZSI7f_hP5-lZM64UGJGjo,4104
106
106
  ignite/metrics/mean_squared_error.py,sha256=QdxXMYzxltfciMMRxxK5JhdlKXsdHe370EzwvIbwSmA,3679
107
- ignite/metrics/metric.py,sha256=3dv3vy-YTgzC5aIZgLCW6pdiPzF5GqgKpqeSreEifA8,35103
107
+ ignite/metrics/metric.py,sha256=T3IiFIGTv_UOScd8ei4H9SraHfTJ09OM8I6hRfzr_sA,35141
108
108
  ignite/metrics/metric_group.py,sha256=UE7WrMbpKlO9_DPqxQdlmFAWveWoT1knKwRlHDl9YIU,2544
109
109
  ignite/metrics/metrics_lambda.py,sha256=NwKZ1J-KzFFbSw7YUaNJozdfKZLVqrkjQvFKT6ixnkg,7309
110
110
  ignite/metrics/multilabel_confusion_matrix.py,sha256=1pjLNPGTDJWAkN_BHdBPekcish6Ra0uRUeEbdj3Dm6Y,7377
@@ -113,10 +113,10 @@ ignite/metrics/precision.py,sha256=xe8_e13cPMaC1Mfw-RTlmkag6pdcHCIbi70ASI1IahY,1
113
113
  ignite/metrics/precision_recall_curve.py,sha256=rcmG2W7dDuA_8fyekHNk4ronecewolMprW4rxUB8xsc,6228
114
114
  ignite/metrics/psnr.py,sha256=G994inwIczTWC5JfwECr0LSAtgquRGCs0283GylPR8c,5558
115
115
  ignite/metrics/recall.py,sha256=MaywS5E8ioaHZvTPGhQaYPQV-xDmptYuv8kDRe_-BEY,9867
116
- ignite/metrics/roc_auc.py,sha256=NW_8GKX9W2tSLXn_d9G2A69gkbG62HWOc_YdyzBYO2s,9207
116
+ ignite/metrics/roc_auc.py,sha256=U97y_JApK2vU1OmZKUJqolHQOZ1qemCSHdxcsLOO2Jg,9246
117
117
  ignite/metrics/root_mean_squared_error.py,sha256=yiOn5AQeg-RL2wM1MAng5Q98FHJc21chXU65tITT0Wo,2903
118
118
  ignite/metrics/running_average.py,sha256=vcC_LtsrJxEMea05TmBFzFqCK6nZd8hHavsfIlf2C6c,11333
119
- ignite/metrics/ssim.py,sha256=_uJJdoHP4E4_sitcvFr9wTcoocK3iTxtSh_pA5J7Ss8,11766
119
+ ignite/metrics/ssim.py,sha256=yU877i4wXcHA7vr5qAU9p0LmehEJdKQTFzd2L4Lwm3Q,11866
120
120
  ignite/metrics/top_k_categorical_accuracy.py,sha256=pqsArVTSxnwt49S3lZFVqOkCXbzx-WPxfQnhtQ390RM,4706
121
121
  ignite/metrics/clustering/__init__.py,sha256=QljKwToBY-0fHblKbj1GsmP7rE5tlzHkrtw98MYEX44,233
122
122
  ignite/metrics/clustering/_base.py,sha256=lpQwtR54oTUrif7vQ7EE3ch8PJ91ECnzLov8z34gf5E,1526
@@ -129,7 +129,7 @@ ignite/metrics/gan/inception_score.py,sha256=78_qrECWb_KsbLbo1lvDnvFJ9FsWPsbUi1a
129
129
  ignite/metrics/gan/utils.py,sha256=3nihbBrcM9MRcu6r0p3x5SgZQ5V4aag20ZppM7j_HiM,3993
130
130
  ignite/metrics/nlp/__init__.py,sha256=TiDKRhw7lhZeoL2Cn4s306cKIuBbXl2fizN1ZepMhwI,168
131
131
  ignite/metrics/nlp/bleu.py,sha256=NyQZ3CQB1xUnH_KWer5QtxkM_S_aiO3ok86UMxHaQ_w,11539
132
- ignite/metrics/nlp/rouge.py,sha256=pcIBCFBybJczYnPxuoLibwzNXYOMxf_JtyFiJkgo10A,15328
132
+ ignite/metrics/nlp/rouge.py,sha256=dyQEMTLbq5DLei2P2SoOZpMykPITDr1vq3BtdBIEysk,15460
133
133
  ignite/metrics/nlp/utils.py,sha256=CA0MRMk9l97QockFYYhU6k0-hLhP3GwW36ONZ7TRqmc,2341
134
134
  ignite/metrics/regression/__init__.py,sha256=I594yB38ypWi9IDi9rrdshdXeBnSRcST09tnLRjN0yk,1472
135
135
  ignite/metrics/regression/_base.py,sha256=5V6GkkaBYRuW9J3yDXucyTZp1XJ2uIG7F4w2XcBsd3w,2365
@@ -152,8 +152,8 @@ ignite/metrics/regression/r2_score.py,sha256=mTW5ldE05UtPdBGjo_LQF96fbS5jjQbM9gL
152
152
  ignite/metrics/regression/spearman_correlation.py,sha256=IzmN4WIe7C4cTUU3BOkBmaw4gW6LTYJUFVhWeblvDVA,4603
153
153
  ignite/metrics/regression/wave_hedges_distance.py,sha256=Ji_NRUgnZ3lJgi5fyNFLRjbHO648z4dBmqVDQU9ImKA,2792
154
154
  ignite/metrics/vision/__init__.py,sha256=lPBAEq1idc6Q17poFm1SjttE27irHF1-uNeiwrxnLrU,159
155
- ignite/metrics/vision/object_detection_average_precision_recall.py,sha256=PwdXVeGAF0sLIxUrvnnE7ZojpFNkZB5O6bYoopqc3M4,25024
156
- pytorch_ignite-0.6.0.dev20251210.dist-info/METADATA,sha256=QZ1tWjgyIpYNjxT3LIzuJeWEVi7HJrImZON7btKPxCk,27979
157
- pytorch_ignite-0.6.0.dev20251210.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
158
- pytorch_ignite-0.6.0.dev20251210.dist-info/licenses/LICENSE,sha256=SwJvaRmy1ql-k9_nL4WnER4_ODTMF9fWoP9HXkoicgw,1527
159
- pytorch_ignite-0.6.0.dev20251210.dist-info/RECORD,,
155
+ ignite/metrics/vision/object_detection_average_precision_recall.py,sha256=4wwiNVd658ynIpIbQlffTA-ehvyJ2EzmJ5pBSBuA8XQ,25091
156
+ pytorch_ignite-0.6.0.dev20251211.dist-info/METADATA,sha256=UzdE-n8VQas-BpD4oSYJT8QAGDPs7tcxo-LP-CZDX6I,27979
157
+ pytorch_ignite-0.6.0.dev20251211.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
158
+ pytorch_ignite-0.6.0.dev20251211.dist-info/licenses/LICENSE,sha256=SwJvaRmy1ql-k9_nL4WnER4_ODTMF9fWoP9HXkoicgw,1527
159
+ pytorch_ignite-0.6.0.dev20251211.dist-info/RECORD,,