Skip to content

Commit

Permalink
fix env bug
Browse files Browse the repository at this point in the history
  • Loading branch information
WellyZhang committed Nov 14, 2016
1 parent 30d45a0 commit d9a5ec1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from rllab.algos.ddpg import DDPG
from ddpg import DDPG
from rllab.envs.box2d.cartpole_env import CartpoleEnv
from rllab.envs.normalized_env import normalize
from policies import DeterministicMLPPolicy
Expand All @@ -8,7 +8,7 @@

# set environment, policy, qfunc, strategy

env = normalize(CartpoleEnv)
env = normalize(CartpoleEnv())

policy = DeterministicMLPPolicy(env.spec)
qfunc = ContinuousMLPQ(env.spec)
Expand Down

0 comments on commit d9a5ec1

Please sign in to comment.