karolyartur
commited on
Commit
•
cdb404a
1
Parent(s):
0834ca1
Fix urls and import issue
Browse files- oe_dataset.py +4 -3
oe_dataset.py
CHANGED
@@ -25,7 +25,8 @@ else:
|
|
25 |
|
26 |
from typing import Optional, IO
|
27 |
|
28 |
-
import datasets
|
|
|
29 |
|
30 |
|
31 |
# ---- Constants ----
|
@@ -99,8 +100,8 @@ class OEDataset(datasets.GeneratorBasedBuilder):
|
|
99 |
OEDatasetConfig(
|
100 |
name = "photoreal",
|
101 |
description = "Photorealistic synthetic images",
|
102 |
-
imgs_urls = ["https://huggingface.co/datasets/ABC-iRobotics/oe_dataset/
|
103 |
-
masks_urls = ["https://huggingface.co/datasets/ABC-iRobotics/oe_dataset/
|
104 |
),
|
105 |
]
|
106 |
|
|
|
25 |
|
26 |
from typing import Optional, IO
|
27 |
|
28 |
+
import datasets
|
29 |
+
import itertools
|
30 |
|
31 |
|
32 |
# ---- Constants ----
|
|
|
100 |
OEDatasetConfig(
|
101 |
name = "photoreal",
|
102 |
description = "Photorealistic synthetic images",
|
103 |
+
imgs_urls = ["https://huggingface.co/datasets/ABC-iRobotics/oe_dataset/resolve/main/synthetic/photoreal/imgs"],
|
104 |
+
masks_urls = ["https://huggingface.co/datasets/ABC-iRobotics/oe_dataset/resolve/main/synthetic/photoreal/masks"]
|
105 |
),
|
106 |
]
|
107 |
|