Skip to content
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.

Commit

Permalink
translate comment in chapter 10
Browse files Browse the repository at this point in the history
  • Loading branch information
keon committed Sep 10, 2019
1 parent 54d78ea commit 469e913
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@
" action = agent.act(state)\n",
" next_state, reward, done, _ = env.step(action.item())\n",
"\n",
" # negative reward when attempt ends\n",
" # 게임이 끝났을 경우 마이너스 보상주기\n",
" if done:\n",
" reward = -1\n",
"\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def learn(self):
action = agent.act(state)
next_state, reward, done, _ = env.step(action.item())

# negative reward when attempt ends
# 게임이 끝났을 경우 마이너스 보상주기
if done:
reward = -1

Expand Down

0 comments on commit 469e913

Please sign in to comment.