Skip to content

Commit 0bacc59

Browse files
Todd Taoaymericdamien
authored andcommitted
A print function miss brackets (aymericdamien#165)
```python # Display logs per epoch step if (epoch+1) % display_epoch == 0: print("Epoch:", '%04d' % (epoch+1), "cost=", "{:.9f}".format(avg_cost)) ```
1 parent 651cc75 commit 0bacc59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

notebooks/4_Utils/tensorboard_basic.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@
161161
" avg_cost += c / total_batch\n",
162162
" # Display logs per epoch step\n",
163163
" if (epoch+1) % display_epoch == 0:\n",
164-
" print \"Epoch:\", '%04d' % (epoch+1), \"cost=\", \"{:.9f}\".format(avg_cost)\n",
164+
" print(\"Epoch:\", '%04d' % (epoch+1), \"cost=\", \"{:.9f}\".format(avg_cost))\n",
165165
"\n",
166166
" print(\"Optimization Finished!\")\n",
167167
"\n",

0 commit comments

Comments
 (0)