bert icon indicating copy to clipboard operation
bert copied to clipboard

How to print step loss during train?

Open FuYanzhe2 opened this issue 7 years ago • 5 comments

I want to print training loss at each step and I have used tf.train.LoggingTensorHook like this: image but I haven't get any info!!!!

FuYanzhe2 avatar Dec 13 '18 12:12 FuYanzhe2

I use tf.estimator.EstimatorSpec with above code.It works

HaishuoFang avatar Dec 14 '18 09:12 HaishuoFang

https://github.com/google-research/bert/issues/70 check this

xwzhong avatar Dec 18 '18 13:12 xwzhong

This method is very useful to me, thank you very much.

qiu-nian avatar Feb 18 '19 09:02 qiu-nian

what is the mean of every_n_iter and how to set it?

BucherLi avatar Apr 08 '19 09:04 BucherLi

Mark

guotong1988 avatar Sep 05 '19 02:09 guotong1988