Skip to content

Commit

Permalink
distributional rl
Browse files Browse the repository at this point in the history
  • Loading branch information
shixiaowen03 committed Dec 21, 2018
1 parent 7d03dd0 commit 772c0dd
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 31 deletions.
60 changes: 30 additions & 30 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion RL/Basic-DisRL-Demo/Categorical_DQN.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def build_layers(self, state, action, c_names, units_1, units_2, w_i, b_i, reg=N
concatenated = tf.concat([dense2, tf.cast(action, tf.float32)], 1)
with tf.variable_scope('dense3'):
dense3 = dense(concatenated, self.atoms, [self.atoms], w_i, b_i) # 返回
return dense3
return tf.nn.softmax(dense3)

def build_cate_dqn_net(self):
with tf.variable_scope('target_net'):
Expand Down

0 comments on commit 772c0dd

Please sign in to comment.