Flush Events for Tensorboard Logger
🚀 Feature
Add an option to automatically flush events every epoch for TensorBoardLogger
Motivation
TensorboardX and Tensorboard only refresh once their "buffer" is filled. Often, the user would like to see an update before the buffer is filled (say, after every epoch). In tensorboardX/tensorflow, this is accomplished by calling "flush_events."
Alternatives
If you could share how to manually call flush_events so I can insert it into my training loop, that would be great. This feature is not currently described anywhere in the documentation.