nshtrainer 0.19.1__py3-none-any.whl → 0.19.3__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.
- nshtrainer/_checkpoint/loader.py +2 -1
- nshtrainer/model/modules/callback.py +1 -1
- {nshtrainer-0.19.1.dist-info → nshtrainer-0.19.3.dist-info}/METADATA +1 -1
- {nshtrainer-0.19.1.dist-info → nshtrainer-0.19.3.dist-info}/RECORD +5 -5
- {nshtrainer-0.19.1.dist-info → nshtrainer-0.19.3.dist-info}/WHEEL +0 -0
nshtrainer/_checkpoint/loader.py
CHANGED
|
@@ -105,7 +105,8 @@ class CheckpointLoadingConfig(C.Config):
|
|
|
105
105
|
@classmethod
|
|
106
106
|
def _auto_eval(cls, ckpt: Literal["best", "last"] | str | Path | None):
|
|
107
107
|
if ckpt is None:
|
|
108
|
-
|
|
108
|
+
log.warn("No checkpoint specified for evaluation. Defaulting to `last`.")
|
|
109
|
+
ckpt = "last"
|
|
109
110
|
|
|
110
111
|
match ckpt:
|
|
111
112
|
case "best":
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
nshtrainer/__init__.py,sha256=39loiLLXbaGiozEsAn8mPHopxaPsek8JsgR9DD2gxtY,583
|
|
2
|
-
nshtrainer/_checkpoint/loader.py,sha256=
|
|
2
|
+
nshtrainer/_checkpoint/loader.py,sha256=vc9f22qEDVw-y-Clpy71jVeI2EPxWNqRy-cAslMTb8c,13868
|
|
3
3
|
nshtrainer/_checkpoint/metadata.py,sha256=p5e7dhVPpOGrXeuesq_7Y_RHi5lguzDAR_UXtMJXzWU,5175
|
|
4
4
|
nshtrainer/_checkpoint/saver.py,sha256=DkbCH0YeOJ71m32vAARiQdGBf0hvwwdoAV8LOFGy-0Y,1428
|
|
5
5
|
nshtrainer/_experimental/__init__.py,sha256=pEXPyI184UuDHvfh4p9Kg9nQZQZI41e4_HvNd4BK-yg,81
|
|
@@ -58,7 +58,7 @@ nshtrainer/metrics/_config.py,sha256=jgRBfDAQLFTW7AiUY7CRtdfts6CR6keeuqm0FFMWCzQ
|
|
|
58
58
|
nshtrainer/model/__init__.py,sha256=VyRziPT3YilP6xjLi_StsSqtlvn7N4LOMzgukRsOnF8,1380
|
|
59
59
|
nshtrainer/model/base.py,sha256=oQVolDk81acy4OlckwQEBHuX2gCaVSYiIA0JaDIfhQ4,17517
|
|
60
60
|
nshtrainer/model/config.py,sha256=147uV7IukvuYE4G_ZuQNxVjnlog1BdCrAVbcj_sx9Vs,43104
|
|
61
|
-
nshtrainer/model/modules/callback.py,sha256=
|
|
61
|
+
nshtrainer/model/modules/callback.py,sha256=1z6gUDBd35KG3phGzRekgZM6SIk-wj5Uo6APN4YhRR0,8549
|
|
62
62
|
nshtrainer/model/modules/debug.py,sha256=Yy7XEdPou9BkCsD5hJchwJGmCVGrfUru5g9VjPM4uAw,1120
|
|
63
63
|
nshtrainer/model/modules/distributed.py,sha256=ABpR9d-3uBS_fivfy_WYW-dExW6vp5BPaoPQnOudHng,1725
|
|
64
64
|
nshtrainer/model/modules/logger.py,sha256=CJWSmNT8SV5GLtfml-qGYenqRPXcNOMsJRGEavAd8Hw,5464
|
|
@@ -85,6 +85,6 @@ nshtrainer/util/seed.py,sha256=Or2wMPsnQxfnZ2xfBiyMcHFIUt3tGTNeMMyOEanCkqs,280
|
|
|
85
85
|
nshtrainer/util/slurm.py,sha256=rofIU26z3SdL79SF45tNez6juou1cyDLz07oXEZb9Hg,1566
|
|
86
86
|
nshtrainer/util/typed.py,sha256=NGuDkDzFlc1fAoaXjOFZVbmj0mRFjsQi1E_hPa7Bn5U,128
|
|
87
87
|
nshtrainer/util/typing_utils.py,sha256=8ptjSSLZxlmy4FY6lzzkoGoF5fGNClo8-B_c0XHQaNU,385
|
|
88
|
-
nshtrainer-0.19.
|
|
89
|
-
nshtrainer-0.19.
|
|
90
|
-
nshtrainer-0.19.
|
|
88
|
+
nshtrainer-0.19.3.dist-info/METADATA,sha256=0LXA6hNdn7QjIJEGK-tvPQHiTEuxwsDzifvEyBMCYmo,935
|
|
89
|
+
nshtrainer-0.19.3.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
90
|
+
nshtrainer-0.19.3.dist-info/RECORD,,
|
|
File without changes
|