Merge branch 'zdy'
This commit is contained in:
7
main.py
7
main.py
@@ -9,14 +9,11 @@ def human_agent():
|
||||
|
||||
with open("evaluation_examples/examples/f9584479-3d0d-4c79-affa-9ad7afdd8850.json", "r") as f:
|
||||
example = json.load(f)
|
||||
example["snapshot"] = "base_setup"
|
||||
|
||||
env = DesktopEnv( path_to_vm=r"C:\Users\tianbaox\Documents\Virtual Machines\Ubuntu\Ubuntu.vmx"
|
||||
, action_space="computer_13"
|
||||
, snapshot_path="base_setup"
|
||||
, task_id=example["id"]
|
||||
, instruction=example["instruction"]
|
||||
, config=example["config"]
|
||||
, evaluator=example["evaluator"]
|
||||
, task_config=example
|
||||
)
|
||||
|
||||
# reset the environment to certain snapshot
|
||||
|
||||
Reference in New Issue
Block a user