Howuhh commited on
Commit
6ff3d5a
·
1 Parent(s): 41044e4

Upload nle_hf_dataset.py

Browse files
Files changed (1) hide show
  1. nle_hf_dataset.py +3 -3
nle_hf_dataset.py CHANGED
@@ -91,9 +91,9 @@ class NleHfDataset(datasets.GeneratorBasedBuilder):
91
  "tty_chars": datasets.Array3D(shape=(None, 24, 80), dtype="uint8"),
92
  "tty_colors": datasets.Array3D(shape=(None, 24, 80), dtype="int8"),
93
  "tty_cursor": datasets.Array2D(shape=(None, 2), dtype="int16"),
94
- "actions": datasets.Array2D(shape=(-1, 1), dtype="int16"),
95
- "rewards": datasets.Array2D(shape=(-1, 1), dtype="int32"),
96
- "dones": datasets.Array2D(shape=(-1, 1), dtype="bool"),
97
  }
98
  )
99
 
 
91
  "tty_chars": datasets.Array3D(shape=(None, 24, 80), dtype="uint8"),
92
  "tty_colors": datasets.Array3D(shape=(None, 24, 80), dtype="int8"),
93
  "tty_cursor": datasets.Array2D(shape=(None, 2), dtype="int16"),
94
+ "actions": datasets.Array2D(shape=(None, 1), dtype="int16"),
95
+ "rewards": datasets.Array2D(shape=(None, 1), dtype="int32"),
96
+ "dones": datasets.Array2D(shape=(None, 1), dtype="bool"),
97
  }
98
  )
99