Skip to content

Commit

Permalink
Update 2. 改造后的mnist_train.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
perhapszzy authored Aug 31, 2017
1 parent c2d5c04 commit e8c6c92
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
" _, loss_value, step = sess.run(\n",
" [train_op, loss, global_step], feed_dict={x: xs, y_: ys},\n",
" options=run_options, run_metadata=run_metadata)\n",
" writer.add_run_metadata(run_metadata=run_metadata, tag=(\"tag%d\"%i), global_step=i),
" writer.add_run_metadata(run_metadata=run_metadata, tag=(\"tag%d\"%i), global_step=i),\n",
" print(\"After %d training step(s), loss on training batch is %g.\" % (step, loss_value))\n",
" else:\n",
" _, loss_value, step = sess.run([train_op, loss, global_step], feed_dict={x: xs, y_: ys})\n",
Expand Down

0 comments on commit e8c6c92

Please sign in to comment.