aidystark commited on
Commit
f2b302b
1 Parent(s): fb36bad

Update foot.py

Browse files
Files changed (1) hide show
  1. foot.py +3 -26
foot.py CHANGED
@@ -7,29 +7,7 @@ import datasets
7
 
8
  _HOMEPAGE = "https://huggingface.co/datasets/aidystark/FOOTNET40k"
9
  _LICENSE = "CC BY 4.0"
10
- _DESCRIPTION = """\
11
- title = { wlots Dataset },
12
- type = { Open Source Dataset },
13
- author = { asd },
14
- howpublished = { \\url{ https://universe.roboflow.com/asd-culfr/wlots } },
15
- url = { https://universe.roboflow.com/asd-culfr/wlots },
16
- journal = { Roboflow Universe },
17
- publisher = { Roboflow },
18
- """
19
- _CITATION = """\
20
- @misc{ wlots_dataset,
21
- title = { wlots Dataset },
22
- type = { Open Source Dataset },
23
- author = { asd },
24
- howpublished = { \\url{ https://universe.roboflow.com/asd-culfr/wlots } },
25
- url = { https://universe.roboflow.com/asd-culfr/wlots },
26
- journal = { Roboflow Universe },
27
- publisher = { Roboflow },
28
- year = { 2022 },
29
- month = { may },
30
- note = { visited on 2023-01-27 },
31
- }
32
- """
33
  #_NAMES = ["Dressing Shoe", "Crocs", "Heels", "Sneakers", "Boot", "Sandals"]
34
  #_ANNOTATION_FILENAME = "_annotations.coco.json"
35
 
@@ -41,7 +19,7 @@ class FOOT40KConfig(datasets.BuilderConfig):
41
  """BuilderConfig for FOOT40K.
42
  Args:
43
  data_url: `string`, url to download the zip file from.
44
- metadata_urls: dictionary with keys 'train' and 'validation' containing the archive metadata URLs
45
  **kwargs: keyword arguments forwarded to super.
46
  """
47
  super(FOOT40KConfig, self).__init__(version=datasets.Version("1.0.0"), **kwargs)
@@ -56,7 +34,7 @@ class FOOT40K(datasets.GeneratorBasedBuilder):
56
  name="shoe_all",
57
  description="Shoe Data.",
58
  data_url="https://huggingface.co/datasets/aidystark/FOOT40K/resolve/main/FOOT40k.tar.gz?download=true",
59
- metadata_url = "https://huggingface.co/datasets/aidystark/FOOTNET40k/resolve/main/foot40k.json?download=true",
60
 
61
  ),
62
 
@@ -72,7 +50,6 @@ class FOOT40K(datasets.GeneratorBasedBuilder):
72
  }
73
  ),
74
  homepage=_HOMEPAGE,
75
- citation=_CITATION,
76
  license=_LICENSE,
77
  )
78
 
 
7
 
8
  _HOMEPAGE = "https://huggingface.co/datasets/aidystark/FOOTNET40k"
9
  _LICENSE = "CC BY 4.0"
10
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  #_NAMES = ["Dressing Shoe", "Crocs", "Heels", "Sneakers", "Boot", "Sandals"]
12
  #_ANNOTATION_FILENAME = "_annotations.coco.json"
13
 
 
19
  """BuilderConfig for FOOT40K.
20
  Args:
21
  data_url: `string`, url to download the zip file from.
22
+ metadata_url:
23
  **kwargs: keyword arguments forwarded to super.
24
  """
25
  super(FOOT40KConfig, self).__init__(version=datasets.Version("1.0.0"), **kwargs)
 
34
  name="shoe_all",
35
  description="Shoe Data.",
36
  data_url="https://huggingface.co/datasets/aidystark/FOOT40K/resolve/main/FOOT40k.tar.gz?download=true",
37
+ metadata_url = "https://huggingface.co/datasets/aidystark/FOOT40K/resolve/main/foot40k.json?download=true",
38
 
39
  ),
40
 
 
50
  }
51
  ),
52
  homepage=_HOMEPAGE,
 
53
  license=_LICENSE,
54
  )
55