Lukas Dirnberger
commited on
Commit
·
c495116
1
Parent(s):
c48d412
added dataset card and Builder
Browse files- README.md +0 -0
- dropjects_real.py +6 -7
README.md
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
dropjects_real.py
CHANGED
|
@@ -57,13 +57,12 @@ def is_valid_config(spec):
|
|
| 57 |
return True
|
| 58 |
|
| 59 |
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
ALL_CONFIGS =
|
| 66 |
-
ALL_CONFIGS = filter(is_valid_config, ALL_CONFIGS)
|
| 67 |
|
| 68 |
|
| 69 |
BASE_PATH = "https://huggingface.co/datasets/LukasDb/dropjects_real/resolve/main/data/test/{cls}/{scene}/{clutter}/{lighting}/{shard}.tar"
|
|
|
|
| 57 |
return True
|
| 58 |
|
| 59 |
|
| 60 |
+
ALL_CONFIGS = list(
|
| 61 |
+
it.product(
|
| 62 |
+
[WILDCARD] + CLASSES, [WILDCARD] + SCENES, [WILDCARD] + CLUTTER, [WILDCARD] + LIGHTING
|
| 63 |
+
)
|
| 64 |
+
)
|
| 65 |
+
ALL_CONFIGS = [x for x in ALL_CONFIGS if is_valid_config(x)]
|
|
|
|
| 66 |
|
| 67 |
|
| 68 |
BASE_PATH = "https://huggingface.co/datasets/LukasDb/dropjects_real/resolve/main/data/test/{cls}/{scene}/{clutter}/{lighting}/{shard}.tar"
|