Recent Releases of pytorch-ignite

pytorch-ignite - v0.5.2 with new metrics and new features and bug fixes

What's Changed

  • Temporary pinned mlflow version to fix the failing CI by @vfdev-5 in https://github.com/pytorch/ignite/pull/3278
  • Add rank correlation metrics by @kzkadc in https://github.com/pytorch/ignite/pull/3276
  • Helper function all_gather_tensors_with_shapes() by @sadra-barikbin in https://github.com/pytorch/ignite/pull/3281
  • Fix mypy issue with wandb.finish() by @vfdev-5 in https://github.com/pytorch/ignite/pull/3283
  • To fix #3277 by @puhuk in https://github.com/pytorch/ignite/pull/3280
  • Modify docstring and argument for rank correlation metrics by @kzkadc in https://github.com/pytorch/ignite/pull/3284
  • Use the default runner type by @ZainRizvi in https://github.com/pytorch/ignite/pull/3285
  • [CI] Fixed failing linkcheck, w&b init by @vfdev-5 in https://github.com/pytorch/ignite/pull/3287
  • add HSIC metric by @kzkadc in https://github.com/pytorch/ignite/pull/3282
  • Drop python 3.8 in the CI by @vfdev-5 in https://github.com/pytorch/ignite/pull/3288
  • Fix pytorch versions ci by @vfdev-5 in https://github.com/pytorch/ignite/pull/3289
  • Modify docstring for rank correlation metrics by @kzkadc in https://github.com/pytorch/ignite/pull/3291
  • simplify imports of metric functions by @kzkadc in https://github.com/pytorch/ignite/pull/3292
  • Update import style for PrecisionRecallCurve metric by @kzkadc in https://github.com/pytorch/ignite/pull/3293
  • Fixed mypy failures on the CI by @vfdev-5 in https://github.com/pytorch/ignite/pull/3296
  • Updated code formatting tools' versions by @vfdev-5 in https://github.com/pytorch/ignite/pull/3297
  • Add clustering metrics by @kzkadc in https://github.com/pytorch/ignite/pull/3290
  • Updated pytorch version in CI and docker by @vfdev-5 in https://github.com/pytorch/ignite/pull/3298
  • Fixed torch version in docker push_all.sh by @vfdev-5 in https://github.com/pytorch/ignite/pull/3300
  • Fixed failing tests on pytorch nightly using torch.load by @vfdev-5 in https://github.com/pytorch/ignite/pull/3299
  • try updating gpu tests GHA by @vfdev-5 in https://github.com/pytorch/ignite/pull/3306
  • Update pyproject.toml by @vfdev-5 in https://github.com/pytorch/ignite/pull/3305
  • Fix pynvml version to <12 by @vfdev-5 in https://github.com/pytorch/ignite/pull/3310
  • Fixed GPU tests exec scripts and failing metrics by @vfdev-5 in https://github.com/pytorch/ignite/pull/3301
  • Updated GpuInfo metric, pynvml<12 by @vfdev-5 in https://github.com/pytorch/ignite/pull/3311
  • Give the option to terminate the engine without firing Events.COMPLET… by @bonassifabio in https://github.com/pytorch/ignite/pull/3309
  • Allow to terminate an epoch without firing Events.EPOCH_COMPLETED by @bonassifabio in https://github.com/pytorch/ignite/pull/3313
  • Fix deprecated statement by @Gulin7 in https://github.com/pytorch/ignite/pull/3307
  • Fixed failing testrocauc.py::testcheckcompute_fn test by @vfdev-5 in https://github.com/pytorch/ignite/pull/3316
  • Update pytorch-version-tests.yml by @vfdev-5 in https://github.com/pytorch/ignite/pull/3315
  • Fix typos in TextCNN.jpynb by @k22036 in https://github.com/pytorch/ignite/pull/3320
  • Fix typos in FashionMNIST.jpynb by @k22036 in https://github.com/pytorch/ignite/pull/3321
  • Refactor FashionMNIST notebook to use next() for data iterator by @k22036 in https://github.com/pytorch/ignite/pull/3322
  • Fixed failing doctest and linkcheck CI jobs by @vfdev-5 in https://github.com/pytorch/ignite/pull/3331
  • Fixed failing test_miou on M1 with pytest.approx by @vfdev-5 in https://github.com/pytorch/ignite/pull/3330
  • Updated pytorch version in docker and pytorch-version-tests.yml by @vfdev-5 in https://github.com/pytorch/ignite/pull/3329
  • Fix a typo in the documentation by @jscanvic in https://github.com/pytorch/ignite/pull/3332
  • COCO mAP metric by @sadra-barikbin in https://github.com/pytorch/ignite/pull/2901
  • Updated accuracy, precision, recall tests by @vfdev-5 in https://github.com/pytorch/ignite/pull/3333
  • Fixed failing meanaverageprecision tests on cuda by @vfdev-5 in https://github.com/pytorch/ignite/pull/3338
  • Use f32 for metrics on mps by @vfdev-5 in https://github.com/pytorch/ignite/pull/3334
  • Update testaverageprecision.py to resolve issue #3335 by @puhuk in https://github.com/pytorch/ignite/pull/3337
  • Fix group as list of ints in torch dist collective ops by @vfdev-5 in https://github.com/pytorch/ignite/pull/3340
  • Added availabledevice fixture to testmeansquarederror by @HyeSungP in https://github.com/pytorch/ignite/pull/3341
  • Add _rank_not_in_group to idist by @sadra-barikbin in https://github.com/pytorch/ignite/pull/3339
  • Update testrocauc.py to resolve issue #3335 by @puhuk in https://github.com/pytorch/ignite/pull/3343
  • Update testcosinesimilarity.py to resolve issue #3335 by @chaojessica in https://github.com/pytorch/ignite/pull/3348
  • Added availabledevice in testclassification_report (#3335) by @HyeSungP in https://github.com/pytorch/ignite/pull/3342
  • Run hvd tests without xdist by @vfdev-5 in https://github.com/pytorch/ignite/pull/3347
  • Updated gpu-tests CI by @vfdev-5 in https://github.com/pytorch/ignite/pull/3349
  • adds argument name for device in testmeansquared_error #3335 by @BanzaiTokyo in https://github.com/pytorch/ignite/pull/3351
  • adds checks for used device in metrics tests. #3335 by @BanzaiTokyo in https://github.com/pytorch/ignite/pull/3353
  • Added available_device in metric tests (#3335) by @HyeSungP in https://github.com/pytorch/ignite/pull/3354
  • adds availabledevice to testcohen_kappa.py #3335 by @BanzaiTokyo in https://github.com/pytorch/ignite/pull/3355
  • adds availabledevice to testconfusion_matrix.py #3335 by @BanzaiTokyo in https://github.com/pytorch/ignite/pull/3357
  • Add SSIM for 3D tensors by @lrlunin in https://github.com/pytorch/ignite/pull/3345
  • adds availabledevice to testentropy.py #3335 by @BanzaiTokyo in https://github.com/pytorch/ignite/pull/3358
  • adds availabledevice to testkl_divergence.py #3335 by @BanzaiTokyo in https://github.com/pytorch/ignite/pull/3363
  • adds availabledevice to testfrequency.py #3335 by @BanzaiTokyo in https://github.com/pytorch/ignite/pull/3359
  • adds availabledevice to testhsic.py #3335 by @BanzaiTokyo in https://github.com/pytorch/ignite/pull/3361
  • adds availabledevice to testjs_divergence.py #3335 by @BanzaiTokyo in https://github.com/pytorch/ignite/pull/3362
  • adds availabledevice to testloss.py #3335 by @BanzaiTokyo in https://github.com/pytorch/ignite/pull/3364
  • adds availabledevice to testmaximummeandiscrepancy #3335 by @BanzaiTokyo in https://github.com/pytorch/ignite/pull/3365
  • adds availabledevice to testmultilabelconfusionmatrix #3335 by @BanzaiTokyo in https://github.com/pytorch/ignite/pull/3366
  • Added support for logging dicts/iterables of metrics by @vfdev-5 in https://github.com/pytorch/ignite/pull/3369

Acknowledgments

πŸŽ‰ Thanks to our community and all our contributors for the issues, PRs and 🌟 ⭐️ 🌟 ! πŸ’― We really appreciate your implication into the project

New Contributors

  • @ZainRizvi made their first contribution in https://github.com/pytorch/ignite/pull/3285
  • @bonassifabio made their first contribution in https://github.com/pytorch/ignite/pull/3309
  • @Gulin7 made their first contribution in https://github.com/pytorch/ignite/pull/3307
  • @k22036 made their first contribution in https://github.com/pytorch/ignite/pull/3320
  • @jscanvic made their first contribution in https://github.com/pytorch/ignite/pull/3332
  • @HyeSungP made their first contribution in https://github.com/pytorch/ignite/pull/3341
  • @chaojessica made their first contribution in https://github.com/pytorch/ignite/pull/3348
  • @lrlunin made their first contribution in https://github.com/pytorch/ignite/pull/3345

Full Changelog: https://github.com/pytorch/ignite/compare/v0.5.1...v0.5.2

- Python
Published by vfdev-5 11 months ago

pytorch-ignite - New metrics and new features and bug fixes

What's Changed

  • fix misspecified version reference by @leej3 in https://github.com/pytorch/ignite/pull/3228
  • Add MutualInformation Metric by @kzkadc in https://github.com/pytorch/ignite/pull/3230
  • Add divergence metrics by @kzkadc in https://github.com/pytorch/ignite/pull/3232
  • Add test timeouts by @leej3 in https://github.com/pytorch/ignite/pull/3241
  • Fix error in old PyTorch for KL and JS divergence by @kzkadc in https://github.com/pytorch/ignite/pull/3236
  • Make testing improvements by @leej3 in https://github.com/pytorch/ignite/pull/3242
  • Add MaximumMeanDiscrepancy metric by @kzkadc in https://github.com/pytorch/ignite/pull/3243
  • setup_logger: add optional arg encoding for FileHandler by @sjiang95 in https://github.com/pytorch/ignite/pull/3240
  • Fix error of doc test for MaximumMeanDiscrepancy metric by @kzkadc in https://github.com/pytorch/ignite/pull/3245
  • adjust tpu timeout by @leej3 in https://github.com/pytorch/ignite/pull/3246
  • fix some mypy issues by @leej3 in https://github.com/pytorch/ignite/pull/3248
  • Fix mps not functional by @leej3 in https://github.com/pytorch/ignite/pull/3249
  • Fixed linkcheck by @vfdev-5 in https://github.com/pytorch/ignite/pull/3250
  • Retry tests by @leej3 in https://github.com/pytorch/ignite/pull/3229
  • downgrade retry action for gpu tests (#3251) by @vfdev-5 in https://github.com/pytorch/ignite/pull/3252
  • Fix scheduled tests by @leej3 in https://github.com/pytorch/ignite/pull/3254
  • Rename common-test-functionality.sh to commontestfunctionality.sh by @vfdev-5 in https://github.com/pytorch/ignite/pull/3255
  • Updated FBResearchLogger example doctring by @vfdev-5 in https://github.com/pytorch/ignite/pull/3237
  • Updated docker pth version by @vfdev-5 in https://github.com/pytorch/ignite/pull/3256
  • improve type support for fbrlogger by @leej3 in https://github.com/pytorch/ignite/pull/3238
  • Introduce a variable skip_unrolling in class Metric by @simeetnayan81 in https://github.com/pytorch/ignite/pull/3258
  • Skip unrolling follow up by @simeetnayan81 in https://github.com/pytorch/ignite/pull/3260
  • Exclude special attributes from causing MetricsLambda creation by @sadra-barikbin in https://github.com/pytorch/ignite/pull/3263
  • Replace runners prefix amz2023. by @jeanschmidt in https://github.com/pytorch/ignite/pull/3265
  • Fix failing Pytorch version tests CI by @simeetnayan81 in https://github.com/pytorch/ignite/pull/3267
  • Fix failing tpu tests by @vfdev-5 in https://github.com/pytorch/ignite/pull/3261
  • Add MetricGroup feature by @sadra-barikbin in https://github.com/pytorch/ignite/pull/3266
  • Fix WandBLogger init by @zubatyuk in https://github.com/pytorch/ignite/pull/3273
  • Fix mps ci by @vfdev-5 in https://github.com/pytorch/ignite/pull/3274
  • Updated pytorch versions in CI and docker by @vfdev-5 in https://github.com/pytorch/ignite/pull/3275

Acknowledgments

πŸŽ‰ Thanks to our community and all our contributors for the issues, PRs and 🌟 ⭐️ 🌟 ! πŸ’― We really appreciate your implication into the project

New Contributors

  • @sjiang95 made their first contribution in https://github.com/pytorch/ignite/pull/3240
  • @simeetnayan81 made their first contribution in https://github.com/pytorch/ignite/pull/3258
  • @jeanschmidt made their first contribution in https://github.com/pytorch/ignite/pull/3265
  • @zubatyuk made their first contribution in https://github.com/pytorch/ignite/pull/3273

Thank you !

Full Changelog: https://github.com/pytorch/ignite/compare/v0.5.0.post2...v0.5.1

- Python
Published by vfdev-5 over 1 year ago

pytorch-ignite - New metrics, handlers and moved contrib handlers/metrics to ignite.handlers/metrics

Major changes

  • Added new metrics: CosineSimilarity, Entropy, PearsonCorrelation. Big thanks to @kzkadc!
  • Moved ignite.contrib.metrics and ignite.contrib.handlers to ignite.handlers and ignite.metrics. Thanks to @leej3!

What's Changed

  • [CI] Fixed docker build GHA by @vfdev-5 in https://github.com/pytorch/ignite/pull/3101
  • Update docker-build.yml by @vfdev-5 in https://github.com/pytorch/ignite/pull/3102
  • Aligned pypi release commands between nightly and stable by @vfdev-5 in https://github.com/pytorch/ignite/pull/3104
  • Fixed code formatting error by @vfdev-5 in https://github.com/pytorch/ignite/pull/3128
  • Fixed mypy issues by @vfdev-5 in https://github.com/pytorch/ignite/pull/3129
  • update citations to match the linked whitepaper by @djwadhwa in https://github.com/pytorch/ignite/pull/3127
  • Fixing CI for pytorch version tests by @vfdev-5 in https://github.com/pytorch/ignite/pull/3130
  • Add support for MPS Backend [without torch.amp.autocast ] + CI by @vfdev-5 in https://github.com/pytorch/ignite/pull/3041
  • Try to fix conda env issue on MPS tests by @vfdev-5 in https://github.com/pytorch/ignite/pull/3148
  • Fix failing tests on old pytorch versions by @vfdev-5 in https://github.com/pytorch/ignite/pull/3147
  • [skip-ci] Added ignite logo mixed light by @vfdev-5 in https://github.com/pytorch/ignite/pull/3153
  • Fix failing mps tests by @pranavvp16 in https://github.com/pytorch/ignite/pull/3145
  • make lr finder error message more helpful. by @leej3 in https://github.com/pytorch/ignite/pull/3160
  • Fixed a bug in ConcatScheduler loadstatedict by @vfdev-5 in https://github.com/pytorch/ignite/pull/3183
  • Fixed failing test on engine that does not warn by @vfdev-5 in https://github.com/pytorch/ignite/pull/3196
  • Fixed failing docs linkcheck by @vfdev-5 in https://github.com/pytorch/ignite/pull/3194
  • Migrate the macOS runners label from macos-m1-12 to macos-m1-stable by @DanilBaibak in https://github.com/pytorch/ignite/pull/3193
  • Fix anaconda binaries upload by @vfdev-5 in https://github.com/pytorch/ignite/pull/3192
  • Change LinearCyclicalScheduler to triangle wave to sawtooth wave by @sihyeong671 in https://github.com/pytorch/ignite/pull/3186
  • docs: add MAPE description to MARE [skip ci] by @aalbayrak394 in https://github.com/pytorch/ignite/pull/3199
  • check using gha labeler@v5 by @vfdev-5 in https://github.com/pytorch/ignite/pull/3205
  • Updated pr-labeler-config.yml to v5 by @avinashsharma080 in https://github.com/pytorch/ignite/pull/3201
  • Temporary fixing mpmath issue by @vfdev-5 in https://github.com/pytorch/ignite/pull/3207
  • Add cosine similarity metric by @kzkadc in https://github.com/pytorch/ignite/pull/3203
  • Fix error when testing xla in cosine similarity metric by @kzkadc in https://github.com/pytorch/ignite/pull/3213
  • Ported more distrib tests using TestDistributed by @vfdev-5 in https://github.com/pytorch/ignite/pull/3208
  • Updated code formatting tools verions and reformatted the code by @vfdev-5 in https://github.com/pytorch/ignite/pull/3209
  • Move contrib.handlers by @leej3 in https://github.com/pytorch/ignite/pull/3204
  • Add Entropy metric by @kzkadc in https://github.com/pytorch/ignite/pull/3210
  • Update references to handlers by @leej3 in https://github.com/pytorch/ignite/pull/3214
  • Rewrite test for Entropy metric by @kzkadc in https://github.com/pytorch/ignite/pull/3216
  • Fixed issue when DATALOADERSTOPITERATION event is triggered when engine.run(data=None, ...) by @vfdev-5 in https://github.com/pytorch/ignite/pull/3217
  • Updated pytorch version in docker and older versions tests by @vfdev-5 in https://github.com/pytorch/ignite/pull/3200
  • Update test for CosineSimilarity Metric by @kzkadc in https://github.com/pytorch/ignite/pull/3218
  • Added python 3.12 dependency in CI by @avinashsharma080 in https://github.com/pytorch/ignite/pull/3219
  • add fbresearch_logger.py by @leej3 in https://github.com/pytorch/ignite/pull/3215
  • Move contrib metrics files by @leej3 in https://github.com/pytorch/ignite/pull/3220
  • Fixed FID docstring and use latest pytorch_fid package by @vfdev-5 in https://github.com/pytorch/ignite/pull/3222
  • Add PearsonCorrelation metric by @kzkadc in https://github.com/pytorch/ignite/pull/3212
  • Fix device compatibility for PearsonCorrelation metric by @kzkadc in https://github.com/pytorch/ignite/pull/3223

Acknowledgments

πŸŽ‰ Thanks to our community and all our contributors for the issues, PRs and 🌟 ⭐️ 🌟 ! πŸ’― We really appreciate your implication into the project

New Contributors

  • @djwadhwa made their first contribution in https://github.com/pytorch/ignite/pull/3127
  • @pranavvp16 made their first contribution in https://github.com/pytorch/ignite/pull/3145
  • @leej3 made their first contribution in https://github.com/pytorch/ignite/pull/3160
  • @DanilBaibak made their first contribution in https://github.com/pytorch/ignite/pull/3193
  • @aalbayrak394 made their first contribution in https://github.com/pytorch/ignite/pull/3199
  • @avinashsharma080 made their first contribution in https://github.com/pytorch/ignite/pull/3201
  • @kzkadc made their first contribution in https://github.com/pytorch/ignite/pull/3203

Thank you !

Full Changelog

https://github.com/pytorch/ignite/compare/v0.4.13...v0.5.0.post1

- Python
Published by vfdev-5 almost 2 years ago

pytorch-ignite - PyTorch-Ignite 0.4.13 - Release Notes

What's Changed

  • Added idist.one_rank_first method by @AlexanderChaptykov in https://github.com/pytorch/ignite/pull/2926
  • Updated versions for black usort and ufmt and reformatted codebase by @vfdev-5 in https://github.com/pytorch/ignite/pull/2930
  • Fix doctest and linkcheck issues on CI by @vfdev-5 in https://github.com/pytorch/ignite/pull/2935
  • Migrated gpu-tests ci to pytorch infra by @vfdev-5 in https://github.com/pytorch/ignite/pull/2934
  • [skip ci] Updated version in docker by @theory-in-progress in https://github.com/pytorch/ignite/pull/2936
  • Updated docsearch info by @vfdev-5 in https://github.com/pytorch/ignite/pull/2944
  • Updated facet filtering in docsearch by @vfdev-5 in https://github.com/pytorch/ignite/pull/2945
  • Some improvement in Precision metric docs by @sadra-barikbin in https://github.com/pytorch/ignite/pull/2946
  • Improve RunningAverage reset when epoch_bound=False by @sadra-barikbin in https://github.com/pytorch/ignite/pull/2950
  • Fixed parameter scheduler bug with CosineAnnealingWarmRestarts by @AlexanderChaptykov in https://github.com/pytorch/ignite/pull/2938
  • Verbose fix by @AlexanderChaptykov in https://github.com/pytorch/ignite/pull/2957
  • Discord Threads for 'help wanted' issues by @guptaaryan16 in https://github.com/pytorch/ignite/pull/2960
  • Improve collective ops on numeric input by @sadra-barikbin in https://github.com/pytorch/ignite/pull/2959
  • Fix a bug in native::_do_all_gather related to group by @sadra-barikbin in https://github.com/pytorch/ignite/pull/2947
  • Fixed mypy failure with DistributedSampler by @vfdev-5 in https://github.com/pytorch/ignite/pull/2971
  • [ci] Updated pytorch version and installation cmd by @vfdev-5 in https://github.com/pytorch/ignite/pull/2970
  • [Follow-up] Account for BC in PR#2947 by @sadra-barikbin in https://github.com/pytorch/ignite/pull/2967
  • [skip ci] Updated setup.py info by @vfdev-5 in https://github.com/pytorch/ignite/pull/2975
  • Fixed docs issue in ReduceLROnPlateauScheduler by @vfdev-5 in https://github.com/pytorch/ignite/pull/2976
  • Add new metric usages and update RunningAverage accordingly by @sadra-barikbin in https://github.com/pytorch/ignite/pull/2958
  • [Follow-up] Fix a tiny bug in tests of Improvement in RunningAverage by @sadra-barikbin in https://github.com/pytorch/ignite/pull/2982
  • Fix warning in fastneuralstyle example by @sweep-ai in https://github.com/pytorch/ignite/pull/2984
  • Update ROC_AUC Test Case in Documentation by @sweep-ai in https://github.com/pytorch/ignite/pull/2989
  • Fixed broken links #2995 by @Illucious in https://github.com/pytorch/ignite/pull/2996
  • Removed circle-ci by @vfdev-5 in https://github.com/pytorch/ignite/pull/3007
  • Discord Workflow for Issues and pull-requests(non-maintainers-only) by @guptaaryan16 in https://github.com/pytorch/ignite/pull/3009
  • Fixed failing linkcheck CI job by @vfdev-5 in https://github.com/pytorch/ignite/pull/3010
  • Fix a tiny typo regarding save_handler type in Checkpoint class by @sadra-barikbin in https://github.com/pytorch/ignite/pull/3013
  • Fix for wrong output of Discord Extension and Workflow by @guptaaryan16 in https://github.com/pytorch/ignite/pull/3014
  • Fix typo by @njuaplusplus in https://github.com/pytorch/ignite/pull/3017
  • Fix a mypy issue related to torch optimizer step by @sadra-barikbin in https://github.com/pytorch/ignite/pull/3018
  • Make metrics serializable by @sadra-barikbin in https://github.com/pytorch/ignite/pull/3001
  • Moved examples/contrib into examples by @vfdev-5 in https://github.com/pytorch/ignite/pull/3028
  • Removed Trains BC from examples by @vfdev-5 in https://github.com/pytorch/ignite/pull/3029
  • Fix: change the dtype of self._kernel when input args have a different dtype by @MarcBresson in https://github.com/pytorch/ignite/pull/3034
  • [skip ci]Fixed not found link #3037 by @sihyeong671 in https://github.com/pytorch/ignite/pull/3038
  • skip mkl install on non-x86 arch by @vfdev-5 in https://github.com/pytorch/ignite/pull/3040
  • perf: replace _uniform method to remove iteration on tensor by @MarcBresson in https://github.com/pytorch/ignite/pull/3042
  • refactor: remove redundant line as .reset() is call in Metrics().__init() by @MarcBresson in https://github.com/pytorch/ignite/pull/3044
  • feat: improve how device switch is handled between the metric device and the input tensors device by @MarcBresson in https://github.com/pytorch/ignite/pull/3043
  • Ported gpu hvd tests from circleci to GHA by @vfdev-5 in https://github.com/pytorch/ignite/pull/2619
  • Fix Discord PR extension workflow output (#3046) by @vfdev-5 in https://github.com/pytorch/ignite/pull/3051
  • Added support for all_gather object by @vfdev-5 in https://github.com/pytorch/ignite/pull/3047
  • Fix attribute error in Checkpoint::reload_objects when save_handler is not of type DiskSaver by @sadra-barikbin in https://github.com/pytorch/ignite/pull/3059
  • Fix a tiny typo in ProgressBar's docstring by @sadra-barikbin in https://github.com/pytorch/ignite/pull/3063
  • Added compatibility with uint8 to SSIM metric by @MarcBresson in https://github.com/pytorch/ignite/pull/3045
  • Use class to organize distributed tests in modules by @sadra-barikbin in https://github.com/pytorch/ignite/pull/3069
  • feat: Added warmup each cycle feature in CyclicalScheduler by @sihyeong671 in https://github.com/pytorch/ignite/pull/3064
  • Updated test average precision, cohen kappa and roc auc by @vfdev-5 in https://github.com/pytorch/ignite/pull/3071
  • Replaced version in all yml files with actions/checkout@v4 by @GuptaPratik02 in https://github.com/pytorch/ignite/pull/3072
  • Use actions/checkout@v3 on self-hosted runners by @vfdev-5 in https://github.com/pytorch/ignite/pull/3075
  • Make RunningAverage and Rouge serializable by @sadra-barikbin in https://github.com/pytorch/ignite/pull/3035
  • Update requirements-dev.txt by @vfdev-5 in https://github.com/pytorch/ignite/pull/3076
  • feat: Added modelfn to support non-standard model function in createtrainer (#3055) by @invoker-bot in https://github.com/pytorch/ignite/pull/3074
  • Update setup.cfg by @vfdev-5 in https://github.com/pytorch/ignite/pull/3078
  • Update metrics.rst by @vfdev-5 in https://github.com/pytorch/ignite/pull/3081
  • Updated python 3.8 to 3.10 in the CI by @vfdev-5 in https://github.com/pytorch/ignite/pull/3080
  • Updated sphinx version to fix docs build failure by @vfdev-5 in https://github.com/pytorch/ignite/pull/3086
  • Fix issue with setuptools.distutils.version by @vfdev-5 in https://github.com/pytorch/ignite/pull/3079
  • Fixed all gather on number with ws=1 by @vfdev-5 in https://github.com/pytorch/ignite/pull/3087
  • Updated typehint for idist.all_gather method by @vfdev-5 in https://github.com/pytorch/ignite/pull/3089
  • Update versions in pytorch-version-tests.yml by @vfdev-5 in https://github.com/pytorch/ignite/pull/3091
  • Added graceful exit if data download errored by @vfdev-5 in https://github.com/pytorch/ignite/pull/3096
  • Updated CI gpu image version by @vfdev-5 in https://github.com/pytorch/ignite/pull/3097
  • Updated metrics serialization by @vfdev-5 in https://github.com/pytorch/ignite/pull/3095

New Contributors

  • @sweep-ai made their first contribution in https://github.com/pytorch/ignite/pull/2984
  • @Illucious made their first contribution in https://github.com/pytorch/ignite/pull/2996
  • @njuaplusplus made their first contribution in https://github.com/pytorch/ignite/pull/3017
  • @MarcBresson made their first contribution in https://github.com/pytorch/ignite/pull/3034
  • @sihyeong671 made their first contribution in https://github.com/pytorch/ignite/pull/3038
  • @GuptaPratik02 made their first contribution in https://github.com/pytorch/ignite/pull/3072
  • @invoker-bot made their first contribution in https://github.com/pytorch/ignite/pull/3074

Full Changelog: https://github.com/pytorch/ignite/compare/v0.4.12...v0.4.13

- Python
Published by vfdev-5 over 2 years ago

pytorch-ignite - Bug fixes, new features and housekeeping

PyTorch-Ignite 0.4.12 - Release Notes

New Features

Engine and Events

  • Added model_transform to create_supervised_evaluator so that user be able to transform model output into actual prediction (y_pred) (#2896)

Metrics and handlers

  • Updated the NeptuneLogger (#2881)
  • Improved ClearMLLogger. Accessing attributes of the logger, retrieves those of the underlying clearml task. get_task method is also added (#2898)
  • Added score_sign to add_early_stopping_by_val_score and gen_save_best_models_by_val_score to support both error-like and accuracy-like scores (#2898)

Bug Fixes

  • Fixed error on importing Events in Python3.11 (#2907)
  • Fixed an inefficiency in SSIM metric (#2914)
  • Fixed NeptuneSaver (#2900, #2902)

Housekeeping (docs, CI, examples, tests, etc)

  • #2871, #2872, #2875, #2877, #2879, #2886, #2887, #2897, #2899, #2905, #2918, #2922, #2924
  • Added CUDA 11.7 support (#2873)
  • Added an example on Siamese network used for image similarity estimation task (#2882)
  • Added an example on sub-pixel convolution layer which is used in vision tasks such as super-resolution (#2885)
  • Added PyTorch 1.13 support (#2890)

Acknowledgments

πŸŽ‰ Thanks to our community and all our contributors for the issues, PRs and 🌟 ⭐️ 🌟 ! πŸ’― We really appreciate your implication into the project (in alphabetical order):

@AlexanderChaptykov, @DeepC004, @Hummer12007, @divij-pawar, @guptaaryan16, @kshitij12345, @moienr, @normandy7, @sadra-barikbin, @sallycaoyu, @twolodzko, @vfdev-5

New Contributors

  • @twolodzko made their first contribution in https://github.com/pytorch/ignite/pull/2881
  • @divij-pawar made their first contribution in https://github.com/pytorch/ignite/pull/2887
  • @normandy7 made their first contribution in https://github.com/pytorch/ignite/pull/2886
  • @kshitij12345 made their first contribution in https://github.com/pytorch/ignite/pull/2900
  • @moienr made their first contribution in https://github.com/pytorch/ignite/pull/2914
  • @Hummer12007 made their first contribution in https://github.com/pytorch/ignite/pull/2929

Full Changelog: https://github.com/pytorch/ignite/compare/v0.4.11...v0.4.12

- Python
Published by vfdev-5 almost 3 years ago

pytorch-ignite - New features, bug fixes and housekeeping

PyTorch-Ignite 0.4.11 - Release Notes

New Features

Engine and Events

  • Added before and after events filters (#2727)
  • Can mix every and before/after event filters (#2860)
  • once event filter can accept a sequence of int (#2858)

```python

"once" event filter

@engine.on(Events.ITERATIONSTARTED(once=[50, 60])) def callonce(engine): # do something on 50th and 60th iterations

"before" and "after" event filter

@engine.on(Events.EPOCHSTARTED(after=10, before=30)) def callafterandbefore(engine): # do something in 11 to 29 epoch

Mixing "every" and "before" / "after" event filters

@engine.on(Events.EPOCHSTARTED(every=5, after=8, before=25)) def callafterandbefore_every(engine): # do something on 9, 14, 19, 24 epochs ```

  • Improved deterministic engine (#2756)
  • Grad accumulation should not effect value of loss (#2737)
  • Added model_transform in create supervised trainer (#2848)

Distributed module

  • Updated idist.all_gather to take group arg (#2715)
  • Updated idist.all_reduce to take group arg (#2712)
  • Added idist.new_group method (#2711)

Metrics and handlers

  • Updated LRFinder to have more than one parameter (#2704)
  • Added get_param method to ParamGroupScheduler (#2720)
  • Updated Polyaxon_logger (#2776)
  • Dropped TrainsLoger and TrainsSaver also removed the BC code (#2742)
  • Refactored PSNR and SSIM (#2797)
  • [BC-breaking] Aligned SSIM output with PSNR output, both give tensors (#2794)
  • Added distributed support to RocCurve (#2802)
  • Refactored EpochMetric and made it idempotent (#2800)

Bug fixes

  • Fixed device issue with metric tests SSIM, updated PSNR (#2796)
  • Fixed LRScheduler issue and fixed CI (#2780)
  • Fixed the code and now raise ModuleNotFoundError instead of RuntimeError (#2750)
  • Fixed sync_all_reduce to cover update->compute->update case (#2803)

Housekeeping (docs, CI, examples, tests, etc)

  • 2875, #2872, #2871, #2869, #2868, #2867, #2866, #2864, #2863, #2854, #2852, #2840, #2849, #2844, #2839, #2838, #2835, #2826, #2822, #2820, #2807, #2805, #2795, #2788, #2787, #2798, #2793, #2790, #2786, #2778, #2777, #2765, #2760, #2759, #2757, #2751, #2750, #2748, #2741, #2739, #2736, #2730, #2729, #2726, #2724, #2722, #2721, #2719, #2718, #2717, #2706, #2705, #2701, #2432

  • Drop python 3.7 from CI (#2836)

Acknowledgments

πŸŽ‰ Thanks to our community and all our contributors for the issues, PRs and 🌟 ⭐️ 🌟 ! πŸ’― We really appreciate your implication into the project (in alphabetical order):

@DeepC004, @JakubDz2208, @Moh-Yakoub, @RishiKumarRay, @abhi-glitchhg, @crj1998, @guptaaryan16, @louis-she, @pacificdragon, @puhuk, @sadra-barikbin, @sallycaoyu, @soma2000-lang, @theory-in-progress, @vfdev-5, @ydcjeff

New Contributors

  • @JakubDz2208 made their first contribution in https://github.com/pytorch/ignite/pull/2704
  • @soma2000-lang made their first contribution in https://github.com/pytorch/ignite/pull/2742
  • @guptaaryan16 made their first contribution in https://github.com/pytorch/ignite/pull/2786
  • @RishiKumarRay made their first contribution in https://github.com/pytorch/ignite/pull/2790
  • @crj1998 made their first contribution in https://github.com/pytorch/ignite/pull/2794
  • @abhi-glitchhg made their first contribution in https://github.com/pytorch/ignite/pull/2835
  • @sallycaoyu made their first contribution in https://github.com/pytorch/ignite/pull/2849
  • @DeepC004 made their first contribution in https://github.com/pytorch/ignite/pull/2858
  • @pacificdragon made their first contribution in https://github.com/pytorch/ignite/pull/2863

- Python
Published by vfdev-5 about 3 years ago

pytorch-ignite - New features, bug fixes and housekeeping

PyTorch-Ignite 0.4.10 - Release Notes

New Features

Engine

  • Added Engine interrupt/continue feature (#2699, #2682)

Example: ```python from ignite.engine import Engine, Events

data = range(10) max_epochs = 3

def checkinputdata(e, b): print(f"Epoch {engine.state.epoch}, Iter {engine.state.iteration} | data={b}") i = (e.state.iteration - 1) % len(data) assert b == data[i]

engine = Engine(checkinputdata)

@engine.on(Events.ITERATIONCOMPLETED(every=11)) def callinterrupt(): engine.interrupt()

print("Start engine run with interruptions:") state = engine.run(data, maxepochs=maxepochs) print("1 Engine run is interrupted at ", state.epoch, state.iteration) state = engine.run(data, maxepochs=maxepochs) print("2 Engine run is interrupted at ", state.epoch, state.iteration) state = engine.run(data, maxepochs=maxepochs) print("3 Engine ended the run at ", state.epoch, state.iteration) ```

Output ``` Start engine run with interruptions: Epoch 1, Iter 1 | data=0 Epoch 1, Iter 2 | data=1 Epoch 1, Iter 3 | data=2 Epoch 1, Iter 4 | data=3 Epoch 1, Iter 5 | data=4 Epoch 1, Iter 6 | data=5 Epoch 1, Iter 7 | data=6 Epoch 1, Iter 8 | data=7 Epoch 1, Iter 9 | data=8 Epoch 1, Iter 10 | data=9 Epoch 2, Iter 11 | data=0 1 Engine run is interrupted at 2 11 Epoch 2, Iter 12 | data=1 Epoch 2, Iter 13 | data=2 Epoch 2, Iter 14 | data=3 Epoch 2, Iter 15 | data=4 Epoch 2, Iter 16 | data=5 Epoch 2, Iter 17 | data=6 Epoch 2, Iter 18 | data=7 Epoch 2, Iter 19 | data=8 Epoch 2, Iter 20 | data=9 Epoch 3, Iter 21 | data=0 Epoch 3, Iter 22 | data=1 2 Engine run is interrupted at 3 22 Epoch 3, Iter 23 | data=2 Epoch 3, Iter 24 | data=3 Epoch 3, Iter 25 | data=4 Epoch 3, Iter 26 | data=5 Epoch 3, Iter 27 | data=6 Epoch 3, Iter 28 | data=7 Epoch 3, Iter 29 | data=8 Epoch 3, Iter 30 | data=9 3 Engine ended the run at 3 30 ```
  • Deprecated and replaced Events.default_event_filter with None (#2644)
  • [BC-breaking] Rewritten Engine's terminate and terminate_epoch logic (#2645)
  • Improved logging time taken message showing milliseconds (#2650)

Metrics and handlers

  • Added ZeRO built-in support to Checkpoint in a distributed configuration (#2658, #2642)
  • Added save_on_rank argument to DiskSaver and Checkpoint (#2641)
  • Added a handle_buffers option for EMAHandler (#2592)
  • Improved Precision and Recall metrics (#2573)

Bug fixes

  • Median metrics (e.g median absolute error) are now using np.median-compatible torch median implementation (#2681)
  • Fixed issues when removing handlers on filtered events (#2690)
  • Few minor fixes in Engine and Event (#2680)
  • [BC-breaking] Fixed Engine.terminate() behaviour when resumed (#2678)

Housekeeping (docs, CI, examples, tests, etc)

  • 2700, #2698, #2696, #2695, #2694, #2691, #2688, #2679, #2676, #2675, #2673, #2671, #2670, #2668, #2667, #2666, #2665, #2664, #2662, #2660, #2659, #2657, #2656, #2655, #2653, #2652, #2651, #2647, #2646, #2640, #2639, #2637, #2630, #2629, #2628, #2625, #2624, #2620, #2618, #2617, #2616, #2613, #2611, #2609, #2606, #2605, #2604, #2601, #2597, #2584, #2581, #2542

    • Metrics tests improvements in DDP configuration

Acknowledgments

πŸŽ‰ Thanks to our community and all our contributors for the issues, PRs and 🌟 ⭐️ 🌟 ! πŸ’― We really appreciate your implication into the project (in alphabetical order):

@BowmanChow, @daniellepintz, @haochunchang, @kamalojasv181, @puhuk, @sadra-barikbin, @sandylaker, @sdesrozis, @vfdev-5

- Python
Published by vfdev-5 over 3 years ago

pytorch-ignite - Features, bug fixes and housekeeping

PyTorch-Ignite 0.4.9 - Release Notes

New Features

  • Added whitelist argument to log only desired weights/grads with experiment tracking system handlers: #2550, #2523
  • Added ReduceLROnPlateauScheduler parameter scheduler: #2449
  • Added filename components in Checkpoint: #2498
  • Added missing args to ModelCheckpoint, parity with Checkpoint: #2486
  • [BC-breaking] LRScheduler is now attachable to Events.ITERATION_STARTED: #2496

Bug fixes

  • Fixed zero_grad place in create_supervised_trainer resulting in grad zero logs: #2560, #2559, #2555, #2547
  • Fixed bug in Checkpoint when loading a single non-nn.Module object: #2487
  • Removed warning in DDP if Metric.reset/update are not decorated: #2549
  • [BC-breaking] Fixed SSIM metric implementation and issue with variable batch inputs: #2564, #2563
    • compute method now returns float instead of torch.Tensor

Housekeeping (docs, CI, examples, tests, etc)

  • #2552, #2543, #2541, #2534, #2531, #2530, #2529, #2528, #2526, #2525, #2521, #2518, #2512, #2509, #2507, #2506, #2497, #2494, #2493, #2490, #2485, #2483, #2477, #2476, #2474, #2473, #2469, #2463, #2461, #2460, #2457, #2454, #2450, #2448, #2446, #2445, #2442, #2440, #2439, #2435, #2433, #2431, #2430, #2428, #2427,

Acknowledgments

πŸŽ‰ Thanks to our community and all our contributors for the issues, PRs and 🌟 ⭐️ 🌟 ! πŸ’― We really appreciate your implication into the project (in alphabetical order):

@Davidportlouis, @DevPranjal, @Ishan-Kumar2, @KevinMusgrave, @Moh-Yakoub, @asmayer, @divo12, @gorarakelyan, @jreese, @leotac, @nishantb06, @nmcguire101, @sadra-barikbin, @sayantan1410, @sdesrozis, @vfdev-5, @yuta0821

- Python
Published by vfdev-5 almost 4 years ago

pytorch-ignite - Mostly bug fixes

PyTorch-Ignite 0.4.8 - Release Notes

New Features

  • Added data as None option to Engine.run (#2369)
  • Now Checkpoint.load_objects can accept str and load the checkpoint internally (#2305)

Bug fixes

  • Fixed issue with DeterministicEngine.state_dict() (#2412)
  • Fixed EMAHandler warm-up behaviour (#2333)
  • Fixed _compute_nproc_per_node in case of bad dist configuration (#2288)
  • Fixed state parameter scheduler to work with EMAHandler (#2326)
  • Fixed a bug on StateParamScheduler.attach method (#2316)
  • Fixed ClearMLLogger to retrieve current task before trying to create a new one (#2344)
  • Added hashing a checkpoint utility: #2272, #2283, #2273
  • Fixed config check issue with multi-node spawn method (#2424)

Housekeeping (docs, CI, examples, tests, etc)

  • Added doctests for docstrings: #2241, #2402, #2400, #2399, #2395, #2394, #2391, #2389, #2384, #2352, #2351, #2349, #2348, #2347, #2346, #2345, #2341, #2340, #2336, #2335, #2332, #2327, #2324, #2323, #2321, #2317, #2311, #2307, #2290, #2284, #2280
  • #2420, #2411, #2409, #2404, #2392, #2382, #2380, #2378, #2377, #2374, #2371, #2370, #2365, #2362, #2360, #2359, #2357, #2355, #2334, #2331, #2329, #2308, #2297, #2292, #2285, #2279, #2278, #2277, #2270, #2264, #2261, #2252,

Acknowledgments

πŸŽ‰ Thanks to our community and all our contributors for the issues, PRs and 🌟 ⭐️ 🌟 ! πŸ’― We really appreciate your implication into the project (in alphabetical order):

@Abo7atm, @DevPranjal, @Eunjnnn, @FarehaNousheen, @H4dr1en, @Ishan-Kumar2, @KickItLikeShika, @Priyansi, @bibhabasumohapatra, @fco-dv, @louis-she, @sandylaker, @sdesrozis, @trsvchn, @vfdev-5, @ydcjeff

- Python
Published by vfdev-5 about 4 years ago

pytorch-ignite - State parameter scheduler, loggers improvements and bug fixes

PyTorch-Ignite 0.4.7 - Release Notes

New Features

  • Enabled LRFinder to run multiple epochs (#2200)
  • save_handler automatically detects DiskSaver when path passed (#2198)
  • Improved Checkpoint to use score_name as metric's key (#2146)
  • Added State parameter scheduler (#2090)
  • Added state attributes for loggers (tqdm, Polyaxon, MLFlow, WandB, Neptune, Tensorboard, Visdom, ClearML) (#2162, #2161, #2160, #2154, #2153, #2152, #2151, #2148, #2140, #2137)
  • Added gradient accumulation to supervised training step functions (#2223)
  • Automatic jupyter environment detection (#2188)
  • Added an additional argument to auto_optim to allow gradient accumulation (#2169)
  • Added micro averaging for Bleu Score (#2179)
  • Expanded BLEU, ROUGE to be calculated on batch input (#2259, #2180)
  • Moved BasicTimeProfiler, HandlersTimeProfiler, ParamScheduler, LRFinder to core (#2136, #2135, #2132)

Bug fixes

  • Fixed docstring examples with huge bottom padding (#2225)
  • Fixed NCCL warning caused by barrier if using idist (#2257, #2254)
  • Fixed hostname list expansion (#2208, #2204)
  • Fixed tcp error with PyTorch v1.9.1 (#2211)

Housekeeping (docs, CI, examples, tests, etc)

  • #2243, #2242, #2228, #2164, #2222, #2221, #2220, #2219, #2218, #2217, #2216, #2173, #2164, #2207, #2236, #2190, #2256, #2196, #2177, #2166, #2155, #2149, #2234, #2206, #2186, #2176, #2246, #2231, #2182, #2192, #2165, #2227, #2253, #2247, #2250, #2226, #2201, #2184, #2142, #2232, #2238, #2174

Acknowledgments

πŸŽ‰ Thanks to our community and all our contributors for the issues, PRs and 🌟 ⭐️ 🌟 ! πŸ’― We really appreciate your implication into the project (in alphabetical order):

@Chandan-h-509, @Ishan-Kumar2, @KickItLikeShika, @Priyansi, @fco-dv, @gucifer, @kennethleungty, @logankilpatrick, @mfoglio, @sandylaker, @sdesrozis, @theory-in-progress, @toxa23, @trsvchn, @vfdev-5, @ydcjeff

- Python
Published by trsvchn over 4 years ago

pytorch-ignite - FID/IS metrics for GANs, EMA handler and bug fixes

PyTorch-Ignite 0.4.6 - Release Notes

New Features

  • Added start_lr option to FastaiLRFinder (#2111)
  • Added Model's EMA handler (#2098, #2102)
  • Improved SLURM support: added hostlist expansion without using scontrol (#2092)

Metrics

  • Added Inception Score (#2053)
  • Added FID metric (#2049, #2061, #2085, #2094, #2103)
    • Blog post "GAN Evaluation : the Frechet Inception Distance and Inception Score metrics" (https://pytorch-ignite.ai/posts/gan-evaluation-with-fid-and-is/)
  • Improved DDP support for metrics (#2096, #2083)
  • Improved MetricsLambda to work with reset/update/compute API (#2091)

Bug fixes

  • Modified auto_dataloader to not wrap user provided DistributedSampler (#2119)
  • Raise error in DistributedProxySampler when sampler is already a DistributedSampler (#2120)
  • Improved LRFinder error message (#2127)
  • Added py.typed for type checkers (#2095)

Housekeeping

  • #2123, #2117, #2116, #2110, #2093, #2086

Acknowledgments

πŸŽ‰ Thanks to our community and all our contributors for the issues, PRs and 🌟 ⭐️ 🌟 ! πŸ’― We really appreciate your implication into the project (in alphabetical order):

@01-vyom, @KickItLikeShika, @gucifer, @sandylaker, @schuhschuh, @sdesrozis, @trsvchn, @vfdev-5, @ydcjeff

- Python
Published by vfdev-5 over 4 years ago

pytorch-ignite - New metrics, extended DDP support and bug fixes

PyTorch-Ignite 0.4.5 - Release Notes

New Features

Metrics

  • Added BLEU metric (#1834)
  • Added ROUGE metric (#1772)
  • Added MultiLabelConfusionMatrix metric (#1613)
  • Added Cohen Kappa metric (#1690)
  • Extended sync_all_reduce API (#1823)
  • Made EpochMetric more generic by extending the list of valid types (#1748)
  • Fixed issue with metric's output device (#2062)
  • Added support for list of tensors as metric input (#2055)
  • Implemented Jaccard Index shortcut for metrics (#1682)
  • Updated Loss metric to use required_output_keys (#2027)
  • Added classification report metric (#1887)
  • Added output detach for Canberra metric (#1820)
  • Improved ROC AUC (#1762)
  • Improved AveragePrecision metric and tests (#1756)
  • Uniformly handling of metric types for all loggers (#2021)
  • More DDP support for multiple contrib metrics (#1891, #1869, #1865, #1850, #1830, #1829, #1806, #1805, #1803)

Engine

  • Added native torch.cuda.amp and apex automatic mixed precision for create_supervised_trainer and create_supervised_evaluator (#1714, #1589)
  • Updated state.batch/state.output lifespan in Engine (#1919)

Distributed module

  • Handled IterableDataset with auto_dataloader (#2028)
  • Updated Loss metric to use required_output_keys (#2027)
  • Enabled gpu support for gloo backend (#2016)
  • Added safe_mode for idist broadcast (#1839)
  • Improved idist to support different init_methods (#1767)

Other improvements

  • Added LR finder improvements, moved to core (#2045, #1998, #1996, #1987, #1981, #1961, #1951, #1930)
  • Moved param handler to core (#1988)
  • Added an option to store EpochOutputStore data on engine.state, moved to core (#1982, #1974)
  • Set seed for xla in ignite.utils.manual_seed (#1970)
  • Fixed case for Precision/Recall in multi_label, not averaged configuration for DDP (#1646)
  • Updated PolyaxonLogger to handle v1 and v0 (#1625)
  • Added Arguments *args, **kwargs to BaseLogger.attach method (#2034)
  • Enabled metric ordering on ProgressBar (#1937)
  • Updated wandb logger (#1896)
  • Fixed type hint for ProgressBar (#2079)

Bug fixes

  • BC-breaking: Improved loggers to keep configuration (#1945)
  • Fixed warnings in CI (#2023)
  • Fixed Precision for all zero predictions (#2017)
  • Renamed the default logger (#2006)
  • Fixed Accumulation metric with Nvidia/Apex (#1978)
  • Updated code to raise an error if SLURM is used with torch dist launcher (#1976)
  • Updated nltk-smooth2 for BLEU metric (#1911)
  • Added full read permissions to saved file (1876) (#1880)
  • Fixed a bug with horovod _do_manual_all_reduce (#1848)
  • Fixed small bug in "Finetuning EfficientNet-B0 on CIFAR100" tutorial (#2073)
  • Fixed f-string in mnist_save_resume_engine.py example (#2077)
  • Fixed an issue when rng states accidentaly on cuda for DeterministicEngine (#2081)

Housekeeping

A lot of PRs - Test improvements (#2061, #2057, #2047, #1962, #1957, #1946, #1943, #1928, #1927, #1915, #1914, #1908, #1906, #1905, #1903, #1902, #1899, #1899, #1882, #1870, #1866, #1860, #1846, #1832, #1828, #1821, #1816, #1815, #1814, #1812, #1811, #1809, #1808, #1807, #1804, #1802, #1801, #1799, #1798, #1797, #1796, #1795, #1793, #1791, #1785, #1784, #1783, #1781, #1776, #1774, #1769, #1768, #1760, #1755, #1746, #1741, #1718, #1717, #1713, #1631) - Documentation improvements and updates (#2058, #2024, #2005, #2003, #2001, #1993, #1990, #1933, #1893, #1849, #1780, #1770, #1727, #1726, #1722, #1686, #1685, #1672, #1671, #1661) - Example improvements (#1924, #1918, #1890, #1827, #1771, #1669, #1658, #1656, #1652, #1642, #1633, #1632) - CI updates (#2075, #2070, #2069, #2068, #2067, #2064, #2044, #2039, #2037, #2023, #1985, #1979, #1940, #1907, #1892, #1888, #1878, #1877, #1873, #1867, #1861, #1847, #1841, #1838, #1837, #1835, #1831, #1818, #1773, #1764, #1761, #1759, #1752, #1745, #1743, #1742, #1739, #1738, #1736, #1724, #1706, #1705, #1667, #1664, #1647) - Code style improvements (#2050, #2014, #1817, #1749, #1747, #1740, #1734, #1732, #1731, #1707, #1703) - Added docker image test script (#1733)

Acknowledgments

πŸŽ‰ Thanks to our community and all our contributors for the issues, PRs and 🌟 ⭐️ 🌟 ! πŸ’― We really appreciate your implication into the project (in alphabetical order):

@01-vyom, @Devanshu24, @Juddd, @KickItLikeShika, @Moh-Yakoub, @Muktan, @OBITORASU, @Priyansi, @afzal442, @ahmedo42, @aksg87, @aniezurawski, @cozek, @devrimcavusoglu, @fco-dv, @gucifer, @log-layer, @mouradmourafiq, @radekosmulski, @sahilg06, @sdesrozis, @sparkingdark, @thomasjpfan, @touqir14, @trsvchn, @vfdev-5, @ydcjeff

- Python
Published by vfdev-5 over 4 years ago

pytorch-ignite - Bug fixes and docs improvements

PyTorch-Ignite 0.4.4 - Release Notes

Bug fixes:

  • BC-breaking Moved detach outside of loss function computation (#1675, #1692)
  • Added eps to avoid nans in canberra error (#1699)
  • Removed size limitation for str on collective ops (#1702)
  • Fixed imports in docker images and now install Pillow-SIMD (#1638, #1639, #1628, #1711)

Doc improvements

  • #1645, #1653, #1654, #1671, #1672, #1691, #1687, #1686, #1685, #1684, #1676, #1688

Other improvements

  • Fixed artifacts urls for pypi (#1629)

Acknowledgments

πŸŽ‰ Thanks to our community and all our contributors for the issues, PRs and 🌟 ⭐️ 🌟 ! πŸ’― We really appreciate your implication into the project (in alphabetical order):

@Devanshu24, @KickItLikeShika, @Moh-Yakoub, @OBITORASU, @ahmedo42, @fco-dv, @sparkingdark, @touqir14, @trsvchn, @vfdev-5, @y0ast, @ydcjeff

- Python
Published by vfdev-5 almost 5 years ago

pytorch-ignite - New features, better docs, dropped python 3.5

PyTorch-Ignite 0.4.3 - Release Notes

πŸŽ‰ Since september we have a new logo (#1324) πŸŽ‰

Core

Metrics

  • [BC-breaking] Made Metrics accumulate values on device specified by user (#1238)
  • Fixes BC if custom metric returns a dict (#1478)
  • Added PSNR metric (#1570, #1595)

Handlers

  • Checkpoint can save model with same filename (#1423)
  • Add greater_or_equal option to Checkpoint handler (#1597)
  • Update handlers to use setup_logger (#1617)
  • Added TimeLimit handler (#1611)

Distributed helper module

  • Distributed cpu tests on windows (#1429)
  • Added kwargs to idist.auto_model (#1552)
  • Improved horovod initializer (#1559)

Others

  • Dropped python 3.5 support (#1500)
  • Added torch.cuda.manual_seed_all to ignite.utils.manual_seed (#1444)
  • Fixed to_onehot function to be torch scriptable (#1592)
  • Introduced standard stream for logger setup helper (#1601)

Docker images

  • Removed Entrypoint from Dockerfile and images (#1475)

Examples

  • Added [Cifar10 QAT example](https://github.com/pytorch/ignite/tree/master/examples/contrib/cifar10_qat (#1556)

Contrib

Metrics

  • Improved Canberra metric for DDP (#1314)
  • Improve ManhattanDistance metric for DDP (#1320)
  • Improve R2Score metric for DDP (#1318)

Handlers

  • Added new time profiler HandlersTimeProfiler which allows per handler time profiling (#1398, #1474)
  • Fixed attach_opt_params_handler to return RemovableEventHandle (#1502)
  • Renamed TrainsLogger to ClearMLLogger keeping BC (#1557, #1560)

Documentation improvements

  • #1330, #1337, #1338, #1353, #1360, #1374, #1373, #1394, #1393, #1401, #1435, #1460, #1461, #1465, #1536, #1542 ...
  • Update Shpinx to v3.2.1. (#1356, #1372)

Codebase is MyPy checked

  • #1349, #1351, #1352, #1355, #1362, #1363, #1370, #1379, #1418, #1419, #1416, #1447, #1484

Acknowledgments

πŸŽ‰ Thanks to our community and all our contributors for the issues, PRs and 🌟 ⭐️ 🌟 ! πŸ’― We really appreciate your implication into the project (in alphabetical order):

@1nF0rmed, @Amab, @BanzaiTokyo, @Devanshu24, @Nic-Ma, @RaviTezu, @SamuelMarks, @abdulelahsm, @afzal442, @ahmedo42, @dgarth, @fco-dv, @gruebel, @harsh8398, @ibotdotout, @isabela-pf, @jkhenning, @josselineperdomo, @jrieke, @n2cholas, @ramesht007, @rzats, @sdesrozis, @shngt, @sroy8091, @theodumont, @thescripted, @timgates42, @trsvchn, @uribgp, @vcarpani, @vfdev-5, @ydcjeff, @zhxxn

- Python
Published by vfdev-5 about 5 years ago

pytorch-ignite - Improved distributed support (horovod framework, epoch-wise metrics, etc), new metrics/handlers, bug fixes and pre-built docker images.

PyTorch-Ignite 0.4.2 - Release Notes

Core

New Features and bug fixes

  • Added SSIM metric (#1217)
  • Added prebuilt Docker images (#1218)
  • Added distributed support for EpochMetric and related metrics (#1229)
  • Added required_output_keys public attribute (#1291)

  • Pre-built docker images for computer vision and nlp tasks powered with Nvidia/Apex, Horovod, MS DeepSpeed (#1304 #1248 #1218 )

Handlers and utils

  • Allow passing keyword arguments to save function on Checkpoint (#1245)

Distributed helper module

  • Added support of Horovod (#1195)
  • Added idist.broadcast (#1237)
  • Added sync_bn option to idist.auto_model (#1265)

Contrib

New Features and bug fixes

  • Added EpochOutputStore handler (#1226)
  • Improved displayed tag for tqdm progress bar (#1279)
  • Fixed bug with ParamGroupScheduler with schedulers based on different optimizers (#1274)

And a lot of house-keeping Pre-September Hacktoberfest contributions

  • Added initial Mypy check at CI step (#1296)
  • Fixed typo in docs (concepts) (#1295)
  • Fixed link to pytorch documents (#1294)
  • Removed prints from tests (#1292)
  • Downgraded tqdm version to stabilize the CI (#1293)

Acknowledgments

πŸŽ‰ Thanks to our community and all our contributors for the issues, PRs and 🌟 ⭐️ 🌟 ! πŸ’― We really appreciate your implication into the project (in alphabetical order):

@M3L6H, @Tawishi, @WrRan, @ZhiliangWu, @benji011, @fco-dv, @kamahori, @kenjihiraoka, @kilsenp, @n2cholas, @nzare, @sdesrozis, @theodumont, @vfdev-5, @ydcjeff,

- Python
Published by vfdev-5 over 5 years ago

pytorch-ignite - Bugfixes and updates

PyTorch-Ignite 0.4.1 - Release Notes

Core

New Features and bug fixes

  • Improved docs for custom events (#1179)

Handlers and utils

  • Added custom filename pattern for saving checkpoints (#1127)

Distributed helper module

  • Improved namings in _XlaDistModel (#1173)
  • Minor optimization for idist.get_* methods (#1196)
  • Fixed distributed proxy sampler runtime error (#1192)
  • Fixes bug using idist with "nccl" backend and torch cuda is not available (#1166)
  • Fixed issue with logging XLA tensors (#1207)

Contrib

New Features and bug fixes

  • Fixes warning about "TrainsLogger output_handler can not log metrics value" (#1170)
  • Improved usage of contrib common methods with other save handlers (#1171)

Examples

  • Improved Pascal Voc example (#1193)

Acknowledgments

πŸŽ‰ Thanks to our community and all our contributors for the issues, PRs and 🌟 ⭐️ 🌟 ! πŸ’― We really appreciate your implication into the project (in alphabetical order):

@Joel-hanson, @WrRan, @jspisak, @marload, @ryanwongsa, @sdesrozis, @vfdev-5

- Python
Published by vfdev-5 over 5 years ago

pytorch-ignite - Simplified Engine. Enhanced support for distributed configuration on GPUs, XLA devices

PyTorch-Ignite 0.4.0 - Release Notes

Core

BC breaking changes

  • Simplified engine - BC breaking change (#940 #939 #938)
    • no more internal patching of torch DataLoader.
    • seed argument of Engine.run is deprecated.
    • previous behaviour can be achieved with DeterministicEngine, introduced in #939.
  • Make all Events be CallableEventsWithFilter (#788).
  • Make ignite compatible only with pytorch >=1.3 (#1016, #1150).
    • ignite is tested on the latest and nightly versions of pytorch.
    • exact compatibility with previous versions can be checked here.
  • Remove deprecated arguments from BaseLogger (#1051).
  • Deprecated CustomPeriodicEvent (#984).
  • RunningAverage now computes output quantity average instead of a sum in DDP (#991).
  • Checkpoint stores now files with .pt extension instead of .pth (#873).
  • Arguments archived of Checkpoint and ModelCheckpoint are deprecated (#873).
  • Now create_supervised_trainer and create_supervised_evaluator do not move model to device (#910).

See also migration note for details on how to update your code.

New Features and bug fixes

Ignite Distributed [Experimental]

  • Introduction of ignite.distributed as idist module (#1045)
    • common interface for distributed applications and helper methods, e.g. get_world_size(), get_rank(), ...
    • supports native torch distributed configuration, XLA devices.
    • metrics computation works in all supported distributed configurations: GPUs and TPUs.
    • Parallel utility and auto module (#1014).

Engine & Events

  • Add flexibility on event handlers by packing triggering events (#868).
  • Engine argument is now optional in event handlers (#889, #919).
  • We initialize engine.state before calling engine.run (#1028).
  • Engine can run on dataloader based on IterableDataset and without specifying epoch_length (#1077).
  • Added user keys into Engine's state dict (#914).
  • Bug fixes in Engine class (#1048, #994).
  • Now epoch_length argument is optional (#985)
    • suitable to work with finite-unknown-length iterators.
  • Added times in engine.state (#958).

Metrics

  • Add Frequency metric for ops/s calculations (#760, #783, #976).
  • Metrics computation can be customized with introduced MetricUsage (#979, #1054)
    • batch-wise/epoch-wise or customly programmed metric's update and compute methods.
  • Metric can be detached (#827).
  • Fixed bug in RunningAverage when output is torch tensor (#943).
  • Improved computation performance of EpochMetric (#967).
  • Fixed average recall value of ConfusionMatrix (#846).
  • Now metrics can be serialized using dill (#930).
  • Added support for nested metric values (#968).

Handlers and utils

  • Checkpoint : improved filename when score value is Integer (#758).
  • Checkpoint : fix returning worst model of the saved models. (#745).
  • Checkpoint : load_objects can load single object checkpoints (#772).
  • Checkpoint : we now save only one checkpoint per priority (#847).
  • Checkpoint : added kwargs to Checkpoint.load_objects (#861).
  • Checkpoint : now saves model.module.state_dict() for DDP and DP (#1086).
  • Checkpoint and related: other improvements (#937).
  • Checkpoint and EarlyStopping become stateful (#1156)
  • Support namedtuple for convert_tensor (#740).
  • Added decorator one_rank_only (#882).
  • Update common.py (#904).

Contrib

  • Added FastaiLRFinder (#596).

Metrics

  • Added Roc Curve and Precision/Recall Curve to the metrics (#875).

Parameters scheduling

  • Enabled multi params group for LRScheduler (#1027).
  • Parameters scheduling improvements (#1072, #859).
  • Parameters scheduler can work on torch optimizer and any object with attribute param_groups (#1163).

Support of experiment tracking systems

  • Add NeptuneLogger (#730, #821, #951, #954).
  • Add TrainsLogger (#1020, #1036, #1043).
  • Add WandbLogger (#926).
  • Added visdom_logger to common module (#796).
  • TensorboardX is no longer mandatory if pytorch>=1.2 (#858).
  • Simplified BaseLogger attach APIs (#1006).
  • Added kwargs to loggers' constructors and respective setup functions (#1015).

Time profiling

  • Added basic time profiler to contrib.handlers (#729).

Bug fixes (some of PRs)

  • ProgressBar output not in sync with epoch counts (#773).
  • Fixed ProgressBar.log_message (#768).
  • Progressbar now accounts for epoch_length argument (#785).
  • Fixed broken ProgressBar if data is iterator without epoch length (#995).
  • Improved setup_logger for multiple calls (#962).
  • Fixed incorrect log position (#1099).
  • Added missing colon to logging message (#1101).
  • Fixed order of checkpoint saving and candidate removal (#1117)

Examples

  • Basic example of FastaiLRFinder on MNIST (#838).
  • CycleGAN auto-mixed precision training example with NVidia/Apex or native torch.cuda.amp (#888).
  • Added setup_logger to mnist examples (#953).
  • Added MNIST example on TPU (#956).
  • Benchmark amp on Cifar100 (#917).
  • Updated ImageNet and Pascal VOC12 examples (#1125 #1138)

Housekeeping

  • Documentation updates (#711, #727, #734, #736, #742, #743, #759, #798, #780, #808, #817, #826, #867, #877, #908, #909, #911, #928, #942, #986, #989, #1002, #1031, #1035, #1083, #1092, ...).
  • Offerings to the CI gods (#713, #761, #762, #776, #791, #801, #803, #879, #885, #890, #894, #933, #981, #982, #1010, #1026, #1046, #1084, #1093, #1113, ...).
  • Test improvements (#779, #807, #854, #891, #975, #1021, #1033, #1041, #1058, ...).
  • Added Serializable in mixins (#1000).
  • Merge of EpochMetric in _BaseRegressionEpoch (#970).
  • Adding typing to ignite (#716, #751, #800, #844, #944, #1037).
  • Drop Python 2 support finalized (#806).
  • Splits engine into multiple parts (#724).
  • Add Python 3.8 to Conda builds (#781).
  • Black formatted codebase with pre-commit files (#792).
  • Activate dpl v2 for Travis CI (#804).
  • AutoPEP8 (#805).
  • Fixed device conversion method (#887).
  • Refactored deps installation (#931).
  • Return handler in helpers (#997).
  • Fixes #833 (#1001).
  • Disable propagation of loggers to ancestrors (#1013).
  • Consistent PEP8-compliant imports layout (#901).

Acknowledgments

πŸŽ‰ Thanks to our community and all our contributors for the issues, PRs and 🌟 ⭐️ 🌟 ! πŸ’― We really appreciate your implication into the project (in alphabetical order):

@Crissman, @DhDeepLIT, @GabrielePicco, @InCogNiTo124, @ItamarWilf, @Joxis, @Muhamob, @Yevgnen, @amatsukawa @anmolsjoshi, @bendboaz, @bmartinn, @cajanond, @chm90, @cqql, @czotti, @erip, @fdlm, @hoangmit, @isolet, @jakubczakon, @jkhenning, @kai-tub, @maxfrei750, @michiboo, @mkartik, @sdesrozis, @sisp, @vfdev-5, @willfrey, @xen0f0n, @y0ast, @ykumards

- Python
Published by vfdev-5 over 5 years ago

pytorch-ignite - Simplified Engine. Enhanced support for distributed configuration on GPUs, XLA devices

PyTorch-Ignite 0.4.0 RC - Release Notes

Core

BC breaking changes

  • Simplified engine - BC breaking change (#940 #939 #938)
    • no more internal patching of torch DataLoader.
    • seed argument of Engine.run is deprecated.
    • previous behaviour can be achieved with DeterministicEngine, introduced in #939.
  • Make all Events be CallableEventsWithFilter (#788).
  • Make ignite compatible only with pytorch >1.0 (#1016).
    • ignite is tested on the latest and nightly versions of pytorch.
    • exact compatibility with previous versions can be checked here.
  • Remove deprecated arguments from BaseLogger (#1051).
  • Deprecated CustomPeriodicEvent (#984).
  • RunningAverage now computes output quantity average instead of a sum in DDP (#991).
  • Checkpoint stores now files with .pt extension instead of .pth (#873).
  • Arguments archived of Checkpoint and ModelCheckpoint are deprecated (#873).
  • Now create_supervised_trainer and create_supervised_evaluator do not move model to device (#910).

New Features and bug fixes

Ignite Distributed [Experimental]

  • Introduction of ignite.distributed as idist module (#1045)
    • common interface for distributed applications and helper methods, e.g. get_world_size(), get_rank(), ...
    • supports native torch distributed configuration, XLA devices.
    • metrics computation works in all supported distributed configurations: GPUs and TPUs.

Engine & Events

  • Add flexibility on event handlers by packing triggering events (#868).
  • Engine argument is now optional in event handlers (#889, #919).
  • We initialize engine.state before calling engine.run (#1028).
  • Engine can run on dataloader based on IterableDataset and without specifying epoch_length (#1077).
  • Added user keys into Engine's state dict (#914).
  • Bug fixes in Engine class (#1048, #994).
  • Now epoch_length argument is optional (#985)
    • suitable to work with finite-unknown-length iterators.
  • Added times in engine.state (#958).

Metrics

  • Add Frequency metric for ops/s calculations (#760, #783, #976).
  • Metrics computation can be customized with introduced MetricUsage (#979, #1054)
    • batch-wise/epoch-wise or customly programmed metric's update and compute methods.
  • Metric can be detached (#827).
  • Fixed bug in RunningAverage when output is torch tensor (#943).
  • Improved computation performance of EpochMetric (#967).
  • Fixed average recall value of ConfusionMatrix (#846).
  • Now metrics can be serialized using dill (#930).
  • Added support for nested metric values (#968).

Handlers and utils

  • Checkpoint : improved filename when score value is Integer (#758).
  • Checkpoint : fix returning worst model of the saved models. (#745).
  • Checkpoint : load_objects can load single object checkpoints (#772).
  • Checkpoint : we now save only one checkpoint per priority (#847).
  • Checkpoint : added kwargs to Checkpoint.load_objects (#861).
  • Checkpoint : now saves model.module.state_dict() for DDP and DP (#1086).
  • Checkpoint and related: other improvements (#937).
  • Support namedtuple for convert_tensor (#740).
  • Added decorator one_rank_only (#882).
  • Update common.py (#904).

Contrib

  • Added FastaiLRFinder (#596).

Metrics

  • Added Roc Curve and Precision/Recall Curve to the metrics (#875).

Parameters scheduling

  • Enabled multi params group for LRScheduler (#1027).
  • Parameters scheduling improvements (#1072, #859).

Support of experiment tracking systems

  • Add NeptuneLogger (#730, #821, #951, #954).
  • Add TrainsLogger (#1020, #1036, #1043).
  • Add WandbLogger (#926).
  • Added visdom_logger to common module (#796).
  • TensorboardX is no longer mandatory if pytorch>=1.2 (#858).
  • Simplified BaseLogger attach APIs (#1006).
  • Added kwargs to loggers' constructors and respective setup functions (#1015).

Time profiling

  • Added basic time profiler to contrib.handlers (#729).

Bug fixes (some of PRs)

  • ProgressBar output not in sync with epoch counts (#773).
  • Fixed ProgressBar.log_message (#768).
  • Progressbar now accounts for epoch_length argument (#785).
  • Fixed broken ProgressBar if data is iterator without epoch length (#995).
  • Improved setup_logger for multiple calls (#962).
  • Fixed incorrect log position (#1099).
  • Added missing colon to logging message (#1101).

Examples

  • Basic example of FastaiLRFinder on MNIST (#838).
  • CycleGAN auto-mixed precision training example with NVidia/Apex or native torch.cuda.amp (#888).
  • Added setup_logger to mnist examples (#953).
  • Added MNIST example on TPU (#956).
  • Benchmark amp on Cifar100 (#917).
  • TrainsLogger semantic segmentation example (#1095).

Housekeeping (some of PRs)

  • Documentation updates (#711, #727, #734, #736, #742, #743, #759, #798, #780, #808, #817, #826, #867, #877, #908, #909, #911, #928, #942, #986, #989, #1002, #1031, #1035, #1083, #1092).
  • Offerings to the CI gods (#713, #761, #762, #776, #791, #801, #803, #879, #885, #890, #894, #933, #981, #982, #1010, #1026, #1046, #1084, #1093).
  • Test improvements (#779, #807, #854, #891, #975, #1021, #1033, #1041, #1058).
  • Added Serializable in mixins (#1000).
  • Merge of EpochMetric in _BaseRegressionEpoch (#970).
  • Adding typing to ignite (#716, #751, #800, #844, #944, #1037).
  • Drop Python 2 support finalized (#806).
  • Dynamic typing (#723).
  • Splits engine into multiple parts (#724).
  • Add Python 3.8 to Conda builds (#781).
  • Black formatted codebase with pre-commit files (#792).
  • Activate dpl v2 for Travis CI (#804).
  • AutoPEP8 (#805).
  • Fixes nightly version bug (#809).
  • Fixed device conversion method (#887).
  • Refactored deps installation (#931).
  • Return handler in helpers (#997).
  • Fixes #833 (#1001).
  • Disable propagation of loggers to ancestrors (#1013).
  • Consistent PEP8-compliant imports layout (#901).

Acknowledgments

πŸŽ‰ Thanks to our community and all our contributors for the issues, PRs and 🌟 ⭐️ 🌟 ! πŸ’― We really appreciate your implication into the project (in alphabetical order):

@Crissman, @DhDeepLIT, @GabrielePicco, @InCogNiTo124, @ItamarWilf, @Joxis, @Muhamob, @Yevgnen, @anmolsjoshi, @bendboaz, @bmartinn, @cajanond, @chm90, @cqql, @czotti, @erip, @fdlm, @hoangmit, @isolet, @jakubczakon, @jkhenning, @kai-tub, @maxfrei750, @michiboo, @mkartik, @sdesrozis, @sisp, @vfdev-5, @willfrey, @xen0f0n, @y0ast, @ykumards

- Python
Published by vfdev-5 over 5 years ago

pytorch-ignite - Bye-Bye Python 2.7, Welcome 3.8

Core

  • Added State repr and input batch as engine.state.batch (#641)
  • Adapted core metrics only to be used in distributed configuration (#635)
  • Added fbeta metric as core metric (#653)
  • Added event filtering feature (e.g. every/once/event filter logic) (#656)
  • BC breaking change: Refactor ModelCheckpoint into Checkpoint + DiskSaver / ModelCheckpoint (#673)
    • Added option n_saved=None to store all checkpoints (#703)
  • Improved accumulation metrics (#681)
  • Early stopping min delta (#685)
  • Droped Python 2.7 support (#699)
  • Added feature: Metric can accept a dictionary (#689)
  • Added Dice Coefficient metric (#680)
  • Added helper method to simplify the setup of class loggers (#712)

Engine refactoring (BC breaking change)

Finally solved the issue #62 to resume training from an epoch or iteration

  • Engine refactoring + features (#640)
    • engine checkpointing
    • variable epoch lenght defined by epoch_length
    • two additional events: GET_BATCH_STARTED and GET_BATCH_COMPLETED
    • cifar10 example with save/resume in distributed conf

Contrib

  • Improved create_lr_scheduler_with_warmup (#646)
  • Added helper method to plot param scheduler values with matplotlib (#650)
  • BC Breaking change: with multiple optimizer's param groups (#690)
    • Added statedict/loadstate_dict (#690)
  • BC Breaking change: Let the user specify tqdm parameters for log_message (#695)

Examples

  • Added an example of hyperparameters tuning with Ax on CIFAR10 (#652)
  • Added CIFAR10 distributed example

Reproducible trainings as "References"

Inspired by torchvision/references, we provide several reproducible baselines for vision tasks:

Features:

  • Distributed training with mixed precision by nvidia/apex
  • Experiments tracking with MLflow or Polyaxon

Acknowledgments

πŸŽ‰ Thanks to our community and all our contributors for the issues, PRs and 🌟 ⭐️ 🌟 ! πŸ’― We really appreciate your implication into the project (in alphabetical order):

@anubhavashok, @kagrze, @maxfrei750, @vfdev-5

- Python
Published by vfdev-5 about 6 years ago

pytorch-ignite - New features and bug fixes

Core

Various improvements in the core part of the library: - Add epoch_bound parameter to RunningAverage (#488) - Bug fixes with Confusion matrix, new implementation (#572) - BC breaking - Added event_to_attr in registerevents (#523) - Added accumulative single variable metrics (#524) - `shouldterminateis reset between runs (#525) -toonehotreturns tensor with uint8 dtype (#571) - **may be BC breaking** - Removable handle returned fromEngine.addevent_handler()` to enable single-shot events (#588)

  • New documentation style πŸŽ‰

Distributed

We removed mnist distrib example as being misleading and ~~provided distrib branch~~(XX/YY/2020: distrib branch merged to master) to adapt metrics for distributed computation. Code is working and is under testing. Please, try it in your use-case and leave us a feedback.

Now in Contributions module

  • Added mlflow logger (#558)
  • R-Squared Metric in regression metrics module (#496)
  • Add tag field to OptimizerParamsHandler (#502)
  • Improved ProgressBar with TerminateOnNan (#506)
  • Support for layer freezing with Tensorboard integration (#515)
  • Improved OutputHandler API (#531)
  • Improved createlrschedulerwithwarmup (#556)
  • Added "all" option to metric_names in contrib loggers (#565)
  • Added GPU usage info as metric (#569)
  • Other bug fixes

Notebook examples

  • Added Cycle-GAN notebook (#500)
  • Finetune EfficientNet-B0 on CIFAR100 (#544)
  • Added Fashion MNIST jupyter notebook (#549)

Updated nighlty builds

From pip: pip install --pre pytorch-ignite From conda (this suggests to install pytorch nightly release instead of stable version as dependency): conda install ignite -c pytorch-nightly


Acknowledgments

πŸŽ‰ Thanks to our community and all our contributors for the issues, PRs and 🌟 ⭐️ 🌟 ! πŸ’― We really appreciate your implication into the project (in alphabetical order):

@ANUBHAVNATANI, @Bibonaut, @Evpok, @Hiroshiba, @JeroenDelcour, @Mxbonn, @anmolsjoshi, @asford, @bosr, @johnstill, @marrrcin, @vfdev-5, @willfrey

- Python
Published by vfdev-5 over 6 years ago

pytorch-ignite - New features and enhanced contrib module

Core

  • We removed deprecated metric classes BinaryAccuracy and CategoricalAccuracy and which are replaced by Accuracy.

  • Multilabel option for Accuracy, Precision, Recall metrics.

  • Added other metrics:

  • Operations on metrics: p = Precision(average=False)

    • apply PyTorch operators: mean_precision = p.mean()
    • indexing: precision_no_bg = p[1:]
  • Improved our docs with more examples.

  • Added FAQ section with best practices.

  • Bug fixes

Now in Contributions module

Notebook examples

  • VAE on MNIST
  • CNN for text classification

Nighlty builds with pytorch-nightly as dependency

We also provide pip/conda nighlty builds with pytorch-nightly as dependency: pip install pytorch-ignite-nightly or conda install -c pytorch ignite-nightly


Acknowledgments πŸŽ‰ Thanks to our community and all our contributors for the issues, PRs and 🌟 ⭐️ 🌟 ! πŸ’― We really appreciate your implication into the project (in alphabetical order): Bibonaut, IlyaOvodov, TheCodez, anmolsjoshi, fabianschilling, maaario, snowyday, vfdev-5, willprice, zasdfgbnm, zippeurfou vfdev-5 would like also to thank his wife and newborn baby girl Nina for their support while working on this release !

- Python
Published by vfdev-5 almost 7 years ago

pytorch-ignite - Bug fixes and features

  • Improve and fix bug with binary accuracy, precision, recall
  • Metrics arithmetics
  • ParamScheduler to support multiple optimizers/multiple parameter groups

Thanks to all our contributors !

- Python
Published by vfdev-5 about 7 years ago

pytorch-ignite - New features and bug fixes

What's new in this release:

  • Contrib module with
    • Parameter schedule
    • TQDM ProgressBar
    • ROC/AUC, AP, MaxAE metrics
    • TBPTT Engine
  • New handlers:
    • Terminate on Nan
  • New metrics:
    • RunningAverage
    • Merged Categorical/Binary -> Accuracy
  • Refactor of examples
  • New examples:
    • Fast Neural Style
    • RL

Thanks to all our contributors !

- Python
Published by vfdev-5 over 7 years ago

pytorch-ignite - First release

Introduced Engine, Handlers and Metrics.

Metrics: - BinaryAccuracy - CategoricalAccuracy - Loss - Precision - Recall - etc

Handlers: - ModelCheckpoint - EarlyStopping - Timer

Features:

  • PyTorch 0.4 support

Examples:

  • mnist.py
  • mnistwithtensorboardx.py
  • mnistwithvisdom.py
  • dcgan.py

- Python
Published by vfdev-5 over 7 years ago