ver Jan15th

attachment task of thunderbird
This commit is contained in:
David Chang
2024-01-15 11:49:43 +08:00
parent 59fdd9f1a2
commit b9d8e6c631
5 changed files with 124 additions and 7 deletions

View File

@@ -44,9 +44,9 @@ def human_agent():
Runs the Gym environment with human input.
"""
with open("evaluation_examples/examples/thunderbird/d088f539-cab4-4f9a-ac92-9999fc3a656e.json", "r") as f:
with open("evaluation_examples/examples/thunderbird/d088f539-cab4-4f9a-ac92-9999fc3a656e.json.nosetup", "r") as f:
example = json.load(f)
example["snapshot"] = "Snapshot 21"
example["snapshot"] = "Snapshot 24"
env = DesktopEnv( path_to_vm="../../../../大文件/镜像/Ubuntu-1218/Ubuntu/Ubuntu.vmx"
, action_space="computer_13"
@@ -87,8 +87,8 @@ def human_agent():
logger.info("The episode is done.")
break
#result = env.evaluate()
#logger.info("Result: %.2f", result)
result = env.evaluate()
logger.info("Result: %.2f", result)
#input("PAUSING")