Commit
·
07e7bd5
1
Parent(s):
1400a5e
Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,80 @@
|
|
1 |
---
|
2 |
license: mit
|
|
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: mit
|
3 |
+
tags:
|
4 |
+
- vsd
|
5 |
+
pretty_name: VSD Fashion
|
6 |
---
|
7 |
+
|
8 |
+
# VSD Fashion Dataset
|
9 |
+
|
10 |
+
## Description
|
11 |
+
A dataset for visual similarity tasks, that includes various zero-shot and trainable tasks from the VSD Paper.
|
12 |
+
Visual similarity measures the perceptual agreement between two objects based on their visual appearance. Two objects can be similar or dissimilar based on their color, shape, size, pattern, utility, and more. In fact, all of these factors and many others take part in determining the degree of visual similarity between two objects with varying importance. Therefore, defining the perceived visual simi- larity based on these factors is challenging. Nonetheless, learning visual similarities is a key building block for many practical utilities such as search, recommendations, etc.
|
13 |
+
|
14 |
+
- **Repository: https://github.com/vsd-benchmark/vsd**
|
15 |
+
- **Paper: [TBD]**
|
16 |
+
- **Leaderboard: https://vsd-benchmark.github.io/vsd/**
|
17 |
+
|
18 |
+
### Dataset Summary
|
19 |
+
Visual similarity measures the perceptual agreement between two objects based on their visual appearance. Two objects can be similar or dissimilar based on their color, shape, size, pattern, utility, and more. In fact, all of these factors and many others take part in determining the degree of visual similarity between two objects with varying importance. Therefore, defining the perceived visual simi- larity based on these factors is challenging. Nonetheless, learning visual similarities is a key building block for many practical utilities such as search, recommendations, etc.
|
20 |
+
|
21 |
+
### Supported Tasks and Leaderboards
|
22 |
+
The dataset contains several tasks (displayed in the leaderboard site):
|
23 |
+
|
24 |
+
1. VSD Fashion Dataset
|
25 |
+
a. In Catalog Retrieval
|
26 |
+
1. Zero Shot Retrieval Task. (**in_catalog_retrieval_zero_shot**)
|
27 |
+
2. Open Catalog Training Retrieval Task - Same queries appear in train and test. (**in_catalog_open_catalog**)
|
28 |
+
3. Closed Catalog Training Retrieval Task - Queries in train and test do not intersect. (**in_catalog_closed_catalog**)
|
29 |
+
b. Consumer-Catalog (Wild) Retrieval
|
30 |
+
1. Zero Shot Retrieval Task catalog_wild_zero_shot (**catalog_wild_zero_shot**)
|
31 |
+
|
32 |
+
More information about each task can be found in the leaderboard and the paper.
|
33 |
+
|
34 |
+
### Usage
|
35 |
+
|
36 |
+
#### Dataset Images
|
37 |
+
The dataset itself contains only annotations, and is based on DeepFashion dataset.
|
38 |
+
|
39 |
+
The DeepFashion dataset can be downloaded from [here](https://mmlab.ie.cuhk.edu.hk/projects/DeepFashion.html) and extracted into a folder named 'img'.
|
40 |
+
|
41 |
+
The In-shop Clothes Retrieval Benchmark and Consumer-to-shop Clothes Retrieval Benchmark should be downloaded.
|
42 |
+
There should be six folders in ```datasets/img``` after extraction:
|
43 |
+
|
44 |
+
```
|
45 |
+
datasets/img/CLOTHING - Consumer-to-shop Clothes Retrieval Benchmark
|
46 |
+
datasets/img/DRESSES - Consumer-to-shop Clothes Retrieval Benchmark
|
47 |
+
datasets/img/TOPS - Consumer-to-shop Clothes Retrieval Benchmark
|
48 |
+
datasets/img/TROUSERS - Consumer-to-shop Clothes Retrieval Benchmark
|
49 |
+
datasets/img/MEN - In-shop Clothes Retrieval Benchmark
|
50 |
+
datasets/img/WOMEN - In-shop Clothes Retrieval Benchmark
|
51 |
+
```
|
52 |
+
|
53 |
+
#### HuggingFace datasets api
|
54 |
+
In order to load the dataset annotations through HuggingFace hub, choose a task and run
|
55 |
+
```python
|
56 |
+
ds = load_dataset('vsd-benchmark/vsd-fashion', 'your_chosen_task', image_folder='./image_folder')
|
57 |
+
```
|
58 |
+
|
59 |
+
Where 'your_chosen_task' should be one of the tasks mentioned above, and './image_folder' should be the path that contains the 'img' folder.
|
60 |
+
|
61 |
+
Note that the zero-shot tasks only have a 'test' set.
|
62 |
+
|
63 |
+
#### Using the annotations directly
|
64 |
+
Instead of using 'datasets' loader, you can download the annotation files directly using:
|
65 |
+
```python
|
66 |
+
dataset_builder = load_dataset_builder('vsd-benchmark/vsd-fashion', task, image_folder=image_folder)
|
67 |
+
splits = dataset_builder._split_generators(None)
|
68 |
+
```
|
69 |
+
|
70 |
+
### License
|
71 |
+
|
72 |
+
VSD Fashion is licensed under MIT License. The released models can be used for commercial purposes free of charge.
|
73 |
+
|
74 |
+
### Citation Information
|
75 |
+
|
76 |
+
[More Information Needed]
|
77 |
+
|
78 |
+
### Contributions
|
79 |
+
|
80 |
+
[More Information Needed]
|