Rivoks commited on
Commit
a513834
·
1 Parent(s): f4f93a0

Delete movingthings.py

Browse files
Files changed (1) hide show
  1. movingthings.py +0 -41
movingthings.py DELETED
@@ -1,41 +0,0 @@
1
- import datasets
2
- from datasets.tasks import ImageClassification
3
-
4
- _HOMEPAGE = "https://github.com/Rivoks"
5
- _CITATION = """\
6
- @ONLINE {movingthings,
7
- author="Rivoks",
8
- title="Moving things dataset",
9
- month="August",
10
- year="2023",
11
- url="https://github.com/Rivoks"
12
- }
13
- """
14
- _DESCRIPTION = (
15
- "MovingThings is a dataset of images of moving things programmaticaly generated "
16
- "with Stable Diffusion (v1.5). It consists of 5 self movement classes: roll, flow, zigzag, walk, and linear. "
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
24
-
25
- def _info(self):
26
- return datasets.DatasetInfo(
27
- description=_DESCRIPTION,
28
- features=datasets.Features(
29
- {
30
- "text": datasets.Value("string"),
31
- "image": datasets.Image(),
32
- "labels": datasets.ClassLabel(names=_NAMES),
33
- }
34
- ),
35
- supervised_keys=("image", "labels"),
36
- homepage=_HOMEPAGE,
37
- citation=_CITATION,
38
- task_templates=[
39
- ImageClassification(image_column="image", label_column="labels")
40
- ],
41
- )