Hey, So I was unable to use the following code in tfv2 as it’s from v1:
tf.summary.record_summaries_every_n_global_steps(n) # n is a number here
what is the new equivalent or how can I write .record_summaries_every_n_global_steps(n)?
Hey, So I was unable to use the following code in tfv2 as it’s from v1:
tf.summary.record_summaries_every_n_global_steps(n) # n is a number here
what is the new equivalent or how can I write .record_summaries_every_n_global_steps(n)?
Hi @Aravgeorge7, You can consider using tf.summary.record_if(lambda: tf.math.equal(step % interval, 0))
instead of tf.summary.record_summaries_every_n_global_steps(n)
. Thank You.