-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsample_launch.json
More file actions
51 lines (49 loc) · 1.88 KB
/
sample_launch.json
File metadata and controls
51 lines (49 loc) · 1.88 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Python: Current File",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"justMyCode": false
},
{
"name": "Manually Run Agent",
"type": "python",
"request": "launch",
"program": "multigrid/scripts/manual_control.py",
"args": [ "--env-id", "MultiGrid-CompetativeRedBlueDoor-v3-DTDE-Red-Single"
],
"justMyCode": false
},
{
"name": "Train Agent",
"type": "python",
"request": "launch",
"program": "multigrid/scripts/train.py",
"args": ["--env", "MultiGrid-CompetativeRedBlueDoor-v3-DTDE-1v1",
// "--lstm"
],
"justMyCode": false
},
{
"name": "Visualize Trained Agent",
"type": "python",
"request": "launch",
"program": "multigrid/scripts/visualize.py",
"args": ["--env", "MultiGrid-CompetativeRedBlueDoor-v3-CTDE-Red", "--num-episodes", "10",
"--load-dir", "submission/ray_results/PPO/PPO_MultiGrid-CompetativeRedBlueDoor-v3-DTDE-Red-Single_XXXX/checkpoint_YYY/checkpoint-YYY",
"--render-mode", "rgb_array",
"--gif", "CTDE-red-testing",
"--policies-to-eval", "red_0", "red_1",
"--eval-config", "{\"team_policies_mapping\": {\"red_0\" : \"your_policy_name\" , \"red_1\" : \"your_policy_name\" }}"
],
"justMyCode": false
},
]
}