Upload movingthings.py
Browse files- movingthings.py +3 -3
movingthings.py
CHANGED
|
@@ -17,7 +17,6 @@ _DESCRIPTION = (
|
|
| 17 |
"Data was annotated by the script that generates the images with the prompt passed to Stable Diffusion."
|
| 18 |
)
|
| 19 |
_NAMES = ["roll", "flow", "zigzag", "walk", "linear"]
|
| 20 |
-
|
| 21 |
class MovingThings(datasets.GeneratorBasedBuilder):
|
| 22 |
|
| 23 |
VERSION = datasets.Version("1.0.0") # Update the version as needed
|
|
@@ -39,8 +38,9 @@ class MovingThings(datasets.GeneratorBasedBuilder):
|
|
| 39 |
)
|
| 40 |
|
| 41 |
def _split_generators(self, dl_manager):
|
| 42 |
-
#
|
| 43 |
-
pass
|
| 44 |
|
| 45 |
# Task template outside of _info()
|
| 46 |
MovingThingsTaskTemplate = ImageClassification(image_column="image", label_column="labels")
|
|
|
|
|
|
|
|
|
| 17 |
"Data was annotated by the script that generates the images with the prompt passed to Stable Diffusion."
|
| 18 |
)
|
| 19 |
_NAMES = ["roll", "flow", "zigzag", "walk", "linear"]
|
|
|
|
| 20 |
class MovingThings(datasets.GeneratorBasedBuilder):
|
| 21 |
|
| 22 |
VERSION = datasets.Version("1.0.0") # Update the version as needed
|
|
|
|
| 38 |
)
|
| 39 |
|
| 40 |
def _split_generators(self, dl_manager):
|
| 41 |
+
return {} # Return an empty dictionary if no specific split logic is needed
|
|
|
|
| 42 |
|
| 43 |
# Task template outside of _info()
|
| 44 |
MovingThingsTaskTemplate = ImageClassification(image_column="image", label_column="labels")
|
| 45 |
+
|
| 46 |
+
|