Skip to content
Snippets Groups Projects
Commit 99bd7eba authored by Egli Adrian (IT-SCI-API-PFI)'s avatar Egli Adrian (IT-SCI-API-PFI)
Browse files

DQN & PPO

parent 876f8c74
No related branches found
No related tags found
No related merge requests found
File added
File added
......@@ -27,8 +27,8 @@ VERBOSE = True
# Checkpoint to use (remember to push it!)
checkpoint = "./checkpoints/201105222046-5400.pth" # 17.66104361971127 Depth 1
checkpoint = "./checkpoints/201106073658-4300.pth" # 15.64082361736683 Depth 1
checkpoint = "./checkpoints/201106090621-3300.pth" # 15.64082361736683 Depth 1
checkpoint = "./checkpoints/201106073658-4400.pth" # 15.64082361736683 Depth 1
# checkpoint = "./checkpoints/201106090621-3300.pth" # 15.64082361736683 Depth 1
# Use last action cache
USE_ACTION_CACHE = False
......@@ -52,8 +52,8 @@ state_size = tree_observation.observation_dim
action_size = 5
# Creates the policy. No GPU on evaluation server.
policy = DDDQNPolicy(state_size, action_size, Namespace(**{'use_gpu': False}), evaluation_mode=True)
# policy = PPOAgent(state_size, action_size, 10)
# policy = DDDQNPolicy(state_size, action_size, Namespace(**{'use_gpu': False}), evaluation_mode=True)
policy = PPOAgent(state_size, action_size, 10)
policy.load(checkpoint)
#####################################################################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment