Update README.md
Browse files
README.md
CHANGED
|
@@ -162,55 +162,60 @@ configs:
|
|
| 162 |
---
|
| 163 |
=====================README====================
|
| 164 |
|
|
|
|
| 165 |
|
| 166 |
-
|
| 167 |
|
| 168 |
-
|
| 169 |
|
| 170 |
-
|
| 171 |
|
| 172 |
-
|
| 173 |
|
| 174 |
-
|
| 175 |
-
- **Configurations** :
|
| 176 |
-
- `items` : données détaillées des items
|
| 177 |
-
- `kits` : informations sur chaque outfit
|
| 178 |
-
- `users` : identifiants synthétiques d’utilisateurs
|
| 179 |
-
- `interactions` : interactions entre utilisateurs et items (composition d’outfits, vues, likes)
|
| 180 |
|
| 181 |
-
|
| 182 |
|
| 183 |
-
|
| 184 |
-
- `0.jpg` → image de l’outfit (kit)
|
| 185 |
-
- `1.jpg`, `2.jpg`, … → images correspondant aux items du kit, dans l’ordre des données JSON
|
| 186 |
|
|
|
|
| 187 |
|
|
|
|
| 188 |
|
| 189 |
-
|
| 190 |
|
| 191 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 192 |
|
| 193 |
-
```python
|
| 194 |
from huggingface_hub import login
|
| 195 |
import os
|
| 196 |
|
| 197 |
login(token=os.getenv("HF_TOKEN"))
|
| 198 |
|
|
|
|
| 199 |
|
| 200 |
-
|
| 201 |
-
|
| 202 |
-
Pour charger ces datasets:
|
| 203 |
|
| 204 |
from datasets import load_dataset
|
| 205 |
|
| 206 |
items_ds = load_dataset("codewaly/polyvore1000", "items", split="train")
|
| 207 |
-
kits_ds = load_dataset("codewaly/polyvore1000", "kits",
|
| 208 |
users_ds = load_dataset("codewaly/polyvore1000", "users", split="train")
|
| 209 |
interactions_ds = load_dataset("codewaly/polyvore1000", "interactions", split="train")
|
|
|
|
| 210 |
|
| 211 |
-
|
| 212 |
-
Références
|
| 213 |
|
| 214 |
1. Han, X., et al. (2017). Learning Fashion Compatibility with Bidirectional LSTMs. ACM Multimedia.
|
| 215 |
|
| 216 |
2. Lu, Z., et al. (2019). Learning Binary Code for Personalized Fashion Recommendation. CVPR.
|
|
|
|
|
|
| 162 |
---
|
| 163 |
=====================README====================
|
| 164 |
|
| 165 |
+
## Polyvore-1000 Dataset
|
| 166 |
|
| 167 |
+
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.
|
| 168 |
|
| 169 |
+
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.
|
| 170 |
|
| 171 |
+
### Data Structure
|
| 172 |
|
| 173 |
+
a. Available splits: train, valid, test (same proportions as Polyvore-U: 17,316 / 1,497 / 3,076 outfits).
|
| 174 |
|
| 175 |
+
b. Configurations:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 176 |
|
| 177 |
+
items: detailed item data
|
| 178 |
|
| 179 |
+
kits: information on each outfit
|
|
|
|
|
|
|
| 180 |
|
| 181 |
+
users: synthetic user identifiers
|
| 182 |
|
| 183 |
+
interactions: interactions between users and items (outfit composition, views, likes)
|
| 184 |
|
| 185 |
+
user_profiles: aggregated user interaction profiles
|
| 186 |
|
| 187 |
+
### Images
|
| 188 |
+
|
| 189 |
+
Images are organized in images/<kit_id>/:
|
| 190 |
+
|
| 191 |
+
- 0.jpg → outfit (kit) image
|
| 192 |
+
|
| 193 |
+
- 1.jpg, 2.jpg, … → images corresponding to the items of the kit, in the order given by the JSON data
|
| 194 |
+
|
| 195 |
+
## Hugging Face Authentication
|
| 196 |
+
|
| 197 |
+
In a notebook or Python script:
|
| 198 |
|
|
|
|
| 199 |
from huggingface_hub import login
|
| 200 |
import os
|
| 201 |
|
| 202 |
login(token=os.getenv("HF_TOKEN"))
|
| 203 |
|
| 204 |
+
## Usage
|
| 205 |
|
| 206 |
+
To load these datasets:
|
|
|
|
|
|
|
| 207 |
|
| 208 |
from datasets import load_dataset
|
| 209 |
|
| 210 |
items_ds = load_dataset("codewaly/polyvore1000", "items", split="train")
|
| 211 |
+
kits_ds = load_dataset("codewaly/polyvore1000", "kits", split="train")
|
| 212 |
users_ds = load_dataset("codewaly/polyvore1000", "users", split="train")
|
| 213 |
interactions_ds = load_dataset("codewaly/polyvore1000", "interactions", split="train")
|
| 214 |
+
user_profiles_ds = load_dataset("codewaly/polyvore1000", "user_profiles", split="train")
|
| 215 |
|
| 216 |
+
## References
|
|
|
|
| 217 |
|
| 218 |
1. Han, X., et al. (2017). Learning Fashion Compatibility with Bidirectional LSTMs. ACM Multimedia.
|
| 219 |
|
| 220 |
2. Lu, Z., et al. (2019). Learning Binary Code for Personalized Fashion Recommendation. CVPR.
|
| 221 |
+
|