edit operator

This commit is contained in:
yuanmengqi
2025-06-02 12:11:25 +00:00
parent 228849ab03
commit 98a810d31e
6 changed files with 79 additions and 5 deletions

View File

@@ -145,14 +145,14 @@ def distribute_tasks(test_all_meta: dict, num_envs: int) -> List[Dict]:
def run_env_tasks(env_idx: int, env_tasks: dict, args: argparse.Namespace, shared_scores: list):
"""Run tasks for a single environment."""
# ami-05e7d7bd279ea4f14
env = DesktopEnv(
path_to_vm=args.path_to_vm,
action_space=args.action_space,
provider_name="aws",
region="us-east-1",
snapshot_name="ami-05e7d7bd279ea4f14",
snapshot_name="ami-02fea2e5b77c79c17",
screen_size=(args.screen_width, args.screen_height),
headless=args.headless,
@@ -326,7 +326,7 @@ def get_result(action_space, use_model, observation_type, result_dir, total_file
if __name__ == "__main__":
####### The complete version of the list of examples #######
os.environ["TOKENIZERS_PARALLELISM"] = "false"
args = config()
with open(args.test_all_meta_path, "r", encoding="utf-8") as f: