File size: 5,159 Bytes
7d56120
 
854b819
 
 
 
 
 
 
 
 
 
 
 
ae0268a
 
854b819
ae0268a
 
854b819
ae0268a
 
 
 
fe9fbde
7d56120
 
 
 
 
 
 
 
 
 
 
 
 
714f0fd
849e769
7d56120
 
11f671e
 
7d56120
11f671e
 
7d56120
11f671e
 
 
 
fe9fbde
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6363d54
 
fe9fbde
6363d54
 
fe9fbde
6363d54
 
 
 
0e46d3a
 
 
 
dddd0f0
0514fde
0f44dee
 
0e46d3a
 
50d1703
 
0e46d3a
50d1703
 
55e54d8
50d1703
 
 
 
856cce7
 
 
 
 
 
 
 
a2ebd7b
 
856cce7
a2ebd7b
 
856cce7
a2ebd7b
 
 
 
7d56120
854b819
 
 
 
 
 
 
 
7d56120
 
 
 
 
 
 
 
fe9fbde
 
 
 
 
 
 
 
0e46d3a
 
 
 
 
 
 
 
856cce7
 
 
 
 
 
 
 
7d56120
bf9947a
 
aabd9c0
bf9947a
aabd9c0
bf9947a
aabd9c0
bf9947a
aabd9c0
bf9947a
aabd9c0
bf9947a
aabd9c0
bf9947a
aabd9c0
bf9947a
aabd9c0
bf9947a
aabd9c0
98dc6e4
aabd9c0
bf9947a
aabd9c0
bf9947a
aabd9c0
 
 
 
 
 
 
 
 
 
 
bf9947a
 
 
 
 
 
aabd9c0
bf9947a
aabd9c0
bf9947a
 
 
267f485
16431fa
267f485
16431fa
267f485
16431fa
267f485
16431fa
267f485
bf9947a
aabd9c0
d1bb3fb
8951cd5
d1bb3fb
8951cd5
aabd9c0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
---
dataset_info:
- config_name: interactions
  features:
  - name: user_id
    dtype: string
  - name: item_id
    dtype: string
  - name: interaction_type
    dtype: string
  - name: date
    dtype: string
  splits:
  - name: train
    num_bytes: 9081719
    num_examples: 132121
  - name: valid
    num_bytes: 725995
    num_examples: 10565
  - name: test
    num_bytes: 1489701
    num_examples: 21679
  download_size: 3059860
  dataset_size: 11297415
- config_name: items
  features:
  - name: item_id
    dtype: string
  - name: master_category
    dtype: string
  - name: product_name
    dtype: string
  - name: price
    dtype: float64
  - name: image
    dtype: image
  - name: release_date
    dtype: string
  - name: dominant_color
    dtype: string
  splits:
  - name: train
    num_bytes: 2930524512.326
    num_examples: 114806
  - name: valid
    num_bytes: 248537470.71
    num_examples: 9070
  - name: test
    num_bytes: 481070281.368
    num_examples: 18604
  download_size: 3736549854
  dataset_size: 3660132264.4040003
- config_name: kits
  features:
  - name: kit_id
    dtype: string
  - name: kit_name
    dtype: string
  - name: description
    dtype: string
  - name: user_id
    dtype: string
  - name: image
    dtype: image
  - name: views
    dtype: int64
  - name: likes
    dtype: int64
  - name: date
    dtype: string
  splits:
  - name: train
    num_bytes: 1529711480.552
    num_examples: 17316
  - name: valid
    num_bytes: 140910966.145
    num_examples: 1497
  - name: test
    num_bytes: 286390717.904
    num_examples: 3076
  download_size: 1950241338
  dataset_size: 1957013164.601
- config_name: user_profiles
  features:
  - name: user_id
    dtype: string
  - name: preferred_colors
    list: string
  - name: preferred_categories
    list: string
  splits:
  - name: train
    num_bytes: 343252
    num_examples: 3463
  - name: valid
    num_bytes: 29869
    num_examples: 299
  - name: test
    num_bytes: 61432
    num_examples: 615
  download_size: 65211
  dataset_size: 434553
- config_name: users
  features:
  - name: user_id
    dtype: string
  - name: user_name
    dtype: string
  splits:
  - name: train
    num_bytes: 96964
    num_examples: 3463
  - name: valid
    num_bytes: 8372
    num_examples: 299
  - name: test
    num_bytes: 17220
    num_examples: 615
  download_size: 59204
  dataset_size: 122556
configs:
- config_name: interactions
  data_files:
  - split: train
    path: interactions/train-*
  - split: valid
    path: interactions/valid-*
  - split: test
    path: interactions/test-*
- config_name: items
  data_files:
  - split: train
    path: items/train-*
  - split: valid
    path: items/valid-*
  - split: test
    path: items/test-*
- config_name: kits
  data_files:
  - split: train
    path: kits/train-*
  - split: valid
    path: kits/valid-*
  - split: test
    path: kits/test-*
- config_name: user_profiles
  data_files:
  - split: train
    path: user_profiles/train-*
  - split: valid
    path: user_profiles/valid-*
  - split: test
    path: user_profiles/test-*
- config_name: users
  data_files:
  - split: train
    path: users/train-*
  - split: valid
    path: users/valid-*
  - split: test
    path: users/test-*
---
=====================README====================

## Polyvore-1000 Dataset

Welcome! I am Waly NGOM, PhD in Mathematics and passionate about Artificial Intelligence. This repository contains Polyvore-1000, a dataset designed for personalized recommendation in the fashion domain.

Polyvore-1000 builds upon the Polyvore-U splits introduced by Han et al. (2017) and benefits from the complementary work of Lu et al. (CVPR 2019), who proposed an innovative binary-code based approach for efficient outfit recommendation.

### Data Structure

a. Available splits: train, valid, test (same proportions as Polyvore-U: 17,316 / 1,497 / 3,076 outfits).

b. Configurations:

    items: detailed item data

    kits: information on each outfit

    users: synthetic user identifiers

    interactions: interactions between users and items (outfit composition, views, likes)

    user_profiles: aggregated user interaction profiles

### Images

Images are organized in images/<kit_id>/:

- 0.jpg → outfit (kit) image

- 1.jpg, 2.jpg, … → images corresponding to the items of the kit, in the order given by the JSON data

## Hugging Face Authentication

In a notebook or Python script:

from huggingface_hub import login
import os

login(token=os.getenv("HF_TOKEN"))

## Usage

To load these datasets:

from datasets import load_dataset

items_ds = load_dataset("codewaly/polyvore1000", "items", split="train")

kits_ds = load_dataset("codewaly/polyvore1000", "kits", split="train")

users_ds = load_dataset("codewaly/polyvore1000", "users", split="train")

interactions_ds = load_dataset("codewaly/polyvore1000", "interactions", split="train")

user_profiles_ds = load_dataset("codewaly/polyvore1000", "user_profiles", split="train")

## References

1. Han, X., et al. (2017). Learning Fashion Compatibility with Bidirectional LSTMs. ACM Multimedia.

2. Lu, Z., et al. (2019). Learning Binary Code for Personalized Fashion Recommendation. CVPR.