@@ -45,20 +45,28 @@ Split | Examples
45
45
46
46
``` python
47
47
FeaturesDict({
48
+ ' episode_metadata' : FeaturesDict({
49
+ ' episode_id' : Scalar(shape = (), dtype = int32),
50
+ ' file_path' : string,
51
+ ' has_image_0' : Scalar(shape = (), dtype = bool ),
52
+ ' has_image_1' : Scalar(shape = (), dtype = bool ),
53
+ ' has_image_2' : Scalar(shape = (), dtype = bool ),
54
+ ' has_image_3' : Scalar(shape = (), dtype = bool ),
55
+ ' has_language' : Scalar(shape = (), dtype = bool ),
56
+ }),
48
57
' steps' : Dataset({
49
- ' action' : FeaturesDict({
50
- ' open_gripper' : bool ,
51
- ' rotation_delta' : Tensor(shape = (3 ,), dtype = float32),
52
- ' terminate_episode' : float32,
53
- ' world_vector' : Tensor(shape = (3 ,), dtype = float32),
54
- }),
58
+ ' action' : Tensor(shape = (7 ,), dtype = float32),
59
+ ' discount' : Scalar(shape = (), dtype = float32),
55
60
' is_first' : bool ,
56
61
' is_last' : bool ,
57
62
' is_terminal' : bool ,
63
+ ' language_embedding' : Tensor(shape = (512 ,), dtype = float32),
64
+ ' language_instruction' : string,
58
65
' observation' : FeaturesDict({
59
- ' image' : Image(shape = (480 , 640 , 3 ), dtype = uint8),
60
- ' natural_language_embedding' : Tensor(shape = (512 ,), dtype = float32),
61
- ' natural_language_instruction' : string,
66
+ ' image_0' : Image(shape = (256 , 256 , 3 ), dtype = uint8),
67
+ ' image_1' : Image(shape = (256 , 256 , 3 ), dtype = uint8),
68
+ ' image_2' : Image(shape = (256 , 256 , 3 ), dtype = uint8),
69
+ ' image_3' : Image(shape = (256 , 256 , 3 ), dtype = uint8),
62
70
' state' : Tensor(shape = (7 ,), dtype = float32),
63
71
}),
64
72
' reward' : Scalar(shape = (), dtype = float32),
@@ -68,24 +76,32 @@ FeaturesDict({
68
76
69
77
* ** Feature documentation** :
70
78
71
- Feature | Class | Shape | Dtype | Description
72
- :--------------------------------------------- | :----------- | :------------ | :------ | :----------
73
- | FeaturesDict | | |
74
- steps | Dataset | | |
75
- steps/action | FeaturesDict | | |
76
- steps/action/open_gripper | Tensor | | bool |
77
- steps/action/rotation_delta | Tensor | (3,) | float32 |
78
- steps/action/terminate_episode | Tensor | | float32 |
79
- steps/action/world_vector | Tensor | (3,) | float32 |
80
- steps/is_first | Tensor | | bool |
81
- steps/is_last | Tensor | | bool |
82
- steps/is_terminal | Tensor | | bool |
83
- steps/observation | FeaturesDict | | |
84
- steps/observation/image | Image | (480, 640, 3) | uint8 |
85
- steps/observation/natural_language_embedding | Tensor | (512,) | float32 |
86
- steps/observation/natural_language_instruction | Tensor | | string |
87
- steps/observation/state | Tensor | (7,) | float32 |
88
- steps/reward | Scalar | | float32 |
79
+ Feature | Class | Shape | Dtype | Description
80
+ :---------------------------- | :----------- | :------------ | :------ | :----------
81
+ | FeaturesDict | | |
82
+ episode_metadata | FeaturesDict | | |
83
+ episode_metadata/episode_id | Scalar | | int32 |
84
+ episode_metadata/file_path | Tensor | | string |
85
+ episode_metadata/has_image_0 | Scalar | | bool |
86
+ episode_metadata/has_image_1 | Scalar | | bool |
87
+ episode_metadata/has_image_2 | Scalar | | bool |
88
+ episode_metadata/has_image_3 | Scalar | | bool |
89
+ episode_metadata/has_language | Scalar | | bool |
90
+ steps | Dataset | | |
91
+ steps/action | Tensor | (7,) | float32 |
92
+ steps/discount | Scalar | | float32 |
93
+ steps/is_first | Tensor | | bool |
94
+ steps/is_last | Tensor | | bool |
95
+ steps/is_terminal | Tensor | | bool |
96
+ steps/language_embedding | Tensor | (512,) | float32 |
97
+ steps/language_instruction | Tensor | | string |
98
+ steps/observation | FeaturesDict | | |
99
+ steps/observation/image_0 | Image | (256, 256, 3) | uint8 |
100
+ steps/observation/image_1 | Image | (256, 256, 3) | uint8 |
101
+ steps/observation/image_2 | Image | (256, 256, 3) | uint8 |
102
+ steps/observation/image_3 | Image | (256, 256, 3) | uint8 |
103
+ steps/observation/state | Tensor | (7,) | float32 |
104
+ steps/reward | Scalar | | float32 |
89
105
90
106
* ** Supervised keys** (See
91
107
[ ` as_supervised ` doc] ( https://www.tensorflow.org/datasets/api_docs/python/tfds/load#args ) ):
0 commit comments