Testing kl-projection (it's working!)
This commit is contained in:
parent
ad7ed0071b
commit
92204c448f
6
test.py
6
test.py
@ -19,7 +19,7 @@ root_path = '.'
|
|||||||
|
|
||||||
def main(env_name='ColumbusCandyland_Aux10-v0', timesteps=10_000_000, showRes=True, saveModel=True, n_eval_episodes=0):
|
def main(env_name='ColumbusCandyland_Aux10-v0', timesteps=10_000_000, showRes=True, saveModel=True, n_eval_episodes=0):
|
||||||
env = gym.make(env_name)
|
env = gym.make(env_name)
|
||||||
use_sde = True
|
use_sde = False
|
||||||
ppo = PPO(
|
ppo = PPO(
|
||||||
"MlpPolicy",
|
"MlpPolicy",
|
||||||
env,
|
env,
|
||||||
@ -101,5 +101,5 @@ def testModel(model, timesteps, showRes=False, saveModel=False, n_eval_episodes=
|
|||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
# main('LunarLanderContinuous-v2')
|
# main('LunarLanderContinuous-v2')
|
||||||
# main('ColumbusJustState-v0')
|
# main('ColumbusJustState-v0')
|
||||||
# main('ColumbusStateWithBarriers-v0')
|
main('ColumbusStateWithBarriers-v0')
|
||||||
main('ColumbusEasierObstacles-v0')
|
# main('ColumbusEasierObstacles-v0')
|
||||||
|
Loading…
Reference in New Issue
Block a user