By setting
hooks = [ dict(typename='SnapshotHook', interval=1, save_optim_flag=False, max_keep_ckpts=3), ]
I hope to keep only the last three checkpoints of weights. But it still saves weights, meta and optim checkpoints after all epochs. Could you help to solve this problem? It does not work as what it should be according to vedacore/hooks/snapshot.py.
By setting
hooks = [ dict(typename='SnapshotHook', interval=1, save_optim_flag=False, max_keep_ckpts=3), ]
I hope to keep only the last three checkpoints of weights. But it still saves weights, meta and optim checkpoints after all epochs. Could you help to solve this problem? It does not work as what it should be according to vedacore/hooks/snapshot.py.