-
Notifications
You must be signed in to change notification settings - Fork 142
Expand file tree
/
Copy pathva_libero_cfg.py
More file actions
60 lines (51 loc) · 1.76 KB
/
Copy pathva_libero_cfg.py
File metadata and controls
60 lines (51 loc) · 1.76 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
50
51
52
53
54
55
56
57
58
59
60
# Copyright 2024-2025 The Robbyant Team Authors. All rights reserved.
from easydict import EasyDict
from .shared_config import va_shared_cfg
va_libero_cfg = EasyDict(__name__='Config: VA libero')
va_libero_cfg.update(va_shared_cfg)
va_shared_cfg.infer_mode = 'server'
va_libero_cfg.wan22_pretrained_model_name_or_path = "/path/to/pretrained/model"
va_libero_cfg.attn_window = 30
va_libero_cfg.frame_chunk_size = 4
va_libero_cfg.env_type = 'none'
va_libero_cfg.height = 128
va_libero_cfg.width = 128
va_libero_cfg.action_dim = 30
va_libero_cfg.action_per_frame = 4
va_libero_cfg.obs_cam_keys = [
'observation.images.agentview_rgb', 'observation.images.eye_in_hand_rgb'
]
va_libero_cfg.guidance_scale = 5
va_libero_cfg.action_guidance_scale = 1
va_libero_cfg.num_inference_steps = 20
va_libero_cfg.video_exec_step = -1
va_libero_cfg.action_num_inference_steps = 50
va_libero_cfg.snr_shift = 5.0
va_libero_cfg.action_snr_shift = 0.05
va_libero_cfg.used_action_channel_ids = list(range(0, 7))
inverse_used_action_channel_ids = [len(va_libero_cfg.used_action_channel_ids)
] * va_libero_cfg.action_dim
for i, j in enumerate(va_libero_cfg.used_action_channel_ids):
inverse_used_action_channel_ids[j] = i
va_libero_cfg.inverse_used_action_channel_ids = inverse_used_action_channel_ids
va_libero_cfg.action_norm_method = 'quantiles'
va_libero_cfg.norm_stat = {
"q01": [
-0.6589285731315613,
-0.84375,
-0.9375,
-0.12107142806053162,
-0.15964286029338837,
-0.26571428775787354,
-1.0
] + [0.] * 23,
"q99": [
0.8999999761581421,
0.8544642925262451,
0.9375,
0.17142857611179352,
0.1842857152223587,
0.34392857551574707,
1.0
] + [0.] * 23,
}