Trying to get ColumbusEnv to work...
This commit is contained in:
parent
f950d1fe64
commit
c45e3627ea
7
test.py
7
test.py
@ -10,14 +10,15 @@ from sb3_trl.trl_pg import TRL_PG
|
|||||||
from subtrees.columbus import env
|
from subtrees.columbus import env
|
||||||
|
|
||||||
register(
|
register(
|
||||||
id='Columbus_Test3.1-v0',
|
id='ColumbusTest3.1-v0',
|
||||||
entry_point=env.ColumbusEnv,
|
entry_point=env.ColumbusTest3_1,
|
||||||
max_episode_steps=1000,
|
max_episode_steps=1000,
|
||||||
)
|
)
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
#env = gym.make("LunarLander-v2")
|
#env = gym.make("LunarLander-v2")
|
||||||
env = gym.make("Columbus_test3.1-v0")
|
env = gym.make("ColumbusTest3.1-v0")
|
||||||
|
|
||||||
ppo = PPO(
|
ppo = PPO(
|
||||||
"MlpPolicy",
|
"MlpPolicy",
|
||||||
env,
|
env,
|
||||||
|
Loading…
Reference in New Issue
Block a user