We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cb9f14 commit 25dfc0aCopy full SHA for 25dfc0a
main.py
@@ -67,7 +67,7 @@ def evaluate_policy(policy, eval_episodes=10):
67
68
state_dim = env.observation_space.shape[0]
69
action_dim = env.action_space.shape[0]
70
- max_action = int(env.action_space.high[0])
+ max_action = float(env.action_space.high[0])
71
72
# Initialize policy
73
if args.policy_name == "TD3": policy = TD3.TD3(state_dim, action_dim, max_action)
0 commit comments