-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsingle_run.sh
More file actions
34 lines (25 loc) · 1015 Bytes
/
single_run.sh
File metadata and controls
34 lines (25 loc) · 1015 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/bash
# ================================
# Required Environment Variables
# ================================
# Path to system image files used by the container
# 使用 WSL 原生路径以获得更好的 I/O 性能
export MACOS_ARENA_MAC_HDD_IMG_PATH="$HOME/macos-images/mac_hdd_ng.img"
export MACOS_ARENA_BASESYSTEM_IMG_PATH="$HOME/macos-images/BaseSystem.img"
# OpenAI API key
export OPENAI_API_KEY="your-api-key-here"
# ================================
# Configurable constants
# ================================
WORK_DIR="/mnt/d/research/ScaleCUA/evaluation/MacOSArena" # Change to your local path
#CONFIG_FILE="config/default_config_linux.yaml" # For Linux
CONFIG_FILE="config/default_config.yaml" # For WSL
# ================================
# Preparation
# ================================
cd "${WORK_DIR}" || exit 1
mkdir -p results/example_run_1
# ================================
# Run evaluation
# ================================
python -m single_run --config_file "${CONFIG_FILE}"