Connor Hoehn commited on
Commit
b628395
1 Parent(s): 05c77b2

Update dataset.

Browse files
Files changed (2) hide show
  1. README.md +3 -3
  2. card_display_v1.py +2 -2
README.md CHANGED
@@ -70,8 +70,8 @@ dataset_info:
70
  dtype: bool
71
  splits:
72
  - name: train
73
- num_bytes: 43712
74
  num_examples: 154
75
- download_size: 96890427
76
- dataset_size: 43712
77
  ---
 
70
  dtype: bool
71
  splits:
72
  - name: train
73
+ num_bytes: 42942
74
  num_examples: 154
75
+ download_size: 96967919
76
+ dataset_size: 42942
77
  ---
card_display_v1.py CHANGED
@@ -28,7 +28,7 @@ _HOMEPAGE = "https://www.connorhoehn.com"
28
 
29
  _LICENSE = "Public Domain Mark 1.0"
30
 
31
- _DATASET_URL = "https://www.connorhoehn.com/object_detection_dataset_v1.zip"
32
 
33
  _CATEGORIES = ["boxed","grid","spread","stack"]
34
 
@@ -93,7 +93,7 @@ class CardDisplayDetector(datasets.GeneratorBasedBuilder):
93
  gen_kwargs={
94
  "annotations_file": os.path.join(dataset_zip, "result.json"),
95
  # Annotator indicated there was a folder named 1 that doesn't exist
96
- "image_dir": os.path.join(dataset_zip, "images/1/"),
97
  },
98
  )
99
  ]
 
28
 
29
  _LICENSE = "Public Domain Mark 1.0"
30
 
31
+ _DATASET_URL = "https://www.connorhoehn.com/object_detection_dataset_v2.zip"
32
 
33
  _CATEGORIES = ["boxed","grid","spread","stack"]
34
 
 
93
  gen_kwargs={
94
  "annotations_file": os.path.join(dataset_zip, "result.json"),
95
  # Annotator indicated there was a folder named 1 that doesn't exist
96
+ "image_dir": os.path.join(dataset_zip),
97
  },
98
  )
99
  ]