ver Jan14th

setup method for Thunderbird composing tasks
This commit is contained in:
David Chang
2024-01-14 23:13:56 +08:00
parent 005b054a0b
commit 59fdd9f1a2
4 changed files with 71 additions and 11 deletions

View File

@@ -44,9 +44,9 @@ def human_agent():
Runs the Gym environment with human input.
"""
with open("evaluation_examples/examples/thunderbird/3d1682a7-0fb0-49ae-a4dc-a73afd2d06d5.json.nosetup", "r") as f:
with open("evaluation_examples/examples/thunderbird/d088f539-cab4-4f9a-ac92-9999fc3a656e.json", "r") as f:
example = json.load(f)
example["snapshot"] = "Snapshot 20"
example["snapshot"] = "Snapshot 21"
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")