Datasets:
Fixing _generate_examples
Browse files- openpi_v2.py +1 -1
openpi_v2.py
CHANGED
|
@@ -148,7 +148,7 @@ class OpenpiV2(datasets.GeneratorBasedBuilder):
|
|
| 148 |
def _generate_examples(self, filepath):
|
| 149 |
logger.info("generating examples from = %s", filepath)
|
| 150 |
|
| 151 |
-
with open(os.path.join(sys.path[0], filepath) as f:
|
| 152 |
openpi_v2 = json.loads(f.read().decode("utf-8"))
|
| 153 |
print(openpi_v2)
|
| 154 |
|
|
|
|
| 148 |
def _generate_examples(self, filepath):
|
| 149 |
logger.info("generating examples from = %s", filepath)
|
| 150 |
|
| 151 |
+
with open(os.path.join(sys.path[0], filepath)) as f:
|
| 152 |
openpi_v2 = json.loads(f.read().decode("utf-8"))
|
| 153 |
print(openpi_v2)
|
| 154 |
|