Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update from roboschool to pybulletgym
  • Loading branch information
rahatsantosh authored Jan 27, 2022
commit 2b51ad3ebb6bf2409099b16cab15aa7863565376
7 changes: 4 additions & 3 deletions test.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
import numpy as np

import gym
import roboschool
#import roboschool

# import pybullet_envs
import pybulletgym

from PPO import PPO

Expand Down Expand Up @@ -42,6 +42,7 @@ def test():
# action_std = 0.1 # set same std for action distribution which was used while saving


env_name_ = "Walker2DPyBulletEnv-v0"
env_name = "RoboschoolWalker2d-v1"
has_continuous_action_space = True
max_ep_len = 1000 # max timesteps in one episode
Expand All @@ -64,7 +65,7 @@ def test():
#####################################################


env = gym.make(env_name)
env = gym.make(env_name_)

# state space dimension
state_dim = env.observation_space.shape[0]
Expand Down