File size: 2,301 Bytes
15ce1c9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
  "name": "policy_preprocessor",
  "steps": [
    {
      "registry_name": "rename_observations_processor",
      "config": {
        "rename_map": {
          "observation.images.mount": "observation.images.image",
          "observation.images.front": "observation.images.image2"
        }
      }
    },
    {
      "registry_name": "to_batch_processor",
      "config": {}
    },
    {
      "registry_name": "tokenizer_processor",
      "config": {
        "max_length": 50,
        "task_key": "task",
        "padding_side": "right",
        "padding": "max_length",
        "truncation": true,
        "tokenizer_name": "facebook/bart-large"
      }
    },
    {
      "registry_name": "xvla_add_domain_id",
      "config": {
        "domain_id": 0
      }
    },
    {
      "registry_name": "xvla_image_to_float",
      "config": {
        "image_keys": null,
        "validate_range": true
      }
    },
    {
      "registry_name": "xvla_imagenet_normalize",
      "config": {
        "image_keys": null
      }
    },
    {
      "registry_name": "device_processor",
      "config": {
        "device": "cuda",
        "float_dtype": null
      }
    },
    {
      "registry_name": "normalizer_processor",
      "config": {
        "eps": 1e-08,
        "features": {
          "observation.images.image": {
            "type": "VISUAL",
            "shape": [
              3,
              256,
              256
            ]
          },
          "observation.images.image2": {
            "type": "VISUAL",
            "shape": [
              3,
              256,
              256
            ]
          },
          "observation.state": {
            "type": "STATE",
            "shape": [
              8
            ]
          },
          "observation.images.empty_camera_0": {
            "type": "VISUAL",
            "shape": [
              3,
              224,
              224
            ]
          },
          "action": {
            "type": "ACTION",
            "shape": [
              6
            ]
          }
        },
        "norm_map": {
          "STATE": "IDENTITY",
          "ACTION": "MEAN_STD",
          "VISUAL": "IDENTITY"
        }
      },
      "state_file": "policy_preprocessor_step_7_normalizer_processor.safetensors"
    }
  ]
}