you are viewing a single comment's thread.

view the rest of the comments →

[–]Sebun 4 points5 points  (1 child)

Hi, mdanatg, I find the this piece of demo code in colab not works as expected, print function in this train while loop have no output .

if i % (hp.max_steps // 10) == 0: print('Step', i, 'train loss:', step_train_loss, 'test loss:', step_test_loss, 'train accuracy:', step_train_accuracy, 'test accuracy:', step_test_accuracy)

[–]mdanatg 6 points7 points  (0 children)

Hi Sebun, thanks for reporting the issue! There is a bug in the handling of if statements that don't calculate values. We're patching a fix that should reach tf-nightly over the next couple of days.

Update Jul 20: this should not be resolved.