Upload folder using huggingface_hub
Browse files- .gitattributes +4 -56
- README.md +110 -5
- disjoint_compatibility/test.json +0 -0
- disjoint_compatibility/train.json +0 -0
- disjoint_compatibility/valid.json +0 -0
- disjoint_fill_in_the_blank/test.json +0 -0
- disjoint_fill_in_the_blank/train.json +0 -0
- disjoint_fill_in_the_blank/valid.json +0 -0
- disjoint_outfit_sets/test.json +0 -0
- disjoint_outfit_sets/train.json +0 -0
- disjoint_outfit_sets/valid.json +0 -0
- nondisjoint_compatibility/test.json +0 -0
- nondisjoint_compatibility/train.json +3 -0
- nondisjoint_compatibility/valid.json +0 -0
- nondisjoint_fill_in_the_blank/test.json +0 -0
- nondisjoint_fill_in_the_blank/train.json +3 -0
- nondisjoint_fill_in_the_blank/valid.json +0 -0
- nondisjoint_outfit_sets/test.json +0 -0
- nondisjoint_outfit_sets/train.json +3 -0
- nondisjoint_outfit_sets/valid.json +0 -0
.gitattributes
CHANGED
|
@@ -1,59 +1,7 @@
|
|
| 1 |
-
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
-
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
-
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
-
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
-
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
-
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
-
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
-
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
-
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
-
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
-
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
| 12 |
-
*.mds filter=lfs diff=lfs merge=lfs -text
|
| 13 |
-
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 14 |
-
*.model filter=lfs diff=lfs merge=lfs -text
|
| 15 |
-
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 16 |
-
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 17 |
-
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 18 |
-
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 19 |
-
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 20 |
-
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 21 |
-
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 22 |
-
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 23 |
-
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 24 |
-
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 25 |
-
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 26 |
-
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 27 |
-
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 28 |
-
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 29 |
-
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 30 |
-
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 31 |
-
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 32 |
-
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
-
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 34 |
-
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 35 |
-
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 36 |
-
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 37 |
-
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 38 |
-
# Audio files - uncompressed
|
| 39 |
-
*.pcm filter=lfs diff=lfs merge=lfs -text
|
| 40 |
-
*.sam filter=lfs diff=lfs merge=lfs -text
|
| 41 |
-
*.raw filter=lfs diff=lfs merge=lfs -text
|
| 42 |
-
# Audio files - compressed
|
| 43 |
-
*.aac filter=lfs diff=lfs merge=lfs -text
|
| 44 |
-
*.flac filter=lfs diff=lfs merge=lfs -text
|
| 45 |
-
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 46 |
-
*.ogg filter=lfs diff=lfs merge=lfs -text
|
| 47 |
-
*.wav filter=lfs diff=lfs merge=lfs -text
|
| 48 |
-
# Image files - uncompressed
|
| 49 |
-
*.bmp filter=lfs diff=lfs merge=lfs -text
|
| 50 |
-
*.gif filter=lfs diff=lfs merge=lfs -text
|
| 51 |
-
*.png filter=lfs diff=lfs merge=lfs -text
|
| 52 |
-
*.tiff filter=lfs diff=lfs merge=lfs -text
|
| 53 |
-
# Image files - compressed
|
| 54 |
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 55 |
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
|
|
|
| 56 |
*.webp filter=lfs diff=lfs merge=lfs -text
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 2 |
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
| 4 |
*.webp filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
nondisjoint_compatibility/train.json filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
nondisjoint_fill_in_the_blank/train.json filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
nondisjoint_outfit_sets/train.json filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -1,5 +1,110 @@
|
|
| 1 |
-
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
license: other
|
| 5 |
+
task_categories:
|
| 6 |
+
- image-classification
|
| 7 |
+
- zero-shot-retrieval
|
| 8 |
+
tags:
|
| 9 |
+
- fashion
|
| 10 |
+
- recommendation-system
|
| 11 |
+
- polyvore
|
| 12 |
+
pretty_name: Polyvore Outfits
|
| 13 |
+
size_categories:
|
| 14 |
+
- 10K<n<100K
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# Polyvore Outfits (Refactored Version)
|
| 18 |
+
|
| 19 |
+
This repository provides a **refactored version** of the Polyvore Outfits dataset, originally introduced in the paper **"Learning Type-Aware Embeddings for Fashion Compatibility"** by Mariya I. Vasileva et al.
|
| 20 |
+
|
| 21 |
+
## π Overview
|
| 22 |
+
The goal of this refactoring is to improve **usability** and **developer experience**. While the core data remains identical to the original, the file structure and JSON schemas have been standardized to make it easier to load and use in modern deep learning pipelines.
|
| 23 |
+
|
| 24 |
+
### Key Improvements:
|
| 25 |
+
- **Standardized Item Referencing**: All items are referenced using the `<set_id>_<index>` format.
|
| 26 |
+
- **Task-Specific Separation**: Data is clearly organized into `compatibility`, `fill_in_the_blank`, and `outfit_sets`.
|
| 27 |
+
- **Clean JSON Schema**: Consistent naming conventions across all files.
|
| 28 |
+
|
| 29 |
+
## π Directory Structure
|
| 30 |
+
The dataset is organized into `disjoint` and `nondisjoint` splits, covering three main tasks:
|
| 31 |
+
|
| 32 |
+
```text
|
| 33 |
+
polyvore-outfits/
|
| 34 |
+
βββ disjoint_compatibility/
|
| 35 |
+
βββ disjoint_fill_in_the_blank/
|
| 36 |
+
βββ disjoint_outfit_sets/
|
| 37 |
+
βββ nondisjoint_compatibility/
|
| 38 |
+
β βββ train.json, valid.json, test.json
|
| 39 |
+
βββ nondisjoint_fill_in_the_blank/
|
| 40 |
+
β βββ train.json, valid.json, test.json
|
| 41 |
+
βββ nondisjoint_outfit_sets/
|
| 42 |
+
βββ train.json, valid.json, test.json
|
| 43 |
+
|
| 44 |
+
```
|
| 45 |
+
|
| 46 |
+
## π Data Formats
|
| 47 |
+
|
| 48 |
+
### 1. Outfit Sets
|
| 49 |
+
|
| 50 |
+
Contains metadata for each outfit set.
|
| 51 |
+
|
| 52 |
+
```json
|
| 53 |
+
{
|
| 54 |
+
"set_id": "217320763",
|
| 55 |
+
"items": [
|
| 56 |
+
{ "item_id": "193458045", "index": 1 }
|
| 57 |
+
]
|
| 58 |
+
}
|
| 59 |
+
|
| 60 |
+
```
|
| 61 |
+
|
| 62 |
+
### 2. Compatibility
|
| 63 |
+
|
| 64 |
+
Binary classification data to determine if a set of items matches.
|
| 65 |
+
|
| 66 |
+
* `label: 1`: Compatible
|
| 67 |
+
* `label: 0`: Incompatible
|
| 68 |
+
|
| 69 |
+
```json
|
| 70 |
+
{
|
| 71 |
+
"items": ["217320763_1", "217320763_2"],
|
| 72 |
+
"label": 1
|
| 73 |
+
}
|
| 74 |
+
|
| 75 |
+
```
|
| 76 |
+
|
| 77 |
+
### 3. Fill-in-the-Blank (FITB)
|
| 78 |
+
|
| 79 |
+
Multiple-choice data to predict the most suitable item for a missing slot.
|
| 80 |
+
|
| 81 |
+
```json
|
| 82 |
+
{
|
| 83 |
+
"items": ["217320763_1", "217320763_2"],
|
| 84 |
+
"blank_index": 2,
|
| 85 |
+
"candidates": ["217320763_3", "xxxx_x"],
|
| 86 |
+
"label": 0
|
| 87 |
+
}
|
| 88 |
+
|
| 89 |
+
```
|
| 90 |
+
|
| 91 |
+
## π Citation & Original Work
|
| 92 |
+
|
| 93 |
+
This is a refactored version of the work by Vasileva et al. If you use this dataset, please cite the original paper:
|
| 94 |
+
|
| 95 |
+
```bibtex
|
| 96 |
+
@misc{vasileva2018learningtypeawareembeddingsfashion,
|
| 97 |
+
title={Learning Type-Aware Embeddings for Fashion Compatibility},
|
| 98 |
+
author={Mariya I. Vasileva and Bryan A. Plummer and Krishna Dusad and Shreya Rajpal and Ranjitha Kumar and David Forsyth},
|
| 99 |
+
year={2018},
|
| 100 |
+
eprint={1803.09196},
|
| 101 |
+
archivePrefix={arXiv},
|
| 102 |
+
primaryClass={cs.CV},
|
| 103 |
+
url={[https://arxiv.org/abs/1803.09196](https://arxiv.org/abs/1803.09196)},
|
| 104 |
+
}
|
| 105 |
+
|
| 106 |
+
```
|
| 107 |
+
|
| 108 |
+
## βοΈ License
|
| 109 |
+
|
| 110 |
+
This refactored version follows the same licensing terms as the original Polyvore Outfits dataset. Please refer to the original source for specific usage restrictions.
|
disjoint_compatibility/test.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
disjoint_compatibility/train.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
disjoint_compatibility/valid.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
disjoint_fill_in_the_blank/test.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
disjoint_fill_in_the_blank/train.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
disjoint_fill_in_the_blank/valid.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
disjoint_outfit_sets/test.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
disjoint_outfit_sets/train.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
disjoint_outfit_sets/valid.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nondisjoint_compatibility/test.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nondisjoint_compatibility/train.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f9cb74d36a4b93c0c1929cf3e65e84bc05bca3083d0dda67c2ac6ca0b619d5d6
|
| 3 |
+
size 29745192
|
nondisjoint_compatibility/valid.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nondisjoint_fill_in_the_blank/test.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nondisjoint_fill_in_the_blank/train.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3e476e9fb8000f782d697f40e2d37ace7fe26ede9ac971888101aa2100cd47ac
|
| 3 |
+
size 22061981
|
nondisjoint_fill_in_the_blank/valid.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nondisjoint_outfit_sets/test.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nondisjoint_outfit_sets/train.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:09fe68140c8207240d5d1bbfe2a443e2a80e60e6efb0b9251945cebe38e3f10c
|
| 3 |
+
size 31769038
|
nondisjoint_outfit_sets/valid.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|