pytorch / ignite

High-level library to help with training and evaluating neural networks in PyTorch flexibly and transparently.
https://pytorch-ignite.ai
BSD 3-Clause "New" or "Revised" License
4.55k stars 620 forks source link

Add flag to `Engine.terminate(skip_complete_event: bool = False)` #3308

Closed vfdev-5 closed 1 week ago

vfdev-5 commented 1 week ago

🚀 Feature

Add flag to Engine.terminate(skip_complete_event: bool = False) to optionally skip Events.COMPLETE when terminate was called.

Context:

github-actions[bot] commented 1 week ago

Hey 👋, I've just created a thread for this issue on PyTorch-Ignite Discord where you can quickly talk to the community on the topic.

🤖 This comment was automatically posted by Discuss on Discord

bonassifabio commented 1 week ago

Hi, I tried to implement this in the pull request #3309

vfdev-5 commented 1 week ago

This issue can be closed as completed by #3309 PR