Update CityLearn.py
Browse files- CityLearn.py +2 -0
CityLearn.py
CHANGED
@@ -82,6 +82,8 @@ class DecisionTransformerGymDataset(datasets.GeneratorBasedBuilder):
|
|
82 |
def _generate_examples(self, filepath, split):
|
83 |
with open(filepath, "rb") as f:
|
84 |
trajectories = pickle.load(f)
|
|
|
|
|
85 |
|
86 |
for idx, traj in enumerate(trajectories):
|
87 |
yield idx, {
|
|
|
82 |
def _generate_examples(self, filepath, split):
|
83 |
with open(filepath, "rb") as f:
|
84 |
trajectories = pickle.load(f)
|
85 |
+
print(trajectories)
|
86 |
+
print(type(trajectories))
|
87 |
|
88 |
for idx, traj in enumerate(trajectories):
|
89 |
yield idx, {
|