vsd-benchmark commited on
Commit
11947d2
·
1 Parent(s): c0354e0

Upload folder using huggingface_hub

Browse files
in_fashion/dataset_metadata_wild.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c4257bfcfc9e867d62844a31c82d3a20db2c71e15b36cef814a13251a8ed2f52
3
- size 15430033
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:35058f683a0042768710dc3ed760449f6295bf2b589bcb981bbef6d58eb421f4
3
+ size 15769795
in_fashion/gt_tagging_wild/manifest.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c4257bfcfc9e867d62844a31c82d3a20db2c71e15b36cef814a13251a8ed2f52
3
- size 15430033
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:35058f683a0042768710dc3ed760449f6295bf2b589bcb981bbef6d58eb421f4
3
+ size 15769795
vsd-fashion.py CHANGED
@@ -174,7 +174,7 @@ class VSDFashion(datasets.GeneratorBasedBuilder):
174
  name=datasets.Split.TEST,
175
  # These kwargs will be passed to _generate_examples
176
  gen_kwargs={
177
- "manifest_file": task_data_path/'mainifest.json',
178
  "seeds_file": task_data_path/'seeds.json',
179
  "annotations_file": task_data_path/'in_fashion_tags_dict.json',
180
  "split": "test",
@@ -189,8 +189,8 @@ class VSDFashion(datasets.GeneratorBasedBuilder):
189
  name=datasets.Split.TEST,
190
  # These kwargs will be passed to _generate_examples
191
  gen_kwargs={
192
- "manifest_file": task_data_path/'mainifest.json',
193
- "seeds_file": task_data_path/'seeds.json',
194
  "annotations_file": task_data_path/'in_fashion_outshop_tags_dict.json',
195
  "split": "test",
196
  "images_folder": self.image_folder,
@@ -204,7 +204,7 @@ class VSDFashion(datasets.GeneratorBasedBuilder):
204
  name=datasets.Split.TRAIN,
205
  # These kwargs will be passed to _generate_examples
206
  gen_kwargs={
207
- "manifest_file": task_data_path/'mainifest_train.json',
208
  "seeds_file": task_data_path/'seeds_train.json',
209
  "annotations_file": task_data_path/'in_fashion_tags_dict_train.json',
210
  "split": "train",
@@ -216,7 +216,7 @@ class VSDFashion(datasets.GeneratorBasedBuilder):
216
  name=datasets.Split.TEST,
217
  # These kwargs will be passed to _generate_examples
218
  gen_kwargs={
219
- "manifest_file": task_data_path/'mainifest_test.json',
220
  "seeds_file": task_data_path/'seeds_test.json',
221
  "annotations_file": task_data_path/'in_fashion_tags_dict_test.json',
222
  "split": "test",
@@ -234,7 +234,7 @@ class VSDFashion(datasets.GeneratorBasedBuilder):
234
  for key, row in enumerate(data):
235
  # Yields examples as (key, example) tuples
236
  yield key, {
237
- "query": str(self.image_folder/self.config.dataset_folder/row['key'][0]),
238
- "candidate": str(self.image_folder/self.config.dataset_folder/row['key'][1]),
239
  "value": row['value'],
240
  }
 
174
  name=datasets.Split.TEST,
175
  # These kwargs will be passed to _generate_examples
176
  gen_kwargs={
177
+ "manifest_file": task_data_path/'manifest.json',
178
  "seeds_file": task_data_path/'seeds.json',
179
  "annotations_file": task_data_path/'in_fashion_tags_dict.json',
180
  "split": "test",
 
189
  name=datasets.Split.TEST,
190
  # These kwargs will be passed to _generate_examples
191
  gen_kwargs={
192
+ "manifest_file": task_data_path/'manifest.json',
193
+ "seeds_file": None,
194
  "annotations_file": task_data_path/'in_fashion_outshop_tags_dict.json',
195
  "split": "test",
196
  "images_folder": self.image_folder,
 
204
  name=datasets.Split.TRAIN,
205
  # These kwargs will be passed to _generate_examples
206
  gen_kwargs={
207
+ "manifest_file": task_data_path/'manifest_train.json',
208
  "seeds_file": task_data_path/'seeds_train.json',
209
  "annotations_file": task_data_path/'in_fashion_tags_dict_train.json',
210
  "split": "train",
 
216
  name=datasets.Split.TEST,
217
  # These kwargs will be passed to _generate_examples
218
  gen_kwargs={
219
+ "manifest_file": task_data_path/'manifest_test.json',
220
  "seeds_file": task_data_path/'seeds_test.json',
221
  "annotations_file": task_data_path/'in_fashion_tags_dict_test.json',
222
  "split": "test",
 
234
  for key, row in enumerate(data):
235
  # Yields examples as (key, example) tuples
236
  yield key, {
237
+ "query": str(self.image_folder/row['key'][0]),
238
+ "candidate": str(self.image_folder/row['key'][1]),
239
  "value": row['value'],
240
  }