Update README.md
Browse files
README.md
CHANGED
@@ -26,7 +26,7 @@ input = {
|
|
26 |
'obj_mask': torch.zeros(224, 224, dtype=torch.uint8), # highlight the regions of interest
|
27 |
}
|
28 |
}
|
29 |
-
agent_action, memory =
|
30 |
env_action = MinecraftWrapper.agent_action_to_env(agent_action)
|
31 |
|
32 |
# --------------------- the output --------------------- #
|
|
|
26 |
'obj_mask': torch.zeros(224, 224, dtype=torch.uint8), # highlight the regions of interest
|
27 |
}
|
28 |
}
|
29 |
+
agent_action, memory = model.get_action(input, memory, first=None, input_shape="*")
|
30 |
env_action = MinecraftWrapper.agent_action_to_env(agent_action)
|
31 |
|
32 |
# --------------------- the output --------------------- #
|