ignite icon indicating copy to clipboard operation
ignite copied to clipboard

Possible issues with max_iters when loading/saving engine's state

Open vfdev-5 opened this issue 4 years ago • 3 comments

Currently Engine implicitly assumes : https://github.com/pytorch/ignite/blob/e3ef192c94d0d793a9303bec915fb846aaa3161f/ignite/engine/engine.py#L122

but we recently introduced possibility to trigger a run with max_iters. If epoch length is unknown, saving and reloading engine's state probably wont work. We have to ensure that everything still works as expected.

@thescripted would you be interested in looking into this ?

vfdev-5 avatar Dec 22 '20 18:12 vfdev-5

Yeah definitely, will check it out

thescripted avatar Dec 23 '20 23:12 thescripted

Thanks @thescripted !

vfdev-5 avatar Dec 23 '20 23:12 vfdev-5

@thescripted could you please advance on this issue and have any updates ?

vfdev-5 avatar Jan 06 '21 11:01 vfdev-5