You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error:
ValueError: Argument save_interval is deprecated and should be None. This argument will be removed in 0.5.0.Please, use events filtering instead, e.g. Events.ITERATION_STARTED(every=1000)
pytorch-ignite=0.4.10
Error:
ValueError: Argument save_interval is deprecated and should be None. This argument will be removed in 0.5.0.Please, use events filtering instead, e.g. Events.ITERATION_STARTED(every=1000)
solution:
mcp = ModelCheckpoint(config["output"], "network", save_interval=None,
n_saved=config["log"]["model_checkpoint"]["n_saved"], require_empty=False,
save_as_state_dict=True, create_dir=True)
trainer.add_event_handler(Events.ITERATION_STARTED(every=config["log"]["model_checkpoint"]["save_interval"]),
mcp, to_save={"G2": generator2, "D": discriminator})
The text was updated successfully, but these errors were encountered: