Validation loss not printing

I am not getting validation loss neither in accuracy metric nor in tensorboard graph

You need to give more detail about your setup and configs if you want some help.

Did you configure a valid set as shown in the docs?

https://opennmt.net/OpenNMT-py/quickstart.html