Skip to content

Commit

Permalink
Update Activity Detection.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
aaqibsaeed authored Sep 15, 2017
1 parent 0bb2d18 commit f8e1f88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Activity Detection.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@
"cost_history = np.empty(shape=[1],dtype=float)\n",
"\n",
"with tf.Session() as session:\n",
" tf.initialize_all_variables().run()\n",
" tf.global_variables_initializer().run()\n",
" for epoch in range(training_epochs):\n",
" for b in range(total_batches): \n",
" offset = (b * batch_size) % (train_y.shape[0] - batch_size)\n",
Expand Down

0 comments on commit f8e1f88

Please sign in to comment.