Skip to content

Commit

Permalink
Merge pull request #10 from karthikey97/patch-1
Browse files Browse the repository at this point in the history
Update mytrain.py
  • Loading branch information
HymEric committed Aug 4, 2020
2 parents 9bdbb4f + b50f827 commit 72551b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mytrain.py
Expand Up @@ -223,7 +223,7 @@ def gkern(kernlen=13, nsig=1.6):
sess.run(tf.global_variables_initializer())
# tf.global_variables_initializer().run()
for global_step in range(num_epochs):
if global_step!=0 & np.mod(global_step,10)==0:
if global_step!=0 and np.mod(global_step,10)==0:
sess.run(learning_rate_decay_op)
total_train_loss = 0
total_valid_loss = 0
Expand Down

0 comments on commit 72551b6

Please sign in to comment.