Skip to content

Commit 31a4c9c

Browse files
committed
fix robosuite example
1 parent f6abc93 commit 31a4c9c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tensorflow_datasets/rlds/datasets/robosuite_panda_pick_place_can/robosuite_panda_pick_place_can.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,11 @@ class RobosuitePandaPickPlaceCan(tfds.core.GeneratorBasedBuilder):
186186
reward_info=np.float64,
187187
discount_info=np.float64,
188188
episode_metadata_info={
189-
'agent_id': np.str_,
190-
'episode_index': np.int32,
191-
'episode_id': np.str_,
189+
'episode_metadata': {
190+
'agent_id': np.str_,
191+
'episode_index': np.int32,
192+
'episode_id': np.str_,
193+
},
192194
},
193195
step_metadata_info={
194196
'tag:placed': np.bool_,

0 commit comments

Comments
 (0)