Skip to content

Commit

Permalink
Setup Wandb
Browse files Browse the repository at this point in the history
  • Loading branch information
marload committed Mar 25, 2020
1 parent 9883613 commit a174828
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import random

tf.keras.backend.set_floatx('float64')
# wandb.init(name='DuelingDQN', project="deep-rl-tf2")
wandb.init(name='DuelingDQN', project="deep-rl-tf2")

parser = argparse.ArgumentParser()
parser.add_argument('--gamma', type=float, default=0.95)
Expand Down Expand Up @@ -117,7 +117,7 @@ def train(self, max_episodes=1000):
state = next_state
self.target_update()
print('EP{} EpisodeReward={}'.format(ep, total_reward))
# wandb.log({'Reward': total_reward})
wandb.log({'Reward': total_reward})


def main():
Expand Down

0 comments on commit a174828

Please sign in to comment.