diff --git a/CHANGELOG.md b/CHANGELOG.md index 1d1659aa554625867435dc778c789de1e3469c77..eb31a9bb2cad6b018fa6c94f22daf315f8ba4370 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,10 @@ This changelog follows the specifications detailed in: [Keep a Changelog](https: This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html), although we have not yet reached a `1.0.0` release. -## Version 0.6.1 - Unreleased +## Version 0.6.2 - Unreleased + + +## Version 0.6.1 - Released 2023-02-11 ### Fixed * Hotfix so the training loop doesnt crash when `ignore_first_epochs>0` diff --git a/netharn/__init__.py b/netharn/__init__.py index eefb53d490f1720f15794ddc2ae48b0060704261..cbcfb64742c9596553f341b82e6854da011f6452 100644 --- a/netharn/__init__.py +++ b/netharn/__init__.py @@ -4,7 +4,7 @@ mkinit netharn --noattrs --dry mkinit netharn --noattrs """ -__version__ = '0.6.1' +__version__ = '0.6.2' try: # PIL 7.0.0 removed PIL_VERSION, which breaks torchvision, monkey patch it diff --git a/netharn/fit_harn.py b/netharn/fit_harn.py index 24c972e57d18a98e140efa32a62d3a75cbdccd45..bc48d0186d16764457721e77c11c436155957e61 100644 --- a/netharn/fit_harn.py +++ b/netharn/fit_harn.py @@ -2109,11 +2109,12 @@ class CoreMixin(object): # This should be fixed in progiter. steps_taken = (bx - prog._iter_idx) + 1 if bx == 0: + prog.step(steps_taken, force=True) # HACK, after ubelt 0.9.3 we can use force=True - prog._iter_idx += steps_taken - prog._update_measurements() - prog._update_estimates() - prog.display_message() + # prog._iter_idx += steps_taken + # prog._update_measurements() + # prog._update_estimates() + # prog.display_message() harn.debug(prog.format_message().strip()) else: prog_updated = prog.update(steps_taken) @@ -2884,7 +2885,7 @@ class FitHarnPreferences(scfg.Config): # minimal default and a recommended default. The safe default is # statically defined to the minimum requirements, and recommended could # be manually or hueristically constructed. - default = { + __default__ = { 'keyboard_debug': scfg.Value(True, help=( 'Catch keyboard interupt with a somewhat-interactive prompt') ), diff --git a/requirements/runtime.txt b/requirements/runtime.txt index 880f514c84024122b056718d1327a9d7a50c056f..4aa9ee809896e1de43ed25f1e76cb8cee1980783 100644 --- a/requirements/runtime.txt +++ b/requirements/runtime.txt @@ -28,7 +28,7 @@ numpy>=1.23.2 ; python_version < '4.0' and python_version >= '3.11' # Pytho numpy>=1.21.6 ; python_version < '3.11' and python_version >= '3.10' # Python 3.10 numpy>=1.19.3 ; python_version < '3.10' and python_version >= '3.6' # Python 3.6 - 3.9 -ubelt>=1.2.3 +ubelt>=1.2.4 parse >= 1.12.0 pyflakes >= 2.4.0 @@ -42,7 +42,7 @@ imageio < 2.8.0;python_version < '3.0' # imgaug < 0.3.0;python_version < '3.0' # NOTE: in the future kwplot may become optional -scriptconfig >= 0.7.0 +scriptconfig >= 0.7.6 kwarray>=0.6.7 kwimage >= 0.9.7 # kwplot >= 0.4.12