Skip to content
Snippets Groups Projects
Commit 43088112 authored by Erik Nygren's avatar Erik Nygren
Browse files

training from scratch

parent 3bbf1cea
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@ scores = []
dones_list = []
action_prob = [0]*4
agent = Agent(state_size, action_size, "FC", 0)
agent.qnetwork_local.load_state_dict(torch.load('../flatland/baselines/Nets/avoid_checkpoint8000.pth'))
#agent.qnetwork_local.load_state_dict(torch.load('../flatland/baselines/Nets/avoid_checkpoint8000.pth'))
def max_lt(seq, val):
"""
Return greatest item in seq for which item < val applies.
......
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