**Describe the feature** **Motivation** Now, val_loop cannot return the loss, and it is inconvenient when users would like to record and monitor the validation loss. **Related resources** https://github.com/open-mmlab/mmsegmentation/pull/1494