-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
49 lines (48 loc) · 1.47 KB
/
config.json
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
{
"train":{
"num_epochs": 300,
"batch_size": 1024,
"lr": 0.0001,
"lambda1": 1.0,
"lambda2": 1.0
},
"experiment": {
"name": "mile",
"mode": "iterative",
"validate": {
"enabled": true,
"every_n_epochs": 100
},
"logging": {
"terminal_output_to_txt": false,
"log_tb": false,
"log_wandb": true
},
"save": {
"enabled": true,
"every_n_epochs": 0,
"on_best_validation": false,
"on_best_rollout_return": false,
"on_best_rollout_success_rate": true,
"outdir": "output_dir"
},
"rollout": {
"enabled": true,
"n_episodes": 30,
"every_n_epochs": 100
},
"env_name": "peg-insert-side-v2",
"dataset_path": "path_to_offline_intervention_dataset",
"policy_type": "sac",
"policy_path": "./trained_models/initial_policy",
"mental_model_type": "bc",
"gt_mental_model_path": "./trained_models/gt_mental_model",
"intervention_policy_path": "./trained_models/expert_policy",
"use_warm_start": true,
"warm_start_path": "./trained_models/warm_started_mental_model",
"num_rounds": 20,
"episodes_per_round": 1,
"include_offline_dataset": false,
"offline_dataset_path": "path_to_initial_offline_demonstration_dataset"
}
}