ver Jan14th
setup method for Thunderbird composing tasks
This commit is contained in:
8
main.py
8
main.py
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user