to monitor the running of tensorflow:

linux: watch -n 1 nvidia-smi

windows: gpu-z