Dakhoo commited on
Commit
ba48b51
1 Parent(s): 5c82ffa

still the very first commit

Browse files
.DS_Store ADDED
Binary file (8.2 kB). View file
 
README.md CHANGED
@@ -1,3 +1,102 @@
1
- ---
2
- license: cc-by-nc-4.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Dataset Card for WineSensed
2
+
3
+ ## Table of Contents
4
+ - [Table of Contents](#table-of-contents)
5
+ - [Dataset Description](#dataset-description)
6
+ - [Dataset Summary](#dataset-summary)
7
+ - [Languages](#languages)
8
+ - [Dataset Structure](#dataset-structure)
9
+ - [Data Fields](#data-fields)
10
+ - [Additional Information](#additional-information)
11
+ - [Licensing Information](#licensing-information)
12
+ - [Citation Information](#citation-information)
13
+
14
+ ## Dataset Description
15
+
16
+ - **Homepage:** [WineSensed Dataset](https://https://thoranna.github.io/learning_to_taste/)
17
+ - **Repository:**
18
+ - **Paper:** [Paper](https://arxiv.org/pdf/2308.16900.pdf)
19
+
20
+ ### Dataset Summary
21
+
22
+ The dataset encompasses 897k images of wine labels and 824k reviews of wines
23
+ curated from the Vivino platform. It has over 350k unique vintages, annotated
24
+ with year, region, rating, alcohol percentage, price, and grape composition.
25
+ We obtained fine-grained flavor annotations on a subset by conducting a wine-tasting experiment
26
+ with 256 participants who were asked to rank wines based on their similarity in flavor,
27
+ resulting in more than 5k pairwise flavor distances.
28
+
29
+ ### Languages
30
+
31
+ English
32
+
33
+ ## Dataset Structure
34
+
35
+ ### Data Fields
36
+
37
+ The dataset contains the file metadata.zip, consisting of the files participants.csv, which contains information connecting participants to annotations in the experiment, images_reviews_attributes.csv, which contains reviews, links to images, and wine attributes, and napping.csv, which contains the coordinates of each wine on the napping paper alongside information connecting each coordinate pair to the wine being annotated and the participant who annotated it. The chunk_<chunk num>.zip folders contain the images of the wines in the dataset in .jpg format.
38
+
39
+ #### napping.csv contains the following fields:
40
+
41
+ - session_round_name: session number during the event_name, at most three sessions per event (maps to experiment_round in participants.csv)
42
+ - event_name: name of the data collection event (maps to the same attribute in participants.csv)
43
+ - experiment_no: which number the napping paper was in the list of papers returned for this session_round_name (maps to experiment_no in participants.csv)
44
+ - experiment_id: id the wine being annotated was given in the experiment
45
+ - coor1: x-axis coordinate on the napping paper
46
+ - coor2: y-axis coordinate on the napping paper
47
+ - color: color of the sticker used
48
+
49
+ #### participants.csv contains the following fields:
50
+
51
+ - session_round_name: session number during the event_name, at most three sessions per event (maps to experiment_round in napping.csv)
52
+ - event_name: name of data-collection event (maps to event_name in napping.csv)
53
+ - experiment_no: which number the napping paper was in the list of papers returned for this session_round_name (maps to experiment_no in napping.csv)
54
+ - round_id: round number (from 1-3)
55
+ - participant_id: id the participant was given in the experiment
56
+
57
+ #### images_reviews_attributes.csv contains the following fields:
58
+
59
+ - vintage_id: vintage id of the wine
60
+ - image: image link (each .jpg in chunk_<chunk num>.zip can be mapped to a corresponding image link in this column by removing the /p prefix from the link).
61
+ - review: user review of the wine
62
+ - experiment_id: id the wine got during data collection (each experiment_id can be mapped to the same column in napping.csv)
63
+ - year: year the wine was produced
64
+ - winery_id: id of the winery that produced the wine
65
+ - wine: name of the wine
66
+ - alcohol: the wine's alcohol percentage
67
+ - country: the country where the wine was produced
68
+ - region: the region where the wine was produced
69
+ - price: price of the wine in USD (collected 05/2023)
70
+ - rating: average rating of the wine (collected 05/2023)
71
+ - grape: the wine's grape composition, represented as a comma-separated list ordered in descending sequence of the percentage contribution of each grape variety to the overall blend.
72
+
73
+ ## Dataset Creation
74
+
75
+ ### All Images Dataset
76
+
77
+ 1) Unzip all the chunk_*.zip files
78
+ 2) Copy the script create_all_images_dataset.sh to the output_images/ directory
79
+ 3) Execute chmod +x create_all_images_dataset.sh
80
+ 4) Execute ./create_all_images_dataset.sh
81
+
82
+
83
+ ## Additional Information
84
+
85
+ ### Licensing Information
86
+
87
+ LICENSE AGREEMENT
88
+ =================
89
+ - WineSensed by Thoranna Bender, Simon Søresen, Alireza Kashani, Kristjan Eldjarn, Grethe Hyldig,
90
+ Søren Hauberg, Serge Belongie, Frederik Warburg is licensed under a CC BY-NC-ND 4.0 Licence
91
+
92
+
93
+ ### Citation Information
94
+
95
+ ```
96
+ @article{bender2023learning,
97
+ title={Learning to Taste: A Multimodal Wine Dataset},
98
+ author={Bender, Thoranna and S{\o}rensen, Simon M{\o}e and Kashani, Alireza and Hjorleifsson, K Eldjarn and Hyldig, Grethe and Hauberg, S{\o}ren and Belongie, Serge and Warburg, Frederik},
99
+ journal={arXiv preprint arXiv:2308.16900},
100
+ year={2023}
101
+ ```
102
+
code/notebook.ipynb ADDED
@@ -0,0 +1,897 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "code",
5
+ "execution_count": 2,
6
+ "metadata": {},
7
+ "outputs": [],
8
+ "source": [
9
+ "import pandas as pd"
10
+ ]
11
+ },
12
+ {
13
+ "cell_type": "code",
14
+ "execution_count": 3,
15
+ "metadata": {},
16
+ "outputs": [],
17
+ "source": [
18
+ "df_napping = pd.read_csv('../data/csv/napping.csv')\n",
19
+ "df_napping['experiment_no'] = [int(item.replace('experiment_no_', '')) for item in df_napping.experiment_no]\n",
20
+ "df_participant = pd.read_csv('../data/csv/participants.csv', sep = \";\")"
21
+ ]
22
+ },
23
+ {
24
+ "cell_type": "code",
25
+ "execution_count": 4,
26
+ "metadata": {},
27
+ "outputs": [
28
+ {
29
+ "data": {
30
+ "text/plain": [
31
+ "(1014630, 12)"
32
+ ]
33
+ },
34
+ "execution_count": 4,
35
+ "metadata": {},
36
+ "output_type": "execute_result"
37
+ }
38
+ ],
39
+ "source": [
40
+ "df_image_review_attributes = pd.read_csv('../data/csv/images_reviews_attributes.csv')\n",
41
+ "df_image_review_attributes.shape"
42
+ ]
43
+ },
44
+ {
45
+ "cell_type": "code",
46
+ "execution_count": 5,
47
+ "metadata": {},
48
+ "outputs": [
49
+ {
50
+ "data": {
51
+ "text/plain": [
52
+ "(1010152, 12)"
53
+ ]
54
+ },
55
+ "execution_count": 5,
56
+ "metadata": {},
57
+ "output_type": "execute_result"
58
+ }
59
+ ],
60
+ "source": [
61
+ "# drop rows on image column if they are null\n",
62
+ "df_image_review_attributes = df_image_review_attributes.dropna(subset=['image'])\n",
63
+ "df_image_review_attributes.shape"
64
+ ]
65
+ },
66
+ {
67
+ "cell_type": "code",
68
+ "execution_count": 6,
69
+ "metadata": {},
70
+ "outputs": [],
71
+ "source": [
72
+ "def write_jsonl(df, file_path):\n",
73
+ " with open(file_path, 'w') as jsonlfile:\n",
74
+ " for _, row in df.iterrows():\n",
75
+ " # Convert each row to a JSON string and write it as a line in JSONL\n",
76
+ " json_string = row.to_json()\n",
77
+ " jsonlfile.write(json_string + '\\n')"
78
+ ]
79
+ },
80
+ {
81
+ "cell_type": "code",
82
+ "execution_count": 7,
83
+ "metadata": {},
84
+ "outputs": [],
85
+ "source": [
86
+ "# IN THE README FILE, WE HAVE THE FOLLOWING INFORMATION:\n",
87
+ "# to join participants with napping\n",
88
+ "df_napping_participants = df_participant.\\\n",
89
+ " merge(df_napping, on=['event_name', 'session_round_name', 'experiment_no'])\n",
90
+ "\n",
91
+ "write_jsonl(df_napping_participants, '../data/napping_participants/napping_participants.jsonl')\n",
92
+ "\n",
93
+ "# LOAD VINTAGES\n",
94
+ "df_vintages = df_image_review_attributes.\\\n",
95
+ " drop(columns=['image', 'review', 'experiment_id']).\\\n",
96
+ " dropna(subset = ['winery_id']).\\\n",
97
+ " drop_duplicates().\\\n",
98
+ " astype({'year': int, 'winery_id': int})\n",
99
+ "write_jsonl(df_vintages, '../data/vintages/vintages_dataset.jsonl')\n",
100
+ "\n",
101
+ "# LOAD IMAGES 'small'\n",
102
+ "df_small = df_image_review_attributes.sample(frac = 0.1)\n",
103
+ "write_jsonl(df_small, '../data/small/small_dataset.jsonl')\n",
104
+ "# df_napping\n",
105
+ "# df_participant\n",
106
+ "\n",
107
+ "# LOAD IMAGES 'all'\n",
108
+ "write_jsonl(df_image_review_attributes, '../data/all/all_dataset.jsonl')\n",
109
+ "# df_napping\n",
110
+ "# df_participant\n",
111
+ "\n",
112
+ "# LOAD ONLY IMAGE-REVIEW of PROFILED WINES IN THE WINE TASTING EXPERIMENT\n",
113
+ "df_image_review_of_experiment = df_image_review_attributes.dropna(subset = ['experiment_id']).\\\n",
114
+ " astype({'experiment_id': int, 'year': int})\n",
115
+ "write_jsonl(df_image_review_of_experiment, '../data/wt_session/wt_session.jsonl')\n",
116
+ "# df_napping\n",
117
+ "# df_participant\n"
118
+ ]
119
+ },
120
+ {
121
+ "cell_type": "code",
122
+ "execution_count": 8,
123
+ "metadata": {},
124
+ "outputs": [
125
+ {
126
+ "data": {
127
+ "text/html": [
128
+ "<div>\n",
129
+ "<style scoped>\n",
130
+ " .dataframe tbody tr th:only-of-type {\n",
131
+ " vertical-align: middle;\n",
132
+ " }\n",
133
+ "\n",
134
+ " .dataframe tbody tr th {\n",
135
+ " vertical-align: top;\n",
136
+ " }\n",
137
+ "\n",
138
+ " .dataframe thead th {\n",
139
+ " text-align: right;\n",
140
+ " }\n",
141
+ "</style>\n",
142
+ "<table border=\"1\" class=\"dataframe\">\n",
143
+ " <thead>\n",
144
+ " <tr style=\"text-align: right;\">\n",
145
+ " <th></th>\n",
146
+ " <th>event_name</th>\n",
147
+ " <th>session_round_name</th>\n",
148
+ " <th>experiment_no</th>\n",
149
+ " <th>round_id</th>\n",
150
+ " <th>participant_id</th>\n",
151
+ " <th>experiment_id</th>\n",
152
+ " <th>coor1</th>\n",
153
+ " <th>coor2</th>\n",
154
+ " <th>color</th>\n",
155
+ " </tr>\n",
156
+ " </thead>\n",
157
+ " <tbody>\n",
158
+ " <tr>\n",
159
+ " <th>0</th>\n",
160
+ " <td>experiment_vivino_31_03</td>\n",
161
+ " <td>round_1_images</td>\n",
162
+ " <td>0</td>\n",
163
+ " <td>1</td>\n",
164
+ " <td>254</td>\n",
165
+ " <td>106</td>\n",
166
+ " <td>1728</td>\n",
167
+ " <td>2882</td>\n",
168
+ " <td>red</td>\n",
169
+ " </tr>\n",
170
+ " <tr>\n",
171
+ " <th>1</th>\n",
172
+ " <td>experiment_vivino_31_03</td>\n",
173
+ " <td>round_1_images</td>\n",
174
+ " <td>0</td>\n",
175
+ " <td>1</td>\n",
176
+ " <td>254</td>\n",
177
+ " <td>112</td>\n",
178
+ " <td>1788</td>\n",
179
+ " <td>2060</td>\n",
180
+ " <td>light-purple</td>\n",
181
+ " </tr>\n",
182
+ " <tr>\n",
183
+ " <th>2</th>\n",
184
+ " <td>experiment_vivino_31_03</td>\n",
185
+ " <td>round_1_images</td>\n",
186
+ " <td>0</td>\n",
187
+ " <td>1</td>\n",
188
+ " <td>254</td>\n",
189
+ " <td>109</td>\n",
190
+ " <td>1004</td>\n",
191
+ " <td>1972</td>\n",
192
+ " <td>purple</td>\n",
193
+ " </tr>\n",
194
+ " <tr>\n",
195
+ " <th>3</th>\n",
196
+ " <td>experiment_vivino_31_03</td>\n",
197
+ " <td>round_1_images</td>\n",
198
+ " <td>0</td>\n",
199
+ " <td>1</td>\n",
200
+ " <td>254</td>\n",
201
+ " <td>111</td>\n",
202
+ " <td>1015</td>\n",
203
+ " <td>1760</td>\n",
204
+ " <td>blue</td>\n",
205
+ " </tr>\n",
206
+ " </tbody>\n",
207
+ "</table>\n",
208
+ "</div>"
209
+ ],
210
+ "text/plain": [
211
+ " event_name session_round_name experiment_no round_id \\\n",
212
+ "0 experiment_vivino_31_03 round_1_images 0 1 \n",
213
+ "1 experiment_vivino_31_03 round_1_images 0 1 \n",
214
+ "2 experiment_vivino_31_03 round_1_images 0 1 \n",
215
+ "3 experiment_vivino_31_03 round_1_images 0 1 \n",
216
+ "\n",
217
+ " participant_id experiment_id coor1 coor2 color \n",
218
+ "0 254 106 1728 2882 red \n",
219
+ "1 254 112 1788 2060 light-purple \n",
220
+ "2 254 109 1004 1972 purple \n",
221
+ "3 254 111 1015 1760 blue "
222
+ ]
223
+ },
224
+ "execution_count": 8,
225
+ "metadata": {},
226
+ "output_type": "execute_result"
227
+ }
228
+ ],
229
+ "source": [
230
+ "df_napping_participants.head(4)"
231
+ ]
232
+ },
233
+ {
234
+ "cell_type": "code",
235
+ "execution_count": 9,
236
+ "metadata": {},
237
+ "outputs": [
238
+ {
239
+ "data": {
240
+ "text/html": [
241
+ "<div>\n",
242
+ "<style scoped>\n",
243
+ " .dataframe tbody tr th:only-of-type {\n",
244
+ " vertical-align: middle;\n",
245
+ " }\n",
246
+ "\n",
247
+ " .dataframe tbody tr th {\n",
248
+ " vertical-align: top;\n",
249
+ " }\n",
250
+ "\n",
251
+ " .dataframe thead th {\n",
252
+ " text-align: right;\n",
253
+ " }\n",
254
+ "</style>\n",
255
+ "<table border=\"1\" class=\"dataframe\">\n",
256
+ " <thead>\n",
257
+ " <tr style=\"text-align: right;\">\n",
258
+ " <th></th>\n",
259
+ " <th>vintage_id</th>\n",
260
+ " <th>year</th>\n",
261
+ " <th>winery_id</th>\n",
262
+ " <th>wine_alcohol</th>\n",
263
+ " <th>country</th>\n",
264
+ " <th>region</th>\n",
265
+ " <th>price</th>\n",
266
+ " <th>rating</th>\n",
267
+ " <th>grape</th>\n",
268
+ " </tr>\n",
269
+ " </thead>\n",
270
+ " <tbody>\n",
271
+ " <tr>\n",
272
+ " <th>1755</th>\n",
273
+ " <td>1469676</td>\n",
274
+ " <td>2018</td>\n",
275
+ " <td>247919</td>\n",
276
+ " <td>NaN</td>\n",
277
+ " <td>Italy</td>\n",
278
+ " <td>Abruzzo</td>\n",
279
+ " <td>22.26</td>\n",
280
+ " <td>4.3</td>\n",
281
+ " <td>Sangiovese</td>\n",
282
+ " </tr>\n",
283
+ " <tr>\n",
284
+ " <th>2230</th>\n",
285
+ " <td>156263848</td>\n",
286
+ " <td>2018</td>\n",
287
+ " <td>2080</td>\n",
288
+ " <td>14.0</td>\n",
289
+ " <td>United States</td>\n",
290
+ " <td>Napa Valley</td>\n",
291
+ " <td>13.86</td>\n",
292
+ " <td>4.0</td>\n",
293
+ " <td>Pinot Noir</td>\n",
294
+ " </tr>\n",
295
+ " <tr>\n",
296
+ " <th>3871</th>\n",
297
+ " <td>156177650</td>\n",
298
+ " <td>2018</td>\n",
299
+ " <td>18224</td>\n",
300
+ " <td>13.5</td>\n",
301
+ " <td>Italy</td>\n",
302
+ " <td>Salento</td>\n",
303
+ " <td>19.46</td>\n",
304
+ " <td>4.0</td>\n",
305
+ " <td>Primitivo</td>\n",
306
+ " </tr>\n",
307
+ " <tr>\n",
308
+ " <th>4319</th>\n",
309
+ " <td>20161520</td>\n",
310
+ " <td>2015</td>\n",
311
+ " <td>215762</td>\n",
312
+ " <td>14.0</td>\n",
313
+ " <td>France</td>\n",
314
+ " <td>Saint-Émilion Grand Cru</td>\n",
315
+ " <td>23.66</td>\n",
316
+ " <td>4.1</td>\n",
317
+ " <td>Merlot</td>\n",
318
+ " </tr>\n",
319
+ " </tbody>\n",
320
+ "</table>\n",
321
+ "</div>"
322
+ ],
323
+ "text/plain": [
324
+ " vintage_id year winery_id wine_alcohol country \\\n",
325
+ "1755 1469676 2018 247919 NaN Italy \n",
326
+ "2230 156263848 2018 2080 14.0 United States \n",
327
+ "3871 156177650 2018 18224 13.5 Italy \n",
328
+ "4319 20161520 2015 215762 14.0 France \n",
329
+ "\n",
330
+ " region price rating grape \n",
331
+ "1755 Abruzzo 22.26 4.3 Sangiovese \n",
332
+ "2230 Napa Valley 13.86 4.0 Pinot Noir \n",
333
+ "3871 Salento 19.46 4.0 Primitivo \n",
334
+ "4319 Saint-Émilion Grand Cru 23.66 4.1 Merlot "
335
+ ]
336
+ },
337
+ "execution_count": 9,
338
+ "metadata": {},
339
+ "output_type": "execute_result"
340
+ }
341
+ ],
342
+ "source": [
343
+ "df_vintages.head(4)"
344
+ ]
345
+ },
346
+ {
347
+ "cell_type": "code",
348
+ "execution_count": 10,
349
+ "metadata": {},
350
+ "outputs": [
351
+ {
352
+ "data": {
353
+ "text/html": [
354
+ "<div>\n",
355
+ "<style scoped>\n",
356
+ " .dataframe tbody tr th:only-of-type {\n",
357
+ " vertical-align: middle;\n",
358
+ " }\n",
359
+ "\n",
360
+ " .dataframe tbody tr th {\n",
361
+ " vertical-align: top;\n",
362
+ " }\n",
363
+ "\n",
364
+ " .dataframe thead th {\n",
365
+ " text-align: right;\n",
366
+ " }\n",
367
+ "</style>\n",
368
+ "<table border=\"1\" class=\"dataframe\">\n",
369
+ " <thead>\n",
370
+ " <tr style=\"text-align: right;\">\n",
371
+ " <th></th>\n",
372
+ " <th>vintage_id</th>\n",
373
+ " <th>image</th>\n",
374
+ " <th>review</th>\n",
375
+ " <th>experiment_id</th>\n",
376
+ " <th>year</th>\n",
377
+ " <th>winery_id</th>\n",
378
+ " <th>wine_alcohol</th>\n",
379
+ " <th>country</th>\n",
380
+ " <th>region</th>\n",
381
+ " <th>price</th>\n",
382
+ " <th>rating</th>\n",
383
+ " <th>grape</th>\n",
384
+ " </tr>\n",
385
+ " </thead>\n",
386
+ " <tbody>\n",
387
+ " <tr>\n",
388
+ " <th>429091</th>\n",
389
+ " <td>150905918</td>\n",
390
+ " <td>p/SPYooSq3SrCroz8QOE19lQ.jpg</td>\n",
391
+ " <td>Medium purple coloured. Medium intensity, blac...</td>\n",
392
+ " <td>NaN</td>\n",
393
+ " <td>NaN</td>\n",
394
+ " <td>NaN</td>\n",
395
+ " <td>NaN</td>\n",
396
+ " <td>NaN</td>\n",
397
+ " <td>NaN</td>\n",
398
+ " <td>NaN</td>\n",
399
+ " <td>NaN</td>\n",
400
+ " <td>NaN</td>\n",
401
+ " </tr>\n",
402
+ " <tr>\n",
403
+ " <th>242022</th>\n",
404
+ " <td>155500756</td>\n",
405
+ " <td>p/aZYgB_ioT_SeSf8NZNndaA.jpg</td>\n",
406
+ " <td>LPV Lyon 2, Feb 2019: light gold, quite intens...</td>\n",
407
+ " <td>NaN</td>\n",
408
+ " <td>NaN</td>\n",
409
+ " <td>NaN</td>\n",
410
+ " <td>NaN</td>\n",
411
+ " <td>NaN</td>\n",
412
+ " <td>NaN</td>\n",
413
+ " <td>NaN</td>\n",
414
+ " <td>NaN</td>\n",
415
+ " <td>NaN</td>\n",
416
+ " </tr>\n",
417
+ " <tr>\n",
418
+ " <th>34614</th>\n",
419
+ " <td>156712592</td>\n",
420
+ " <td>p/6aNPhRyFRZmNPTD1ZgOEnQ.jpg</td>\n",
421
+ " <td>NaN</td>\n",
422
+ " <td>NaN</td>\n",
423
+ " <td>NaN</td>\n",
424
+ " <td>NaN</td>\n",
425
+ " <td>NaN</td>\n",
426
+ " <td>NaN</td>\n",
427
+ " <td>NaN</td>\n",
428
+ " <td>NaN</td>\n",
429
+ " <td>NaN</td>\n",
430
+ " <td>NaN</td>\n",
431
+ " </tr>\n",
432
+ " <tr>\n",
433
+ " <th>124131</th>\n",
434
+ " <td>159619405</td>\n",
435
+ " <td>p/8vP7aXeXRIuZ_ln84WuAoA.jpg</td>\n",
436
+ " <td>Intense aroma and flavors, nicely matured, ear...</td>\n",
437
+ " <td>NaN</td>\n",
438
+ " <td>NaN</td>\n",
439
+ " <td>NaN</td>\n",
440
+ " <td>NaN</td>\n",
441
+ " <td>NaN</td>\n",
442
+ " <td>NaN</td>\n",
443
+ " <td>NaN</td>\n",
444
+ " <td>NaN</td>\n",
445
+ " <td>NaN</td>\n",
446
+ " </tr>\n",
447
+ " </tbody>\n",
448
+ "</table>\n",
449
+ "</div>"
450
+ ],
451
+ "text/plain": [
452
+ " vintage_id image \\\n",
453
+ "429091 150905918 p/SPYooSq3SrCroz8QOE19lQ.jpg \n",
454
+ "242022 155500756 p/aZYgB_ioT_SeSf8NZNndaA.jpg \n",
455
+ "34614 156712592 p/6aNPhRyFRZmNPTD1ZgOEnQ.jpg \n",
456
+ "124131 159619405 p/8vP7aXeXRIuZ_ln84WuAoA.jpg \n",
457
+ "\n",
458
+ " review experiment_id \\\n",
459
+ "429091 Medium purple coloured. Medium intensity, blac... NaN \n",
460
+ "242022 LPV Lyon 2, Feb 2019: light gold, quite intens... NaN \n",
461
+ "34614 NaN NaN \n",
462
+ "124131 Intense aroma and flavors, nicely matured, ear... NaN \n",
463
+ "\n",
464
+ " year winery_id wine_alcohol country region price rating grape \n",
465
+ "429091 NaN NaN NaN NaN NaN NaN NaN NaN \n",
466
+ "242022 NaN NaN NaN NaN NaN NaN NaN NaN \n",
467
+ "34614 NaN NaN NaN NaN NaN NaN NaN NaN \n",
468
+ "124131 NaN NaN NaN NaN NaN NaN NaN NaN "
469
+ ]
470
+ },
471
+ "execution_count": 10,
472
+ "metadata": {},
473
+ "output_type": "execute_result"
474
+ }
475
+ ],
476
+ "source": [
477
+ "df_small.head(4)"
478
+ ]
479
+ },
480
+ {
481
+ "cell_type": "code",
482
+ "execution_count": 11,
483
+ "metadata": {},
484
+ "outputs": [
485
+ {
486
+ "data": {
487
+ "text/html": [
488
+ "<div>\n",
489
+ "<style scoped>\n",
490
+ " .dataframe tbody tr th:only-of-type {\n",
491
+ " vertical-align: middle;\n",
492
+ " }\n",
493
+ "\n",
494
+ " .dataframe tbody tr th {\n",
495
+ " vertical-align: top;\n",
496
+ " }\n",
497
+ "\n",
498
+ " .dataframe thead th {\n",
499
+ " text-align: right;\n",
500
+ " }\n",
501
+ "</style>\n",
502
+ "<table border=\"1\" class=\"dataframe\">\n",
503
+ " <thead>\n",
504
+ " <tr style=\"text-align: right;\">\n",
505
+ " <th></th>\n",
506
+ " <th>vintage_id</th>\n",
507
+ " <th>image</th>\n",
508
+ " <th>review</th>\n",
509
+ " <th>experiment_id</th>\n",
510
+ " <th>year</th>\n",
511
+ " <th>winery_id</th>\n",
512
+ " <th>wine_alcohol</th>\n",
513
+ " <th>country</th>\n",
514
+ " <th>region</th>\n",
515
+ " <th>price</th>\n",
516
+ " <th>rating</th>\n",
517
+ " <th>grape</th>\n",
518
+ " </tr>\n",
519
+ " </thead>\n",
520
+ " <tbody>\n",
521
+ " <tr>\n",
522
+ " <th>0</th>\n",
523
+ " <td>150301706</td>\n",
524
+ " <td>p/iVoa6qR6TSKjLeb1RoHWtQ.jpg</td>\n",
525
+ " <td>Ничего особого в нем не нашел. В меру сухое, в...</td>\n",
526
+ " <td>NaN</td>\n",
527
+ " <td>NaN</td>\n",
528
+ " <td>NaN</td>\n",
529
+ " <td>NaN</td>\n",
530
+ " <td>NaN</td>\n",
531
+ " <td>NaN</td>\n",
532
+ " <td>NaN</td>\n",
533
+ " <td>NaN</td>\n",
534
+ " <td>NaN</td>\n",
535
+ " </tr>\n",
536
+ " <tr>\n",
537
+ " <th>1</th>\n",
538
+ " <td>159555436</td>\n",
539
+ " <td>p/e2W_085qRbCQbZJVp_tzHA.jpg</td>\n",
540
+ " <td>NaN</td>\n",
541
+ " <td>NaN</td>\n",
542
+ " <td>NaN</td>\n",
543
+ " <td>NaN</td>\n",
544
+ " <td>NaN</td>\n",
545
+ " <td>NaN</td>\n",
546
+ " <td>NaN</td>\n",
547
+ " <td>NaN</td>\n",
548
+ " <td>NaN</td>\n",
549
+ " <td>NaN</td>\n",
550
+ " </tr>\n",
551
+ " <tr>\n",
552
+ " <th>2</th>\n",
553
+ " <td>146958680</td>\n",
554
+ " <td>p/DdLNo35SRiCMxpoKTiEXyQ.jpg</td>\n",
555
+ " <td>NaN</td>\n",
556
+ " <td>NaN</td>\n",
557
+ " <td>NaN</td>\n",
558
+ " <td>NaN</td>\n",
559
+ " <td>NaN</td>\n",
560
+ " <td>NaN</td>\n",
561
+ " <td>NaN</td>\n",
562
+ " <td>NaN</td>\n",
563
+ " <td>NaN</td>\n",
564
+ " <td>NaN</td>\n",
565
+ " </tr>\n",
566
+ " <tr>\n",
567
+ " <th>3</th>\n",
568
+ " <td>2014691</td>\n",
569
+ " <td>p/vi-1ygw7RXCM6Pnwx9C6CA.jpg</td>\n",
570
+ " <td>3,3/5. Белая Риоха. Бленд на основе виуры (75%...</td>\n",
571
+ " <td>NaN</td>\n",
572
+ " <td>NaN</td>\n",
573
+ " <td>NaN</td>\n",
574
+ " <td>NaN</td>\n",
575
+ " <td>NaN</td>\n",
576
+ " <td>NaN</td>\n",
577
+ " <td>NaN</td>\n",
578
+ " <td>NaN</td>\n",
579
+ " <td>NaN</td>\n",
580
+ " </tr>\n",
581
+ " <tr>\n",
582
+ " <th>4</th>\n",
583
+ " <td>153305559</td>\n",
584
+ " <td>p/1pjborIfR1Wdlr35jEHbtA.jpg</td>\n",
585
+ " <td>Parfum! Super frumos!</td>\n",
586
+ " <td>NaN</td>\n",
587
+ " <td>NaN</td>\n",
588
+ " <td>NaN</td>\n",
589
+ " <td>NaN</td>\n",
590
+ " <td>NaN</td>\n",
591
+ " <td>NaN</td>\n",
592
+ " <td>NaN</td>\n",
593
+ " <td>NaN</td>\n",
594
+ " <td>NaN</td>\n",
595
+ " </tr>\n",
596
+ " <tr>\n",
597
+ " <th>5</th>\n",
598
+ " <td>162913950</td>\n",
599
+ " <td>p/kDz5LBlFRz2wb61xaMj_Dw.jpg</td>\n",
600
+ " <td>Bom vinho</td>\n",
601
+ " <td>NaN</td>\n",
602
+ " <td>NaN</td>\n",
603
+ " <td>NaN</td>\n",
604
+ " <td>NaN</td>\n",
605
+ " <td>NaN</td>\n",
606
+ " <td>NaN</td>\n",
607
+ " <td>NaN</td>\n",
608
+ " <td>NaN</td>\n",
609
+ " <td>NaN</td>\n",
610
+ " </tr>\n",
611
+ " <tr>\n",
612
+ " <th>6</th>\n",
613
+ " <td>14230455</td>\n",
614
+ " <td>p/EJQLq-qLShSP-uf2Tg-G1g.jpg</td>\n",
615
+ " <td>NaN</td>\n",
616
+ " <td>NaN</td>\n",
617
+ " <td>NaN</td>\n",
618
+ " <td>NaN</td>\n",
619
+ " <td>NaN</td>\n",
620
+ " <td>NaN</td>\n",
621
+ " <td>NaN</td>\n",
622
+ " <td>NaN</td>\n",
623
+ " <td>NaN</td>\n",
624
+ " <td>NaN</td>\n",
625
+ " </tr>\n",
626
+ " <tr>\n",
627
+ " <th>7</th>\n",
628
+ " <td>159888939</td>\n",
629
+ " <td>p/MhhKQteWSXW0gYUNnvHs6A.jpg</td>\n",
630
+ " <td>V nice whitr</td>\n",
631
+ " <td>NaN</td>\n",
632
+ " <td>NaN</td>\n",
633
+ " <td>NaN</td>\n",
634
+ " <td>NaN</td>\n",
635
+ " <td>NaN</td>\n",
636
+ " <td>NaN</td>\n",
637
+ " <td>NaN</td>\n",
638
+ " <td>NaN</td>\n",
639
+ " <td>NaN</td>\n",
640
+ " </tr>\n",
641
+ " <tr>\n",
642
+ " <th>8</th>\n",
643
+ " <td>3261951</td>\n",
644
+ " <td>p/fdsdbl6XR2ynvoQnNYLXQQ.jpg</td>\n",
645
+ " <td>Great label and ok tasting. Not the best but n...</td>\n",
646
+ " <td>NaN</td>\n",
647
+ " <td>NaN</td>\n",
648
+ " <td>NaN</td>\n",
649
+ " <td>NaN</td>\n",
650
+ " <td>NaN</td>\n",
651
+ " <td>NaN</td>\n",
652
+ " <td>NaN</td>\n",
653
+ " <td>NaN</td>\n",
654
+ " <td>NaN</td>\n",
655
+ " </tr>\n",
656
+ " <tr>\n",
657
+ " <th>9</th>\n",
658
+ " <td>32363311</td>\n",
659
+ " <td>p/BQkoD9sXQi-EIk3e2cG-YA.jpg</td>\n",
660
+ " <td>NaN</td>\n",
661
+ " <td>NaN</td>\n",
662
+ " <td>NaN</td>\n",
663
+ " <td>NaN</td>\n",
664
+ " <td>NaN</td>\n",
665
+ " <td>NaN</td>\n",
666
+ " <td>NaN</td>\n",
667
+ " <td>NaN</td>\n",
668
+ " <td>NaN</td>\n",
669
+ " <td>NaN</td>\n",
670
+ " </tr>\n",
671
+ " </tbody>\n",
672
+ "</table>\n",
673
+ "</div>"
674
+ ],
675
+ "text/plain": [
676
+ " vintage_id image \\\n",
677
+ "0 150301706 p/iVoa6qR6TSKjLeb1RoHWtQ.jpg \n",
678
+ "1 159555436 p/e2W_085qRbCQbZJVp_tzHA.jpg \n",
679
+ "2 146958680 p/DdLNo35SRiCMxpoKTiEXyQ.jpg \n",
680
+ "3 2014691 p/vi-1ygw7RXCM6Pnwx9C6CA.jpg \n",
681
+ "4 153305559 p/1pjborIfR1Wdlr35jEHbtA.jpg \n",
682
+ "5 162913950 p/kDz5LBlFRz2wb61xaMj_Dw.jpg \n",
683
+ "6 14230455 p/EJQLq-qLShSP-uf2Tg-G1g.jpg \n",
684
+ "7 159888939 p/MhhKQteWSXW0gYUNnvHs6A.jpg \n",
685
+ "8 3261951 p/fdsdbl6XR2ynvoQnNYLXQQ.jpg \n",
686
+ "9 32363311 p/BQkoD9sXQi-EIk3e2cG-YA.jpg \n",
687
+ "\n",
688
+ " review experiment_id year \\\n",
689
+ "0 Ничего особого в нем не нашел. В меру сухое, в... NaN NaN \n",
690
+ "1 NaN NaN NaN \n",
691
+ "2 NaN NaN NaN \n",
692
+ "3 3,3/5. Белая Риоха. Бленд на основе виуры (75%... NaN NaN \n",
693
+ "4 Parfum! Super frumos! NaN NaN \n",
694
+ "5 Bom vinho NaN NaN \n",
695
+ "6 NaN NaN NaN \n",
696
+ "7 V nice whitr NaN NaN \n",
697
+ "8 Great label and ok tasting. Not the best but n... NaN NaN \n",
698
+ "9 NaN NaN NaN \n",
699
+ "\n",
700
+ " winery_id wine_alcohol country region price rating grape \n",
701
+ "0 NaN NaN NaN NaN NaN NaN NaN \n",
702
+ "1 NaN NaN NaN NaN NaN NaN NaN \n",
703
+ "2 NaN NaN NaN NaN NaN NaN NaN \n",
704
+ "3 NaN NaN NaN NaN NaN NaN NaN \n",
705
+ "4 NaN NaN NaN NaN NaN NaN NaN \n",
706
+ "5 NaN NaN NaN NaN NaN NaN NaN \n",
707
+ "6 NaN NaN NaN NaN NaN NaN NaN \n",
708
+ "7 NaN NaN NaN NaN NaN NaN NaN \n",
709
+ "8 NaN NaN NaN NaN NaN NaN NaN \n",
710
+ "9 NaN NaN NaN NaN NaN NaN NaN "
711
+ ]
712
+ },
713
+ "execution_count": 11,
714
+ "metadata": {},
715
+ "output_type": "execute_result"
716
+ }
717
+ ],
718
+ "source": [
719
+ "df_image_review_attributes.head(10)"
720
+ ]
721
+ },
722
+ {
723
+ "cell_type": "code",
724
+ "execution_count": 12,
725
+ "metadata": {},
726
+ "outputs": [],
727
+ "source": [
728
+ "import json"
729
+ ]
730
+ },
731
+ {
732
+ "cell_type": "markdown",
733
+ "metadata": {},
734
+ "source": [
735
+ "## ALL"
736
+ ]
737
+ },
738
+ {
739
+ "cell_type": "code",
740
+ "execution_count": 17,
741
+ "metadata": {},
742
+ "outputs": [],
743
+ "source": [
744
+ "pd.DataFrame([item.replace('p/', '') for item in df_image_review_attributes.image if item is not None]).\\\n",
745
+ " to_csv('../data/csv/all.csv', index=False)"
746
+ ]
747
+ },
748
+ {
749
+ "cell_type": "markdown",
750
+ "metadata": {},
751
+ "source": [
752
+ "## SMALL"
753
+ ]
754
+ },
755
+ {
756
+ "cell_type": "code",
757
+ "execution_count": 13,
758
+ "metadata": {},
759
+ "outputs": [],
760
+ "source": [
761
+ "# read small_dataset.jsonl \n",
762
+ "with open('../data/small/small_dataset.jsonl') as json_file:\n",
763
+ " data = json_file.readlines()\n",
764
+ " data = [json.loads(line) for line in data] # convert string to dict format\n",
765
+ "\n",
766
+ "import pandas as pd\n",
767
+ "small_df = pd.DataFrame(data)\n",
768
+ "\n",
769
+ "\n",
770
+ "# write the image column to a csv file\n",
771
+ "pd.DataFrame([item.replace('p/', '') for item in small_df.image if item is not None]).\\\n",
772
+ " to_csv('../data/csv/small_images.csv', index=False)\n",
773
+ " "
774
+ ]
775
+ },
776
+ {
777
+ "cell_type": "markdown",
778
+ "metadata": {},
779
+ "source": [
780
+ "## WT_SESSION"
781
+ ]
782
+ },
783
+ {
784
+ "cell_type": "code",
785
+ "execution_count": 13,
786
+ "metadata": {},
787
+ "outputs": [],
788
+ "source": [
789
+ "# read small_dataset.jsonl \n",
790
+ "with open('../data/jsonl/wt_session.jsonl') as json_file:\n",
791
+ " data = json_file.readlines()\n",
792
+ " data = [json.loads(line) for line in data] # convert string to dict format\n",
793
+ "\n",
794
+ "import pandas as pd\n",
795
+ "small_df = pd.DataFrame(data)\n",
796
+ "\n",
797
+ "# write the image column to a csv file\n",
798
+ "pd.DataFrame([item.replace('p/', '') for item in small_df.image if item is not None]).\\\n",
799
+ " to_csv('../data/csv/wt_session.jsonl_images.csv', index=False)\n",
800
+ " "
801
+ ]
802
+ },
803
+ {
804
+ "cell_type": "code",
805
+ "execution_count": 18,
806
+ "metadata": {},
807
+ "outputs": [],
808
+ "source": [
809
+ "# read small_dataset.jsonl \n",
810
+ "with open('../data/jsonl/wt_session.jsonl') as json_file:\n",
811
+ " data = json_file.readlines()\n",
812
+ " data = [json.loads(line) for line in data] # convert string to dict format\n",
813
+ "\n",
814
+ "import pandas as pd\n",
815
+ "wt_session = pd.DataFrame(data)\n"
816
+ ]
817
+ },
818
+ {
819
+ "cell_type": "code",
820
+ "execution_count": 19,
821
+ "metadata": {},
822
+ "outputs": [],
823
+ "source": [
824
+ "# drop rows on image column if they are null\n",
825
+ "wt_session_no_nall = wt_session.dropna(subset=['image'])"
826
+ ]
827
+ },
828
+ {
829
+ "cell_type": "code",
830
+ "execution_count": 20,
831
+ "metadata": {},
832
+ "outputs": [
833
+ {
834
+ "data": {
835
+ "text/plain": [
836
+ "(45339, 12)"
837
+ ]
838
+ },
839
+ "execution_count": 20,
840
+ "metadata": {},
841
+ "output_type": "execute_result"
842
+ }
843
+ ],
844
+ "source": [
845
+ "wt_session_no_nall.shape"
846
+ ]
847
+ },
848
+ {
849
+ "cell_type": "code",
850
+ "execution_count": 21,
851
+ "metadata": {},
852
+ "outputs": [],
853
+ "source": [
854
+ "# convert small_df_no_nall into jsonl format\n",
855
+ "write_jsonl(wt_session_no_nall, '../data/wt_session/wt_session_no_null.jsonl')"
856
+ ]
857
+ },
858
+ {
859
+ "cell_type": "code",
860
+ "execution_count": 27,
861
+ "metadata": {},
862
+ "outputs": [],
863
+ "source": [
864
+ "pd.DataFrame([item.replace('p/', '') for item in wt_session_no_nall.image])[0].to_csv('../data/wt_session/wt_session_no_null_images.list', index=False)"
865
+ ]
866
+ },
867
+ {
868
+ "cell_type": "code",
869
+ "execution_count": null,
870
+ "metadata": {},
871
+ "outputs": [],
872
+ "source": []
873
+ }
874
+ ],
875
+ "metadata": {
876
+ "kernelspec": {
877
+ "display_name": "litegrave",
878
+ "language": "python",
879
+ "name": "python3"
880
+ },
881
+ "language_info": {
882
+ "codemirror_mode": {
883
+ "name": "ipython",
884
+ "version": 3
885
+ },
886
+ "file_extension": ".py",
887
+ "mimetype": "text/x-python",
888
+ "name": "python",
889
+ "nbconvert_exporter": "python",
890
+ "pygments_lexer": "ipython3",
891
+ "version": "3.10.5"
892
+ },
893
+ "orig_nbformat": 4
894
+ },
895
+ "nbformat": 4,
896
+ "nbformat_minor": 2
897
+ }
code/test.ipynb ADDED
The diff for this file is too large to render. See raw diff
 
data/.DS_Store ADDED
Binary file (10.2 kB). View file
 
data/all/.DS_Store ADDED
Binary file (6.15 kB). View file
 
data/all/all.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:80be08379db6e76d804baede82b5aa5b7325661a028a3b0384bb7a72fb2f9dee
3
+ size 35409352118
data/csv/.DS_Store ADDED
Binary file (6.15 kB). View file
 
data/csv/napping.csv ADDED
The diff for this file is too large to render. See raw diff
 
data/csv/participants.csv ADDED
@@ -0,0 +1,569 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ event_name;session_round_name;experiment_no;round_id;participant_id
2
+ experiment_vivino_31_03;round_1_images;0;1;254
3
+ experiment_vivino_31_03;round_1_images;1;1;246
4
+ experiment_vivino_31_03;round_1_images;2;3;246
5
+ experiment_vivino_31_03;round_1_images;3;3;249
6
+ experiment_vivino_31_03;round_1_images;4;2;251
7
+ experiment_vivino_31_03;round_1_images;5;1;253
8
+ experiment_vivino_31_03;round_1_images;6;2;250
9
+ experiment_vivino_31_03;round_1_images;7;2;252
10
+ experiment_vivino_31_03;round_1_images;8;2;253
11
+ experiment_vivino_31_03;round_1_images;9;1;247
12
+ experiment_vivino_31_03;round_1_images;10;2;246
13
+ experiment_vivino_31_03;round_1_images;11;1;255
14
+ experiment_vivino_31_03;round_1_images;12;2;249
15
+ experiment_vivino_31_03;round_1_images;13;1;250
16
+ experiment_vivino_31_03;round_1_images;14;1;252
17
+ experiment_vivino_31_03;round_1_images;15;2;254
18
+ experiment_vivino_31_03;round_1_images;16;2;248
19
+ experiment_vivino_31_03;round_1_images;17;1;249
20
+ experiment_vivino_31_03;round_1_images;18;1;256
21
+ experiment_vivino_31_03;round_1_images;19;3;253
22
+ experiment_vivino_31_03;round_1_images;20;3;250
23
+ experiment_vivino_31_03;round_1_images;21;1;248
24
+ experiment_vivino_31_03;round_1_images;22;2;247
25
+ experiment_vivino_31_03;round_1_images;23;1;251
26
+ experiment_vivino_31_03;round_1_images;24;3;247
27
+ experiment_dtu_13_03;round_1_images;0;3;1
28
+ experiment_dtu_13_03;round_1_images;1;2;3
29
+ experiment_dtu_13_03;round_1_images;2;2;6
30
+ experiment_dtu_13_03;round_1_images;3;3;4
31
+ experiment_dtu_13_03;round_1_images;4;2;4
32
+ experiment_dtu_13_03;round_1_images;5;3;6
33
+ experiment_dtu_13_03;round_1_images;6;2;1
34
+ experiment_dtu_13_03;round_1_images;7;1;5
35
+ experiment_dtu_13_03;round_1_images;8;1;1
36
+ experiment_dtu_13_03;round_1_images;9;2;5
37
+ experiment_dtu_13_03;round_1_images;10;1;6
38
+ experiment_dtu_13_03;round_1_images;11;3;2
39
+ experiment_dtu_13_03;round_1_images;12;2;2
40
+ experiment_dtu_13_03;round_1_images;13;2;3
41
+ experiment_dtu_13_03;round_1_images;14;3;7
42
+ experiment_dtu_13_03;round_1_images;15;3;3
43
+ experiment_dtu_13_03;round_1_images;16;1;4
44
+ experiment_dtu_13_03;round_1_images;17;1;3
45
+ experiment_dtu_13_03;round_1_images;18;3;5
46
+ experiment_dtu_13_03;round_2_images;0;2;13
47
+ experiment_dtu_13_03;round_2_images;1;1;17
48
+ experiment_dtu_13_03;round_2_images;2;2;11
49
+ experiment_dtu_13_03;round_2_images;3;3;14
50
+ experiment_dtu_13_03;round_2_images;4;2;9
51
+ experiment_dtu_13_03;round_2_images;5;2;29
52
+ experiment_dtu_13_03;round_2_images;6;1;26
53
+ experiment_dtu_13_03;round_2_images;7;1;23
54
+ experiment_dtu_13_03;round_2_images;8;2;10
55
+ experiment_dtu_13_03;round_2_images;9;2;21
56
+ experiment_dtu_13_03;round_2_images;10;1;18
57
+ experiment_dtu_13_03;round_2_images;11;1;28
58
+ experiment_dtu_13_03;round_2_images;12;2;17
59
+ experiment_dtu_13_03;round_2_images;13;3;17
60
+ experiment_dtu_13_03;round_2_images;14;2;8
61
+ experiment_dtu_13_03;round_2_images;15;1;33
62
+ experiment_dtu_13_03;round_2_images;16;2;16
63
+ experiment_dtu_13_03;round_2_images;17;1;15
64
+ experiment_dtu_13_03;round_2_images;18;1;8
65
+ experiment_dtu_13_03;round_2_images;19;1;24
66
+ experiment_dtu_13_03;round_2_images;20;2;12
67
+ experiment_dtu_13_03;round_2_images;21;2;14
68
+ experiment_dtu_13_03;round_2_images;22;3;8
69
+ experiment_dtu_13_03;round_2_images;23;2;23
70
+ experiment_dtu_13_03;round_2_images;24;1;19
71
+ experiment_dtu_13_03;round_2_images;25;1;20
72
+ experiment_dtu_13_03;round_2_images;26;3;22
73
+ experiment_dtu_13_03;round_2_images;27;1;11
74
+ experiment_dtu_13_03;round_2_images;28;1;35
75
+ experiment_dtu_13_03;round_2_images;29;1;29
76
+ experiment_dtu_13_03;round_2_images;30;2;15
77
+ experiment_dtu_13_03;round_2_images;31;2;30
78
+ experiment_dtu_13_03;round_2_images;32;1;10
79
+ experiment_dtu_13_03;round_2_images;33;2;18
80
+ experiment_dtu_13_03;round_2_images;34;3;16
81
+ experiment_dtu_13_03;round_2_images;35;3;30
82
+ experiment_dtu_13_03;round_2_images;36;3;29
83
+ experiment_dtu_13_03;round_2_images;37;3;27
84
+ experiment_dtu_13_03;round_2_images;38;2;28
85
+ experiment_dtu_13_03;round_2_images;39;1;9
86
+ experiment_dtu_13_03;round_2_images;40;1;21
87
+ experiment_dtu_13_03;round_2_images;41;2;25
88
+ experiment_dtu_13_03;round_2_images;42;1;14
89
+ experiment_dtu_13_03;round_2_images;43;2;34
90
+ experiment_dtu_13_03;round_2_images;44;2;19
91
+ experiment_dtu_13_03;round_2_images;45;1;30
92
+ experiment_dtu_13_03;round_2_images;46;1;12
93
+ experiment_dtu_13_03;round_2_images;47;1;13
94
+ experiment_dtu_13_03;round_2_images;48;2;32
95
+ experiment_dtu_13_03;round_2_images;49;1;3
96
+ experiment_dtu_13_03;round_2_images;50;1;32
97
+ experiment_dtu_13_03;round_2_images;51;3;12
98
+ experiment_dtu_13_03;round_2_images;52;2;33
99
+ experiment_dtu_13_03;round_2_images;53;1;27
100
+ experiment_dtu_13_03;round_2_images;54;1;34
101
+ experiment_dtu_13_03;round_2_images;55;2;22
102
+ experiment_dtu_13_03;round_2_images;56;3;23
103
+ experiment_dtu_13_03;round_2_images;57;1;25
104
+ experiment_dtu_13_03;round_2_images;58;2;27
105
+ experiment_dtu_13_03;round_2_images;59;1;16
106
+ experiment_dtu_13_03;round_2_images;60;1;22
107
+ experiment_dtu_13_03;round_2_images;61;2;35
108
+ experiment_dtu_20_03;round_1_images;0;1;138
109
+ experiment_dtu_20_03;round_1_images;1;2;135
110
+ experiment_dtu_20_03;round_1_images;2;2;127
111
+ experiment_dtu_20_03;round_1_images;3;3;140
112
+ experiment_dtu_20_03;round_1_images;4;3;139
113
+ experiment_dtu_20_03;round_1_images;5;1;129
114
+ experiment_dtu_20_03;round_1_images;6;2;132
115
+ experiment_dtu_20_03;round_1_images;7;1;140
116
+ experiment_dtu_20_03;round_1_images;8;1;137
117
+ experiment_dtu_20_03;round_1_images;9;1;132
118
+ experiment_dtu_20_03;round_1_images;10;1;127
119
+ experiment_dtu_20_03;round_1_images;11;1;130
120
+ experiment_dtu_20_03;round_1_images;12;1;133
121
+ experiment_dtu_20_03;round_1_images;13;3;137
122
+ experiment_dtu_20_03;round_1_images;14;1;139
123
+ experiment_dtu_20_03;round_1_images;15;1;134
124
+ experiment_dtu_20_03;round_1_images;16;3;133
125
+ experiment_dtu_20_03;round_1_images;17;1;136
126
+ experiment_dtu_20_03;round_1_images;18;1;135
127
+ experiment_dtu_20_03;round_1_images;19;2;134
128
+ experiment_dtu_20_03;round_1_images;20;3;154
129
+ experiment_dtu_20_03;round_1_images;21;2;140
130
+ experiment_dtu_20_03;round_1_images;22;2;129
131
+ experiment_dtu_20_03;round_1_images;23;2;133
132
+ experiment_dtu_20_03;round_1_images;24;2;139
133
+ experiment_dtu_20_03;round_1_images;25;2;131
134
+ experiment_dtu_20_03;round_1_images;26;1;128
135
+ experiment_dtu_20_03;round_1_images;27;2;128
136
+ experiment_dtu_20_03;round_1_images;28;1;131
137
+ experiment_dtu_20_03;round_1_images;29;2;137
138
+ experiment_dtu_20_03;round_1_images;30;2;138
139
+ experiment_dtu_20_03;round_2_images;0;1;151
140
+ experiment_dtu_20_03;round_2_images;1;2;157
141
+ experiment_dtu_20_03;round_2_images;2;2;169
142
+ experiment_dtu_20_03;round_2_images;3;1;159
143
+ experiment_dtu_20_03;round_2_images;4;3;147
144
+ experiment_dtu_20_03;round_2_images;5;3;162
145
+ experiment_dtu_20_03;round_2_images;6;3;152
146
+ experiment_dtu_20_03;round_2_images;7;3;168
147
+ experiment_dtu_20_03;round_2_images;8;1;171
148
+ experiment_dtu_20_03;round_2_images;9;1;153
149
+ experiment_dtu_20_03;round_2_images;10;1;154
150
+ experiment_dtu_20_03;round_2_images;11;1;173
151
+ experiment_dtu_20_03;round_2_images;12;3;146
152
+ experiment_dtu_20_03;round_2_images;13;1;172
153
+ experiment_dtu_20_03;round_2_images;14;1;176
154
+ experiment_dtu_20_03;round_2_images;15;2;153
155
+ experiment_dtu_20_03;round_2_images;16;3;170
156
+ experiment_dtu_20_03;round_2_images;17;1;147
157
+ experiment_dtu_20_03;round_2_images;18;1;152
158
+ experiment_dtu_20_03;round_2_images;19;2;167
159
+ experiment_dtu_20_03;round_2_images;20;1;167
160
+ experiment_dtu_20_03;round_2_images;21;2;173
161
+ experiment_dtu_20_03;round_2_images;22;3;161
162
+ experiment_dtu_20_03;round_2_images;23;3;160
163
+ experiment_dtu_20_03;round_2_images;24;2;162
164
+ experiment_dtu_20_03;round_2_images;25;1;170
165
+ experiment_dtu_20_03;round_2_images;26;2;142
166
+ experiment_dtu_20_03;round_2_images;27;2;166
167
+ experiment_dtu_20_03;round_2_images;28;1;164
168
+ experiment_dtu_20_03;round_2_images;29;1;163
169
+ experiment_dtu_20_03;round_2_images;30;1;149
170
+ experiment_dtu_20_03;round_2_images;31;2;147
171
+ experiment_dtu_20_03;round_2_images;32;1;168
172
+ experiment_dtu_20_03;round_2_images;33;2;152
173
+ experiment_dtu_20_03;round_2_images;34;3;159
174
+ experiment_dtu_20_03;round_2_images;35;3;167
175
+ experiment_dtu_20_03;round_2_images;36;2;176
176
+ experiment_dtu_20_03;round_2_images;37;1;146
177
+ experiment_dtu_20_03;round_2_images;38;1;174
178
+ experiment_dtu_20_03;round_2_images;39;3;153
179
+ experiment_dtu_20_03;round_2_images;40;1;158
180
+ experiment_dtu_20_03;round_2_images;41;3;165
181
+ experiment_dtu_20_03;round_2_images;42;2;141
182
+ experiment_dtu_20_03;round_2_images;43;1;161
183
+ experiment_dtu_20_03;round_2_images;44;2;145
184
+ experiment_dtu_20_03;round_2_images;45;2;160
185
+ experiment_dtu_20_03;round_2_images;46;3;157
186
+ experiment_dtu_20_03;round_2_images;47;3;158
187
+ experiment_dtu_20_03;round_2_images;48;1;165
188
+ experiment_dtu_20_03;round_2_images;49;1;148
189
+ experiment_dtu_20_03;round_2_images;50;1;160
190
+ experiment_dtu_20_03;round_2_images;51;1;169
191
+ experiment_dtu_20_03;round_2_images;52;2;154
192
+ experiment_dtu_20_03;round_2_images;53;2;161
193
+ experiment_dtu_20_03;round_2_images;54;3;154
194
+ experiment_dtu_20_03;round_2_images;55;1;166
195
+ experiment_dtu_20_03;round_2_images;56;2;175
196
+ experiment_dtu_20_03;round_2_images;57;2;149
197
+ experiment_dtu_20_03;round_2_images;58;1;155
198
+ experiment_dtu_20_03;round_2_images;59;2;174
199
+ experiment_dtu_20_03;round_2_images;60;1;162
200
+ experiment_dtu_20_03;round_2_images;61;1;144
201
+ experiment_dtu_20_03;round_2_images;62;2;156
202
+ experiment_dtu_20_03;round_2_images;63;2;146
203
+ experiment_dtu_20_03;round_2_images;64;1;146
204
+ experiment_dtu_20_03;round_2_images;65;1;157
205
+ experiment_dtu_20_03;round_2_images;66;1;143
206
+ experiment_dtu_20_03;round_2_images;67;1;141
207
+ experiment_dtu_20_03;round_2_images;68;1;150
208
+ experiment_dtu_20_03;round_2_images;69;3;169
209
+ experiment_dtu_20_03;round_2_images;70;3;135
210
+ experiment_dtu_20_03;round_2_images;71;2;168
211
+ experiment_dtu_20_03;round_2_images;72;2;159
212
+ experiment_dtu_20_03;round_2_images;73;NA;NA
213
+ experiment_dtu_20_03;round_2_images;74;2;156
214
+ experiment_dtu_20_03;round_2_images;75;1;145
215
+ experiment_dtu_20_03;round_2_images;76;2;155
216
+ experiment_dtu_20_03;round_2_images;77;2;158
217
+ experiment_dtu_20_03;round_2_images;78;2;170
218
+ experiment_dtu_20_03;round_2_images;79;1;156
219
+ experiment_dtu_20_03;round_2_images;80;1;142
220
+ experiment_dtu_14_03;round_1_images;0;1;36
221
+ experiment_dtu_14_03;round_1_images;1;2;37
222
+ experiment_dtu_14_03;round_1_images;2;1;46
223
+ experiment_dtu_14_03;round_1_images;3;1;41
224
+ experiment_dtu_14_03;round_1_images;4;1;38
225
+ experiment_dtu_14_03;round_1_images;5;1;45
226
+ experiment_dtu_14_03;round_1_images;6;1;40
227
+ experiment_dtu_14_03;round_1_images;7;3;43
228
+ experiment_dtu_14_03;round_1_images;8;2;43
229
+ experiment_dtu_14_03;round_1_images;9;2;37
230
+ experiment_dtu_14_03;round_1_images;10;1;43
231
+ experiment_dtu_14_03;round_1_images;11;1;44
232
+ experiment_dtu_14_03;round_1_images;12;2;44
233
+ experiment_dtu_14_03;round_1_images;13;2;36
234
+ experiment_dtu_14_03;round_1_images;14;1;39
235
+ experiment_dtu_14_03;round_1_images;15;3;37
236
+ experiment_dtu_14_03;round_2_images;0;1;68
237
+ experiment_dtu_14_03;round_2_images;1;2;72
238
+ experiment_dtu_14_03;round_2_images;2;1;65
239
+ experiment_dtu_14_03;round_2_images;3;3;65
240
+ experiment_dtu_14_03;round_2_images;4;3;53
241
+ experiment_dtu_14_03;round_2_images;5;2;50
242
+ experiment_dtu_14_03;round_2_images;6;1;59
243
+ experiment_dtu_14_03;round_2_images;7;3;48
244
+ experiment_dtu_14_03;round_2_images;8;3;71
245
+ experiment_dtu_14_03;round_2_images;9;1;62
246
+ experiment_dtu_14_03;round_2_images;10;2;57
247
+ experiment_dtu_14_03;round_2_images;11;1;61
248
+ experiment_dtu_14_03;round_2_images;12;3;62
249
+ experiment_dtu_14_03;round_2_images;13;2;52
250
+ experiment_dtu_14_03;round_2_images;14;1;57
251
+ experiment_dtu_14_03;round_2_images;15;2;58
252
+ experiment_dtu_14_03;round_2_images;16;1;66
253
+ experiment_dtu_14_03;round_2_images;17;2;73
254
+ experiment_dtu_14_03;round_2_images;18;3;54
255
+ experiment_dtu_14_03;round_2_images;19;1;70
256
+ experiment_dtu_14_03;round_2_images;20;1;47
257
+ experiment_dtu_14_03;round_2_images;21;2;62
258
+ experiment_dtu_14_03;round_2_images;22;-;-
259
+ experiment_dtu_14_03;round_2_images;23;1;151
260
+ experiment_dtu_14_03;round_2_images;24;2;53
261
+ experiment_dtu_14_03;round_2_images;25;3;50
262
+ experiment_dtu_14_03;round_2_images;26;3;57
263
+ experiment_dtu_14_03;round_2_images;27;2;54
264
+ experiment_dtu_14_03;round_2_images;28;3;60
265
+ experiment_dtu_14_03;round_2_images;29;2;48
266
+ experiment_dtu_14_03;round_2_images;30;1;48
267
+ experiment_dtu_14_03;round_2_images;31;1;63
268
+ experiment_dtu_14_03;round_2_images;32;1;58
269
+ experiment_dtu_14_03;round_2_images;33;1;72
270
+ experiment_dtu_14_03;round_2_images;34;2;63
271
+ experiment_dtu_14_03;round_2_images;35;3;58
272
+ experiment_dtu_14_03;round_2_images;36;3;49
273
+ experiment_dtu_14_03;round_2_images;37;2;59
274
+ experiment_dtu_14_03;round_2_images;38;2;69
275
+ experiment_dtu_14_03;round_2_images;39;1;52
276
+ experiment_dtu_14_03;round_2_images;40;1;56
277
+ experiment_dtu_14_03;round_2_images;41;2;67
278
+ experiment_dtu_14_03;round_2_images;42;1;49
279
+ experiment_dtu_14_03;round_2_images;43;3;55
280
+ experiment_dtu_14_03;round_2_images;44;2;66
281
+ experiment_dtu_14_03;round_2_images;45;2;55
282
+ experiment_dtu_14_03;round_2_images;46;2;65
283
+ experiment_dtu_14_03;round_2_images;47;1;50
284
+ experiment_dtu_14_03;round_2_images;48;1;54
285
+ experiment_dtu_14_03;round_2_images;49;1;69
286
+ experiment_dtu_14_03;round_2_images;50;2;71
287
+ experiment_dtu_14_03;round_2_images;51;1;71
288
+ experiment_dtu_14_03;round_2_images;52;2;61
289
+ experiment_dtu_14_03;round_2_images;53;-;-
290
+ experiment_dtu_14_03;round_2_images;54;2;51
291
+ experiment_dtu_14_03;round_2_images;55;2;47
292
+ experiment_dtu_14_03;round_2_images;56;3;59
293
+ experiment_dtu_14_03;round_2_images;57;2;60
294
+ experiment_dtu_14_03;round_2_images;58;2;70
295
+ experiment_dtu_14_03;round_2_images;59;1;60
296
+ experiment_dtu_14_03;round_2_images;60;2;56
297
+ experiment_dtu_14_03;round_2_images;61;1;55
298
+ experiment_dtu_14_03;round_2_images;62;1;67
299
+ experiment_dtu_14_03;round_2_images;63;1;73
300
+ experiment_dtu_14_03;round_2_images;64;3;61
301
+ experiment_dtu_14_03;round_2_images;65;2;49
302
+ experiment_dtu_14_03;round_2_images;66;3;47
303
+ experiment_dtu_14_03;round_2_images;67;3;63
304
+ experiment_dtu_14_03;round_2_images;68;1;53
305
+ experiment_pioneer_centre_23rd;round_3_images;0;2;234
306
+ experiment_pioneer_centre_23rd;round_3_images;1;3;245
307
+ experiment_pioneer_centre_23rd;round_3_images;2;2;233
308
+ experiment_pioneer_centre_23rd;round_3_images;3;1;231
309
+ experiment_pioneer_centre_23rd;round_3_images;4;1;233
310
+ experiment_pioneer_centre_23rd;round_3_images;5;2;244
311
+ experiment_pioneer_centre_23rd;round_3_images;6;1;238
312
+ experiment_pioneer_centre_23rd;round_3_images;7;1;245
313
+ experiment_pioneer_centre_23rd;round_3_images;8;1;234
314
+ experiment_pioneer_centre_23rd;round_3_images;9;3;243
315
+ experiment_pioneer_centre_23rd;round_3_images;10;1;235
316
+ experiment_pioneer_centre_23rd;round_3_images;11;1;237
317
+ experiment_pioneer_centre_23rd;round_3_images;12;1;233
318
+ experiment_pioneer_centre_23rd;round_3_images;13;1;236
319
+ experiment_pioneer_centre_23rd;round_3_images;14;3;242
320
+ experiment_pioneer_centre_23rd;round_3_images;15;1;241
321
+ experiment_pioneer_centre_23rd;round_3_images;16;2;239
322
+ experiment_pioneer_centre_23rd;round_3_images;17;3;241
323
+ experiment_pioneer_centre_23rd;round_3_images;18;1;243
324
+ experiment_pioneer_centre_23rd;round_3_images;19;2;238
325
+ experiment_pioneer_centre_23rd;round_3_images;20;2;244
326
+ experiment_pioneer_centre_23rd;round_3_images;21;2;243
327
+ experiment_pioneer_centre_23rd;round_3_images;22;1;242
328
+ experiment_pioneer_centre_23rd;round_3_images;23;3;239
329
+ experiment_pioneer_centre_23rd;round_3_images;24;2;237
330
+ experiment_pioneer_centre_23rd;round_3_images;25;2;242
331
+ experiment_pioneer_centre_23rd;round_3_images;26;1;240
332
+ experiment_pioneer_centre_23rd;round_3_images;27;2;241
333
+ experiment_pioneer_centre_23rd;round_3_images;28;2;231
334
+ experiment_pioneer_centre_23rd;round_3_images;29;2;245
335
+ experiment_pioneer_centre_23rd;round_3_images;30;1;244
336
+ experiment_pioneer_centre_23rd;round_3_images;31;1;239
337
+ experiment_pioneer_centre_23rd;round_3_images;32;2;232
338
+ experiment_pioneer_centre_23rd;round_3_images;33;2;240
339
+ experiment_pioneer_centre_23rd;round_1_images;0;1;204
340
+ experiment_pioneer_centre_23rd;round_1_images;1;1;2114
341
+ experiment_pioneer_centre_23rd;round_1_images;2;2;204
342
+ experiment_pioneer_centre_23rd;round_1_images;3;1;205
343
+ experiment_pioneer_centre_23rd;round_1_images;4;2;214
344
+ experiment_pioneer_centre_23rd;round_2_images;0;1;228
345
+ experiment_pioneer_centre_23rd;round_2_images;1;1;215
346
+ experiment_pioneer_centre_23rd;round_2_images;2;1;209
347
+ experiment_pioneer_centre_23rd;round_2_images;3;1;225
348
+ experiment_pioneer_centre_23rd;round_2_images;4;1;255
349
+ experiment_pioneer_centre_23rd;round_2_images;5;1;210
350
+ experiment_pioneer_centre_23rd;round_2_images;6;1;216
351
+ experiment_pioneer_centre_23rd;round_2_images;7;1;223
352
+ experiment_pioneer_centre_23rd;round_2_images;8;1;213
353
+ experiment_pioneer_centre_23rd;round_2_images;9;1;212
354
+ experiment_pioneer_centre_23rd;round_2_images;10;1;217
355
+ experiment_pioneer_centre_23rd;round_2_images;11;1;221
356
+ experiment_pioneer_centre_23rd;round_2_images;12;2;207
357
+ experiment_pioneer_centre_23rd;round_2_images;13;1;209
358
+ experiment_pioneer_centre_23rd;round_2_images;14;1;220
359
+ experiment_pioneer_centre_23rd;round_2_images;15;1;219
360
+ experiment_pioneer_centre_23rd;round_2_images;16;1;226
361
+ experiment_pioneer_centre_23rd;round_2_images;17;2;221
362
+ experiment_pioneer_centre_23rd;round_2_images;18;3;219
363
+ experiment_pioneer_centre_23rd;round_2_images;19;1;222
364
+ experiment_pioneer_centre_23rd;round_2_images;20;1;227
365
+ experiment_pioneer_centre_23rd;round_2_images;21;1;220
366
+ experiment_pioneer_centre_23rd;round_2_images;22;1;229
367
+ experiment_pioneer_centre_23rd;round_2_images;23;1;230
368
+ experiment_pioneer_centre_23rd;round_2_images;24;2;222
369
+ experiment_pioneer_centre_23rd;round_2_images;25;2;211
370
+ experiment_pioneer_centre_23rd;round_2_images;26;3;220
371
+ experiment_pioneer_centre_23rd;round_2_images;27;1;225
372
+ experiment_pioneer_centre_23rd;round_2_images;28;2;223
373
+ experiment_pioneer_centre_23rd;round_2_images;29;2;219
374
+ experiment_pioneer_centre_23rd;round_2_images;30;3;221
375
+ experiment_pioneer_centre_23rd;round_2_images;31;2;209
376
+ experiment_pioneer_centre_23rd;round_2_images;32;1;211
377
+ experiment_pioneer_centre_23rd;round_2_images;33;1;207
378
+ experiment_pioneer_centre_23rd;round_2_images;34;1;206
379
+ experiment_pioneer_centre_23rd;round_2_images;35;1;218
380
+ experiment_dtu_21_03;round_1_images;0;1;179
381
+ experiment_dtu_21_03;round_1_images;1;2;177
382
+ experiment_dtu_21_03;round_1_images;2;1;180
383
+ experiment_dtu_21_03;round_1_images;3;2;178
384
+ experiment_dtu_21_03;round_1_images;4;3;178
385
+ experiment_dtu_21_03;round_1_images;5;1;178
386
+ experiment_dtu_21_03;round_1_images;6;2;179
387
+ experiment_dtu_21_03;round_1_images;7;3;177
388
+ experiment_dtu_21_03;round_1_images;8;1;177
389
+ experiment_dtu_21_03;round_2_images;0;1;190
390
+ experiment_dtu_21_03;round_2_images;1;1;202
391
+ experiment_dtu_21_03;round_2_images;2;3;181
392
+ experiment_dtu_21_03;round_2_images;3;2;181
393
+ experiment_dtu_21_03;round_2_images;4;1;184
394
+ experiment_dtu_21_03;round_2_images;5;2;188
395
+ experiment_dtu_21_03;round_2_images;6;3;190
396
+ experiment_dtu_21_03;round_2_images;7;2;198
397
+ experiment_dtu_21_03;round_2_images;8;3;201
398
+ experiment_dtu_21_03;round_2_images;9;2;195
399
+ experiment_dtu_21_03;round_2_images;10;3;191
400
+ experiment_dtu_21_03;round_2_images;11;2;199
401
+ experiment_dtu_21_03;round_2_images;12;3;200
402
+ experiment_dtu_21_03;round_2_images;13;3;182
403
+ experiment_dtu_21_03;round_2_images;14;1;199
404
+ experiment_dtu_21_03;round_2_images;15;2;197
405
+ experiment_dtu_21_03;round_2_images;16;1;194
406
+ experiment_dtu_21_03;round_2_images;17;1;186
407
+ experiment_dtu_21_03;round_2_images;18;1;189
408
+ experiment_dtu_21_03;round_2_images;19;2;182
409
+ experiment_dtu_21_03;round_2_images;20;3;192
410
+ experiment_dtu_21_03;round_2_images;21;3;189
411
+ experiment_dtu_21_03;round_2_images;22;2;199
412
+ experiment_dtu_21_03;round_2_images;23;2;198
413
+ experiment_dtu_21_03;round_2_images;24;1;200
414
+ experiment_dtu_21_03;round_2_images;25;2;190
415
+ experiment_dtu_21_03;round_2_images;26;1;182
416
+ experiment_dtu_21_03;round_2_images;27;2;191
417
+ experiment_dtu_21_03;round_2_images;28;2;186
418
+ experiment_dtu_21_03;round_2_images;29;3;185
419
+ experiment_dtu_21_03;round_2_images;30;3;193
420
+ experiment_dtu_21_03;round_2_images;31;-;-
421
+ experiment_dtu_21_03;round_2_images;32;1;181
422
+ experiment_dtu_21_03;round_2_images;33;2;189
423
+ experiment_dtu_21_03;round_2_images;34;1;197
424
+ experiment_dtu_21_03;round_2_images;35;3;197
425
+ experiment_dtu_21_03;round_2_images;36;3;199
426
+ experiment_dtu_21_03;round_2_images;37;2;202
427
+ experiment_dtu_21_03;round_2_images;38;1;195
428
+ experiment_dtu_21_03;round_2_images;39;3;186
429
+ experiment_dtu_21_03;round_2_images;40;1;188
430
+ experiment_dtu_21_03;round_2_images;41;1;201
431
+ experiment_dtu_21_03;round_2_images;42;1;196
432
+ experiment_dtu_21_03;round_2_images;43;1;185
433
+ experiment_dtu_21_03;round_2_images;44;3;202
434
+ experiment_dtu_21_03;round_2_images;45;1;187
435
+ experiment_dtu_21_03;round_2_images;46;1;183
436
+ experiment_dtu_21_03;round_2_images;47;1;193
437
+ experiment_dtu_21_03;round_2_images;48;1;203
438
+ experiment_dtu_21_03;round_2_images;49;2;196
439
+ experiment_dtu_21_03;round_2_images;50;3;195
440
+ experiment_dtu_21_03;round_2_images;51;3;188
441
+ experiment_dtu_21_03;round_2_images;52;2;194
442
+ experiment_dtu_21_03;round_2_images;53;2;201
443
+ experiment_dtu_21_03;round_2_images;54;2;185
444
+ experiment_dtu_21_03;round_2_images;55;3;198
445
+ experiment_dtu_21_03;round_2_images;56;2;200
446
+ experiment_dtu_21_03;round_2_images;57;1;192
447
+ experiment_dtu_21_03;round_2_images;58;1;191
448
+ experiment_dtu_15_03;round_1_images;0;1;79
449
+ experiment_dtu_15_03;round_1_images;1;1;86
450
+ experiment_dtu_15_03;round_1_images;2;2;83
451
+ experiment_dtu_15_03;round_1_images;3;3;81
452
+ experiment_dtu_15_03;round_1_images;4;2;93
453
+ experiment_dtu_15_03;round_1_images;5;1;88
454
+ experiment_dtu_15_03;round_1_images;6;1;90
455
+ experiment_dtu_15_03;round_1_images;7;2;76
456
+ experiment_dtu_15_03;round_1_images;8;1;84
457
+ experiment_dtu_15_03;round_1_images;9;1;87
458
+ experiment_dtu_15_03;round_1_images;10;2;91
459
+ experiment_dtu_15_03;round_1_images;11;1;85
460
+ experiment_dtu_15_03;round_1_images;12;1;76
461
+ experiment_dtu_15_03;round_1_images;13;3;82
462
+ experiment_dtu_15_03;round_1_images;14;1;91
463
+ experiment_dtu_15_03;round_1_images;15;3;75
464
+ experiment_dtu_15_03;round_1_images;16;1;93
465
+ experiment_dtu_15_03;round_1_images;17;2;89
466
+ experiment_dtu_15_03;round_1_images;18;2;92
467
+ experiment_dtu_15_03;round_1_images;19;1;82
468
+ experiment_dtu_15_03;round_1_images;20;1;81
469
+ experiment_dtu_15_03;round_1_images;21;1;80
470
+ experiment_dtu_15_03;round_1_images;22;1;89
471
+ experiment_dtu_15_03;round_1_images;23;3;106
472
+ experiment_dtu_15_03;round_1_images;24;1;83
473
+ experiment_dtu_15_03;round_1_images;25;2;79
474
+ experiment_dtu_15_03;round_1_images;26;2;82
475
+ experiment_dtu_15_03;round_1_images;27;2;86
476
+ experiment_dtu_15_03;round_1_images;28;1;78
477
+ experiment_dtu_15_03;round_1_images;29;2;80
478
+ experiment_dtu_15_03;round_1_images;30;2;78
479
+ experiment_dtu_15_03;round_1_images;31;3;91
480
+ experiment_dtu_15_03;round_1_images;32;3;89
481
+ experiment_dtu_15_03;round_1_images;33;2;77
482
+ experiment_dtu_15_03;round_1_images;34;1;74
483
+ experiment_dtu_15_03;round_1_images;35;1;75
484
+ experiment_dtu_15_03;round_1_images;36;3;76
485
+ experiment_dtu_15_03;round_1_images;37;2;75
486
+ experiment_dtu_15_03;round_1_images;38;3;74
487
+ experiment_dtu_15_03;round_1_images;39;3;80
488
+ experiment_dtu_15_03;round_1_images;40;2;81
489
+ experiment_dtu_15_03;round_1_images;41;1;77
490
+ experiment_dtu_15_03;round_1_images;42;1;92
491
+ experiment_dtu_15_03;round_1_images;43;2;74
492
+ experiment_dtu_15_03;round_2_images;0;1;113
493
+ experiment_dtu_15_03;round_2_images;1;2;105
494
+ experiment_dtu_15_03;round_2_images;2;3;103
495
+ experiment_dtu_15_03;round_2_images;3;2;100
496
+ experiment_dtu_15_03;round_2_images;4;1;125
497
+ experiment_dtu_15_03;round_2_images;5;1;122
498
+ experiment_dtu_15_03;round_2_images;6;2;125
499
+ experiment_dtu_15_03;round_2_images;7;2;107
500
+ experiment_dtu_15_03;round_2_images;8;2;106
501
+ experiment_dtu_15_03;round_2_images;9;1;126
502
+ experiment_dtu_15_03;round_2_images;10;1;124
503
+ experiment_dtu_15_03;round_2_images;11;3;116
504
+ experiment_dtu_15_03;round_2_images;12;1;96
505
+ experiment_dtu_15_03;round_2_images;13;;
506
+ experiment_dtu_15_03;round_2_images;14;3;114
507
+ experiment_dtu_15_03;round_2_images;15;1;106
508
+ experiment_dtu_15_03;round_2_images;16;2;98
509
+ experiment_dtu_15_03;round_2_images;17;3;100
510
+ experiment_dtu_15_03;round_2_images;18;1;120
511
+ experiment_dtu_15_03;round_2_images;19;2;124
512
+ experiment_dtu_15_03;round_2_images;20;1;104
513
+ experiment_dtu_15_03;round_2_images;21;3;102
514
+ experiment_dtu_15_03;round_2_images;22;3;109
515
+ experiment_dtu_15_03;round_2_images;23;1;100
516
+ experiment_dtu_15_03;round_2_images;24;1;111
517
+ experiment_dtu_15_03;round_2_images;25;1;115
518
+ experiment_dtu_15_03;round_2_images;26;3;110
519
+ experiment_dtu_15_03;round_2_images;27;1;107
520
+ experiment_dtu_15_03;round_2_images;28;2;111
521
+ experiment_dtu_15_03;round_2_images;29;1;114
522
+ experiment_dtu_15_03;round_2_images;30;1;101
523
+ experiment_dtu_15_03;round_2_images;31;1;97
524
+ experiment_dtu_15_03;round_2_images;32;1;118
525
+ experiment_dtu_15_03;round_2_images;33;1;116
526
+ experiment_dtu_15_03;round_2_images;34;3;99
527
+ experiment_dtu_15_03;round_2_images;35;1;108
528
+ experiment_dtu_15_03;round_2_images;36;1;112
529
+ experiment_dtu_15_03;round_2_images;37;2;113
530
+ experiment_dtu_15_03;round_2_images;38;1;99
531
+ experiment_dtu_15_03;round_2_images;39;2;123
532
+ experiment_dtu_15_03;round_2_images;40;2;116
533
+ experiment_dtu_15_03;round_2_images;41;1;98
534
+ experiment_dtu_15_03;round_2_images;42;2;95
535
+ experiment_dtu_15_03;round_2_images;43;2;103
536
+ experiment_dtu_15_03;round_2_images;44;3;98
537
+ experiment_dtu_15_03;round_2_images;45;2;114
538
+ experiment_dtu_15_03;round_2_images;46;3;101
539
+ experiment_dtu_15_03;round_2_images;47;1;95
540
+ experiment_dtu_15_03;round_2_images;48;1;109
541
+ experiment_dtu_15_03;round_2_images;49;2;118
542
+ experiment_dtu_15_03;round_2_images;50;1;94
543
+ experiment_dtu_15_03;round_2_images;51;2;102
544
+ experiment_dtu_15_03;round_2_images;52;3;115
545
+ experiment_dtu_15_03;round_2_images;53;1;123
546
+ experiment_dtu_15_03;round_2_images;54;2;112
547
+ experiment_dtu_15_03;round_2_images;55;1;105
548
+ experiment_dtu_15_03;round_2_images;56;2;94
549
+ experiment_dtu_15_03;round_2_images;57;2;115
550
+ experiment_dtu_15_03;round_2_images;58;2;109
551
+ experiment_dtu_15_03;round_2_images;59;3;105
552
+ experiment_dtu_15_03;round_2_images;60;1;110
553
+ experiment_dtu_15_03;round_2_images;61;3;96
554
+ experiment_dtu_15_03;round_2_images;62;3;104
555
+ experiment_dtu_15_03;round_2_images;63;3;94
556
+ experiment_dtu_15_03;round_2_images;64;3;107
557
+ experiment_dtu_15_03;round_2_images;65;3;97
558
+ experiment_dtu_15_03;round_2_images;66;3;112
559
+ experiment_dtu_15_03;round_2_images;67;2;126
560
+ experiment_dtu_15_03;round_2_images;68;3;95
561
+ experiment_dtu_15_03;round_2_images;69;1;102
562
+ experiment_dtu_15_03;round_2_images;70;2;96
563
+ experiment_dtu_15_03;round_2_images;71;2;97
564
+ experiment_dtu_15_03;round_2_images;72;3;113
565
+ experiment_dtu_15_03;round_2_images;73;1;103
566
+ experiment_dtu_15_03;round_2_images;74;2;110
567
+ experiment_dtu_15_03;round_2_images;75;2;104
568
+ experiment_dtu_15_03;round_2_images;76;2;191
569
+ experiment_dtu_15_03;round_2_images;77;3;111
data/csv/small_images.csv ADDED
The diff for this file is too large to render. See raw diff
 
data/csv/wt_session.jsonl_images.csv ADDED
The diff for this file is too large to render. See raw diff
 
data/napping_participants/napping_participants.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
data/napping_participants/napping_participants.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b6b864079143c950ebb3fd85d5835ad6d8efb63d6f7fb7a35fe8b6d081854a9b
3
+ size 36998
data/napping_participants/train.txt ADDED
@@ -0,0 +1 @@
 
 
1
+
data/small/.DS_Store ADDED
Binary file (6.15 kB). View file
 
data/small/small.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4085101ef07d9273433a318475fb5a48a681b59ab7c6e65ef19e1c5168e660f2
3
+ size 3577314398
data/small/small_images.list ADDED
The diff for this file is too large to render. See raw diff
 
data/vintages/train.txt ADDED
@@ -0,0 +1 @@
 
 
1
+
data/vintages/vintages_dataset.jsonl ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"vintage_id":1469676,"year":2018,"winery_id":247919,"wine_alcohol":null,"country":"Italy","region":" Abruzzo","price":22.26,"rating":4.3,"grape":"Sangiovese"}
2
+ {"vintage_id":156263848,"year":2018,"winery_id":2080,"wine_alcohol":14.0,"country":"United States","region":" Napa Valley","price":13.86,"rating":4.0,"grape":"Pinot Noir"}
3
+ {"vintage_id":156177650,"year":2018,"winery_id":18224,"wine_alcohol":13.5,"country":"Italy","region":" Salento","price":19.46,"rating":4.0,"grape":"Primitivo"}
4
+ {"vintage_id":20161520,"year":2015,"winery_id":215762,"wine_alcohol":14.0,"country":"France","region":" Saint-\u00c9milion Grand Cru","price":23.66,"rating":4.1,"grape":"Merlot"}
5
+ {"vintage_id":164942605,"year":2020,"winery_id":215762,"wine_alcohol":14.0,"country":"Italy","region":" Vino d'Italia","price":9.66,"rating":4.1,"grape":"Merlot"}
6
+ {"vintage_id":156848268,"year":2019,"winery_id":5027,"wine_alcohol":13.5,"country":"Spain","region":" Vino de Espa\u00f1a","price":13.72,"rating":4.2,"grape":"Shiraz\/Syrah"}
7
+ {"vintage_id":160145589,"year":2019,"winery_id":27693,"wine_alcohol":13.5,"country":"Australia","region":" Barossa Valley","price":27.86,"rating":4.0,"grape":"Shiraz\/Syrah"}
8
+ {"vintage_id":141187874,"year":2015,"winery_id":7892,"wine_alcohol":14.0,"country":"Italy","region":" Biferno","price":9.66,"rating":4.0,"grape":"Montepulciano"}
9
+ {"vintage_id":150293804,"year":2017,"winery_id":237626,"wine_alcohol":null,"country":"Spain","region":" Ribera del Duero","price":35.69,"rating":4.1,"grape":"Tempranillo"}
10
+ {"vintage_id":167154204,"year":2022,"winery_id":11038,"wine_alcohol":null,"country":"Spain","region":" Vino de Espa\u00f1a","price":8.26,"rating":4.1,"grape":"Shiraz\/Syrah"}
11
+ {"vintage_id":159381531,"year":2019,"winery_id":12724,"wine_alcohol":15.0,"country":"Portugal","region":" Douro","price":19.46,"rating":4.0,"grape":"Tinta Roriz"}
12
+ {"vintage_id":160199878,"year":2019,"winery_id":28380,"wine_alcohol":14.0,"country":"Italy","region":" Langhe","price":19.59,"rating":3.9,"grape":"Nebbiolo"}
13
+ {"vintage_id":160136298,"year":2019,"winery_id":11868,"wine_alcohol":15.5,"country":"Australia","region":" Barossa","price":13.86,"rating":4.2,"grape":"Shiraz\/Syrah"}
14
+ {"vintage_id":160151365,"year":2019,"winery_id":1228,"wine_alcohol":14.0,"country":"Italy","region":" Brunello di Montalcino","price":83.41,"rating":4.5,"grape":"Sangiovese"}
15
+ {"vintage_id":156265748,"year":2018,"winery_id":1402,"wine_alcohol":13.5,"country":"Australia","region":" Barossa Valley","price":26.46,"rating":3.8,"grape":"Shiraz\/Syrah"}
16
+ {"vintage_id":150611659,"year":2017,"winery_id":25480,"wine_alcohol":14.7,"country":"Spain","region":" Rioja","price":13.99,"rating":3.9,"grape":"Tempranillo"}
17
+ {"vintage_id":14380601,"year":2015,"winery_id":14704,"wine_alcohol":14.5,"country":"Italy","region":" Taurasi","price":36.26,"rating":3.9,"grape":"Aglianico"}
18
+ {"vintage_id":156098313,"year":2018,"winery_id":242080,"wine_alcohol":null,"country":"Italy","region":" Chianti Classico","price":30.66,"rating":4.1,"grape":"Sangiovese"}
19
+ {"vintage_id":150287130,"year":2017,"winery_id":185893,"wine_alcohol":14.5,"country":"Spain","region":" Sard\u00f3n de Duero","price":46.19,"rating":4.4,"grape":"Tempranillo"}
20
+ {"vintage_id":156157863,"year":2018,"winery_id":282592,"wine_alcohol":12.5,"country":"France","region":" Saint-\u00c9milion Grand Cru","price":20.98,"rating":4.2,"grape":"Merlot"}
21
+ {"vintage_id":156101231,"year":2018,"winery_id":1815,"wine_alcohol":15.0,"country":"Italy","region":" Veneto","price":8.76,"rating":4.1,"grape":"Corvina"}
22
+ {"vintage_id":21154063,"year":2015,"winery_id":1252,"wine_alcohol":14.0,"country":"France","region":"Saint-\u00c9milion Grand Cru","price":33.59,"rating":4.1,"grape":"Merlot"}
23
+ {"vintage_id":167320307,"year":2010,"winery_id":15240,"wine_alcohol":15.0,"country":"Spain","region":" Rioja Alta","price":22.26,"rating":4.3,"grape":"Tempranillo"}
24
+ {"vintage_id":162906933,"year":2020,"winery_id":234859,"wine_alcohol":null,"country":"Italy","region":" Bolgheri","price":33.46,"rating":4.2,"grape":"Cabernet Sauvignon"}
25
+ {"vintage_id":164780397,"year":2020,"winery_id":7770,"wine_alcohol":15.0,"country":"Portugal","region":" Pen\u00ednsula de Set\u00fabal","price":9.33,"rating":4.2,"grape":"Touriga Nacional"}
26
+ {"vintage_id":167353783,"year":2018,"winery_id":247928,"wine_alcohol":null,"country":"South Africa","region":" Stellenbosch","price":28.28,"rating":4.3,"grape":"Cabernet Franc"}
27
+ {"vintage_id":162913665,"year":2020,"winery_id":5064,"wine_alcohol":12.0,"country":"Portugal","region":" Alentejo","price":7.29,"rating":4.0,"grape":"Alicante Bouschet"}
28
+ {"vintage_id":157494675,"year":2019,"winery_id":7856,"wine_alcohol":14.65,"country":"Italy","region":" Piemonte","price":8.4,"rating":3.9,"grape":"Barbera"}
29
+ {"vintage_id":143590134,"year":2016,"winery_id":116168,"wine_alcohol":null,"country":"France","region":" Saint-\u00c9milion Grand Cru","price":26.8,"rating":4.1,"grape":"Merlot"}
30
+ {"vintage_id":163972690,"year":2020,"winery_id":16801,"wine_alcohol":null,"country":"Spain","region":" Ribera del Duero","price":26.6,"rating":4.1,"grape":"Tempranillo"}
31
+ {"vintage_id":162976242,"year":2020,"winery_id":19731,"wine_alcohol":null,"country":"Italy","region":" Terre Siciliane","price":10.22,"rating":4.2,"grape":"Cabernet Sauvignon"}
32
+ {"vintage_id":142319633,"year":2015,"winery_id":40453,"wine_alcohol":14.0,"country":"Italy","region":" Costa Toscana","price":20.86,"rating":4.2,"grape":"Merlot"}
33
+ {"vintage_id":155598602,"year":2017,"winery_id":117193,"wine_alcohol":13.0,"country":"Italy","region":" Puglia","price":9.34,"rating":4.0,"grape":"Primitivo"}
34
+ {"vintage_id":157739188,"year":2016,"winery_id":35080,"wine_alcohol":null,"country":"Italy","region":" Toscana","price":11.06,"rating":4.0,"grape":"Merlot"}
35
+ {"vintage_id":47326710,"year":2015,"winery_id":2259,"wine_alcohol":14.0,"country":"France","region":" Montagne-Saint-\u00c9milion","price":15.3,"rating":4.0,"grape":"Cabernet Sauvignon"}
36
+ {"vintage_id":14426601,"year":2015,"winery_id":34712,"wine_alcohol":13.2,"country":"Argentina","region":" Salta","price":31.96,"rating":4.3,"grape":"Malbec"}
37
+ {"vintage_id":29660160,"year":2013,"winery_id":234510,"wine_alcohol":null,"country":"Argentina","region":" Uco Valley","price":29.45,"rating":4.2,"grape":"Cabernet Sauvignon"}
38
+ {"vintage_id":155603717,"year":2015,"winery_id":3789,"wine_alcohol":12.5,"country":"Italy","region":" Veneto","price":4.91,"rating":3.4,"grape":"Montepulciano"}
39
+ {"vintage_id":158431872,"year":2016,"winery_id":39854,"wine_alcohol":null,"country":"Spain","region":" Ribera del Duero","price":12.24,"rating":3.6,"grape":"Tempranillo"}
40
+ {"vintage_id":4334852,"year":2010,"winery_id":216508,"wine_alcohol":null,"country":"France","region":" Graves","price":21.55,"rating":4.2,"grape":"Cabernet Sauvignon"}
41
+ {"vintage_id":6279496,"year":2012,"winery_id":190331,"wine_alcohol":14.5,"country":"Italy","region":" Umbria","price":8.42,"rating":3.1,"grape":"Shiraz\/Syrah"}
42
+ {"vintage_id":18386688,"year":2015,"winery_id":115557,"wine_alcohol":13.5,"country":"Italy","region":" Amarone della Valpolicella Classico","price":68.83,"rating":4.3,"grape":"Corvina"}
43
+ {"vintage_id":85213787,"year":2016,"winery_id":1239,"wine_alcohol":14.0,"country":"Italy","region":" Irpinia Campi Taurasini","price":19.59,"rating":4.2,"grape":"Aglianico"}
44
+ {"vintage_id":85904409,"year":2016,"winery_id":232774,"wine_alcohol":14.0,"country":"France","region":" Pauillac","price":22.26,"rating":4.1,"grape":"Cabernet Sauvignon"}
45
+ {"vintage_id":88780990,"year":2015,"winery_id":185893,"wine_alcohol":14.0,"country":"Italy","region":" Amarone della Valpolicella Classico","price":57.26,"rating":4.1,"grape":"Corvinone"}
46
+ {"vintage_id":92630895,"year":2014,"winery_id":14057,"wine_alcohol":14.0,"country":"Spain","region":" Cigales","price":11.2,"rating":4.1,"grape":"Tempranillo"}
47
+ {"vintage_id":131276012,"year":2016,"winery_id":200960,"wine_alcohol":null,"country":"Spain","region":" Rioja","price":14.0,"rating":4.0,"grape":"Tempranillo"}
48
+ {"vintage_id":144122522,"year":2016,"winery_id":60978,"wine_alcohol":14.5,"country":"Spain","region":" Valencia","price":6.26,"rating":3.4,"grape":"Tempranillo"}
49
+ {"vintage_id":150319009,"year":2017,"winery_id":36957,"wine_alcohol":null,"country":"Italy","region":" Irpinia Campi Taurasini","price":19.59,"rating":4.2,"grape":"Aglianico"}
50
+ {"vintage_id":150543588,"year":2017,"winery_id":1667,"wine_alcohol":null,"country":"Italy","region":" Marche","price":20.86,"rating":4.2,"grape":"Sangiovese"}
51
+ {"vintage_id":151190509,"year":2017,"winery_id":212108,"wine_alcohol":16.0,"country":"Italy","region":" Toscana","price":37.35,"rating":3.9,"grape":"Sangiovese"}
52
+ {"vintage_id":151390693,"year":2017,"winery_id":45375,"wine_alcohol":13.5,"country":"Argentina","region":" Uco Valley","price":13.67,"rating":4.0,"grape":"Malbec"}
53
+ {"vintage_id":152192077,"year":2017,"winery_id":234859,"wine_alcohol":15.0,"country":"France","region":" Haut-M\u00e9doc","price":13.56,"rating":3.8,"grape":"Cabernet Sauvignon"}
54
+ {"vintage_id":152860180,"year":2014,"winery_id":11068,"wine_alcohol":13.0,"country":"France","region":" Santenay","price":20.22,"rating":3.9,"grape":"Pinot Noir"}
55
+ {"vintage_id":156118413,"year":2018,"winery_id":28778,"wine_alcohol":null,"country":"Italy","region":" Toscana","price":9.66,"rating":3.9,"grape":"Merlot"}
56
+ {"vintage_id":156234231,"year":2016,"winery_id":27743,"wine_alcohol":null,"country":"Australia","region":" Barossa Valley","price":10.81,"rating":3.4,"grape":"Shiraz\/Syrah"}
57
+ {"vintage_id":156267777,"year":2018,"winery_id":11140,"wine_alcohol":15.0,"country":"Italy","region":" Barbera d'Asti","price":66.5,"rating":3.9,"grape":"Barbera"}
58
+ {"vintage_id":156289487,"year":2018,"winery_id":2162,"wine_alcohol":null,"country":"Spain","region":" Mallorca","price":20.65,"rating":4.1,"grape":"Merlot"}
59
+ {"vintage_id":156306216,"year":2018,"winery_id":21107,"wine_alcohol":14.5,"country":"Spain","region":" Ribera del Duero","price":23.66,"rating":4.0,"grape":"Tempranillo"}
60
+ {"vintage_id":156355599,"year":2018,"winery_id":119751,"wine_alcohol":14.0,"country":"Italy","region":" Primitivo di Manduria","price":13.86,"rating":4.3,"grape":"Primitivo"}
61
+ {"vintage_id":156402693,"year":2018,"winery_id":97304,"wine_alcohol":14.5,"country":"France","region":" Saint-\u00c9milion Grand Cru","price":41.86,"rating":4.1,"grape":"Merlot"}
62
+ {"vintage_id":156466136,"year":2018,"winery_id":38437,"wine_alcohol":null,"country":"Spain","region":" Cari\u00f1ena","price":13.24,"rating":4.0,"grape":"Garnacha"}
63
+ {"vintage_id":156527258,"year":2018,"winery_id":16294,"wine_alcohol":14.0,"country":"Australia","region":" South Australia","price":11.06,"rating":4.0,"grape":"Shiraz\/Syrah"}
64
+ {"vintage_id":156659797,"year":2018,"winery_id":245531,"wine_alcohol":15.0,"country":"Spain","region":" Rioja","price":12.46,"rating":3.9,"grape":"Tempranillo"}
65
+ {"vintage_id":156840139,"year":2016,"winery_id":15240,"wine_alcohol":null,"country":"Italy","region":" Toscana","price":16.83,"rating":3.8,"grape":"Merlot"}
66
+ {"vintage_id":156877904,"year":2017,"winery_id":215762,"wine_alcohol":15.0,"country":"Spain","region":" Toro","price":13.87,"rating":3.7,"grape":"Tinta de toro"}
67
+ {"vintage_id":156994738,"year":2018,"winery_id":232197,"wine_alcohol":13.5,"country":"Italy","region":" Terre Siciliane","price":23.58,"rating":4.0,"grape":"Cabernet Sauvignon"}
68
+ {"vintage_id":157154427,"year":2018,"winery_id":11186,"wine_alcohol":13.5,"country":"Spain","region":" Priorat","price":24.41,"rating":4.3,"grape":"Garnacha"}
69
+ {"vintage_id":157217859,"year":2016,"winery_id":14122,"wine_alcohol":13.3,"country":"France","region":" Bourgogne","price":22.68,"rating":3.8,"grape":"Gamay"}
70
+ {"vintage_id":157718233,"year":2018,"winery_id":234859,"wine_alcohol":null,"country":"France","region":" Bordeaux Sup\u00e9rieur","price":9.28,"rating":4.1,"grape":"Merlot"}
71
+ {"vintage_id":158193257,"year":2018,"winery_id":47170,"wine_alcohol":12.5,"country":"Spain","region":" Jumilla","price":10.65,"rating":3.9,"grape":"Shiraz\/Syrah"}
72
+ {"vintage_id":158240201,"year":2018,"winery_id":47170,"wine_alcohol":12.5,"country":"France","region":" Terrasses du Larzac","price":13.46,"rating":4.0,"grape":"Grenache"}
73
+ {"vintage_id":158475988,"year":2018,"winery_id":1252,"wine_alcohol":null,"country":"Italy","region":" Salento","price":11.9,"rating":4.2,"grape":"Negroamaro"}
74
+ {"vintage_id":158565485,"year":2018,"winery_id":35080,"wine_alcohol":null,"country":"Italy","region":" Toscana","price":15.43,"rating":3.9,"grape":"Sangiovese"}
75
+ {"vintage_id":158645398,"year":2017,"winery_id":77461,"wine_alcohol":null,"country":"Italy","region":" Toscana","price":13.86,"rating":4.2,"grape":"Sangiovese"}
76
+ {"vintage_id":159498249,"year":2019,"winery_id":1757,"wine_alcohol":13.5,"country":"Italy","region":" Primitivo di Manduria","price":17.26,"rating":4.3,"grape":"Primitivo"}
77
+ {"vintage_id":159636021,"year":2019,"winery_id":3707,"wine_alcohol":null,"country":"Italy","region":" Toscana","price":9.66,"rating":4.0,"grape":"Sangiovese"}
78
+ {"vintage_id":159983662,"year":2018,"winery_id":65495,"wine_alcohol":null,"country":"Italy","region":" Lazio","price":13.99,"rating":3.8,"grape":"Shiraz\/Syrah"}
79
+ {"vintage_id":160083243,"year":2018,"winery_id":29109,"wine_alcohol":null,"country":"Spain","region":" Ribera del Duero","price":12.46,"rating":3.7,"grape":"Tempranillo"}
80
+ {"vintage_id":160102339,"year":2019,"winery_id":11110,"wine_alcohol":null,"country":"Italy","region":" Veneto","price":18.58,"rating":4.1,"grape":"Cabernet Sauvignon"}
81
+ {"vintage_id":160561247,"year":2019,"winery_id":4875,"wine_alcohol":13.0,"country":"United States","region":" Monterey County","price":20.99,"rating":3.8,"grape":"Pinot Noir"}
82
+ {"vintage_id":160803615,"year":2018,"winery_id":20497,"wine_alcohol":18.0,"country":"France","region":" Bordeaux Sup\u00e9rieur","price":16.59,"rating":4.0,"grape":"Merlot"}
83
+ {"vintage_id":160839600,"year":2019,"winery_id":18338,"wine_alcohol":13.5,"country":"Spain","region":" Vino de Espa\u00f1a","price":9.66,"rating":4.1,"grape":"Syrah\/Shiraz"}
84
+ {"vintage_id":161074726,"year":2018,"winery_id":27010,"wine_alcohol":14.5,"country":"Italy","region":" Montepulciano d'Abruzzo","price":16.69,"rating":3.8,"grape":"Montepulciano"}
85
+ {"vintage_id":161362798,"year":2019,"winery_id":291112,"wine_alcohol":null,"country":"Italy","region":" Puglia","price":23.66,"rating":4.1,"grape":"Zinfandel"}
86
+ {"vintage_id":161375238,"year":2019,"winery_id":251144,"wine_alcohol":14.5,"country":"France","region":" Montagne-Saint-\u00c9milion","price":16.66,"rating":4.0,"grape":"Merlot"}
87
+ {"vintage_id":161452776,"year":2019,"winery_id":51044,"wine_alcohol":15.0,"country":"Italy","region":" Salento","price":16.07,"rating":4.0,"grape":"Merlot"}
88
+ {"vintage_id":161949992,"year":2019,"winery_id":235719,"wine_alcohol":13.0,"country":"Italy","region":" Puglia","price":9.66,"rating":3.9,"grape":"Primitivo"}
89
+ {"vintage_id":162166597,"year":2021,"winery_id":31643,"wine_alcohol":13.5,"country":"Italy","region":" Abruzzo","price":23.66,"rating":4.3,"grape":"Montepulciano"}
90
+ {"vintage_id":162364183,"year":2016,"winery_id":26446,"wine_alcohol":14.0,"country":"France","region":" Vin de France","price":11.36,"rating":3.6,"grape":"Merlot"}
91
+ {"vintage_id":162811260,"year":2019,"winery_id":270586,"wine_alcohol":14.5,"country":"France","region":" Cairanne","price":13.86,"rating":4.0,"grape":"Grenache"}
92
+ {"vintage_id":162964968,"year":2020,"winery_id":47647,"wine_alcohol":null,"country":"Italy","region":" Salento","price":8.26,"rating":4.1,"grape":"Primitivo"}
93
+ {"vintage_id":163144848,"year":2020,"winery_id":42128,"wine_alcohol":13.5,"country":"Italy","region":" Aglianico del Vulture","price":8.33,"rating":3.8,"grape":"Aglianico"}
94
+ {"vintage_id":163185284,"year":2020,"winery_id":1378,"wine_alcohol":15.0,"country":"Italy","region":" Puglia","price":10.63,"rating":4.1,"grape":"Primitivo"}
95
+ {"vintage_id":163214556,"year":2020,"winery_id":25492,"wine_alcohol":null,"country":"Spain","region":" Ribera del Duero","price":12.46,"rating":4.0,"grape":"Tempranillo"}
96
+ {"vintage_id":163510898,"year":2020,"winery_id":287723,"wine_alcohol":null,"country":"Italy","region":" Puglia","price":9.72,"rating":4.1,"grape":"Negromaro"}
97
+ {"vintage_id":163688366,"year":2016,"winery_id":1457,"wine_alcohol":14.0,"country":"Italy","region":" Toscana","price":16.1,"rating":3.7,"grape":"Merlot"}
98
+ {"vintage_id":163966765,"year":2019,"winery_id":19731,"wine_alcohol":13.5,"country":"France","region":" C\u00f4tes-du-Rh\u00f4ne","price":16.69,"rating":4.2,"grape":"Shiraz\/Syrah"}
99
+ {"vintage_id":164648889,"year":2016,"winery_id":5027,"wine_alcohol":13.5,"country":"Italy","region":" Chianti","price":10.93,"rating":3.2,"grape":"Sangiovese"}
100
+ {"vintage_id":164881304,"year":2020,"winery_id":251125,"wine_alcohol":null,"country":"Italy","region":" Salento","price":18.06,"rating":4.2,"grape":"Montemajor"}
101
+ {"vintage_id":165802879,"year":2019,"winery_id":27203,"wine_alcohol":null,"country":"United States","region":" California","price":10.5,"rating":3.9,"grape":"Zinfandel"}
102
+ {"vintage_id":166112946,"year":2020,"winery_id":246946,"wine_alcohol":null,"country":"Spain","region":" Vino de Espa\u00f1a","price":8.26,"rating":4.1,"grape":"Monastrell"}
103
+ {"vintage_id":166703132,"year":2020,"winery_id":173735,"wine_alcohol":14.5,"country":"Italy","region":" Emilia-Romagna","price":10.22,"rating":4.0,"grape":"Bonarda"}
104
+ {"vintage_id":167430286,"year":2020,"winery_id":6900,"wine_alcohol":14.0,"country":"Italy","region":" Puglia","price":6.57,"rating":4.1,"grape":"Negromaro"}
105
+ {"vintage_id":168712016,"year":2019,"winery_id":7875,"wine_alcohol":null,"country":"United States","region":" Lodi","price":8.84,"rating":3.8,"grape":"Zinfandel"}
106
+ {"vintage_id":173955418,"year":2020,"winery_id":171548,"wine_alcohol":14.0,"country":"Italy","region":" Puglia","price":13.71,"rating":4.0,"grape":"Merlot"}
107
+ {"vintage_id":173955418,"year":2020,"winery_id":236594,"wine_alcohol":14.5,"country":"Italy","region":" Puglia","price":13.71,"rating":4.0,"grape":"Merlot"}
data/vintages/vintages_dataset.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c1694c1566c68c3fb8d58b42b820c7b3fd317ae10e3ac7f3d182dcd56e2992ce
3
+ size 3581
data/wt_session/.DS_Store ADDED
Binary file (6.15 kB). View file
 
data/wt_session/wt_session.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd99db5ac52f76d63bb86f8955cc706e2ac7fa6b0f57c5cc37a5be4a8129c475
3
+ size 1230403208
data/wt_session/wt_session_images.list ADDED
The diff for this file is too large to render. See raw diff
 
docs/instructions.md ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ## Instructions
2
+
3
+ ### 1. **Subset the Valid Files**
4
+
5
+ Run the following script to subset the valid files:
6
+
7
+ ```bash
8
+ ./scripts/create_filtered_images_dataset.sh data/all_images_big data/all/ data/all_d/all.list
9
+ ```
10
+
11
+ Use the following command to compress the files:
12
+
13
+ ```bash
14
+ tar -cvzf all.tar.gz all/
15
+ ```
16
+
17
+ ### 2. Push Large Files
18
+ ```bash
19
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
20
+ *.jsonl filter=lfs diff=lfs merge=lfs -text
21
+ ```
22
+
23
+ Execute the following command in the root directory of the git repository:
24
+
25
+ ```bash
26
+ git lfs install
27
+ huggingface-cli lfs-enable-largefiles .
28
+ git add .
29
+ git commit -m "<commit message>"
30
+ git push
31
+ ```
32
+
33
+ You can copy the above Markdown-formatted instructions and view them in any Markdown viewer to see the enhanced readability.
poetry.lock ADDED
The diff for this file is too large to render. See raw diff
 
pyproject.toml ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [tool.poetry]
2
+ name = "l2t"
3
+ version = "0.1.0"
4
+ description = ""
5
+ authors = ["Alireza Kashani <alireza.kashanipour@gmail.com>"]
6
+ readme = "README.md"
7
+
8
+ [tool.poetry.dependencies]
9
+ python = ">=3.10,<3.13"
10
+ pandas = "^2.1.1"
11
+ ipykernel = "^6.25.2"
12
+ datasets = "^2.14.5"
13
+ openpyxl = "^3.1.2"
14
+ matplotlib = "^3.8.0"
15
+ openai = "^0.28.1"
16
+ huggingface-hub = "^0.18.0"
17
+
18
+
19
+ [build-system]
20
+ requires = ["poetry-core"]
21
+ build-backend = "poetry.core.masonry.api"
python-script.py ADDED
@@ -0,0 +1,312 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import datasets
2
+ import json
3
+
4
+ logger = datasets.logging.get_logger(__name__)
5
+
6
+ USERNAME = "Dakhoo"
7
+ REPO_NAME = "small-dataset-img-test"
8
+
9
+ _CITATION = """\
10
+ @article{bender2023learning,
11
+ title={Learning to Taste: A Multimodal Wine Dataset},
12
+ author={Bender, Thoranna and S{\o}rensen, Simon M{\o}e and Kashani, Alireza and Hjorleifsson, K Eldjarn and Hyldig, Grethe and Hauberg, S{\o}ren and Belongie, Serge and Warburg, Frederik},
13
+ journal={arXiv preprint arXiv:2308.16900},
14
+ year={2023}
15
+ }
16
+ """
17
+
18
+ _DESCRIPTION = (
19
+ "The dataset encompasses 897k images of wine labels and 824k reviews of wines "
20
+ "curated from the Vivino platform. It has over 350k unique vintages, annotated "
21
+ "with year, region, rating, alcohol percentage, price, and grape composition. "
22
+ "We obtained fine-grained flavor annotations on a subset by conducting a wine-tasting experiment "
23
+ "with 256 participants who were asked to rank wines based on their similarity in flavor, "
24
+ "resulting in more than 5k pairwise flavor distances."
25
+ )
26
+
27
+ _HOMEPAGE = "https://https://thoranna.github.io/learning_to_taste/"
28
+
29
+ _LICENSE = """\
30
+ LICENSE AGREEMENT
31
+ =================
32
+ - WineSensed by Thoranna Bender, Simon Søresen, Alireza Kashani, Kristjan Eldjarn, Grethe Hyldig,
33
+ Søren Hauberg, Serge Belongie, Frederik Warburg is licensed under a CC BY-NC-ND 4.0 Licence
34
+ """
35
+
36
+ reviews = ['Deliciously fragrant xxx',
37
+ 'Barolo & Brunello Tasting with Janne',
38
+ 'Oak',
39
+ 'Muito bom. Foi uma agradável surpresa. Óptimo sabor e guloso a acompanhar o almoço. Recomendo. ',
40
+ 'Flauw zwoele smaak zonder al teveel afdronk. Voor de prijs oké zonder meer. Ik ben geen fan. ',
41
+ 'Very different, very pink. Quite fruity can feel at the back sides of tongue ',
42
+ 'Honey, apricot, tinned peaches in syrup. Oily, silky texture. Sweetness is well balanced with acidity. ',
43
+ 'Amazing fruit and great finish. ',
44
+ 'Dry, floral nose with fruit on the back',
45
+ 'This Riesling Kabinett was good. Had a few minor problems, but cant complain to much at $13 ',
46
+ 'Such an unusual drop, honey, spice notes. Drank it chilled. Nose like the skin on a sauccison...!',
47
+ 'Very sweet and light bubbly red wine ',
48
+ 'Great value. Really enjoyable wine and went down a treat with a steak 👌🏻',
49
+ '',
50
+ 'Quite refreshing with a light citrus taste.',
51
+ 'Pours in dark amber colour with excellant lacing. Aroma of raisins, caramel. Highly sweet, medium sour, light bitterness, taste of nutts, raisins. Full bodied, thick feel, long lasting aftertaste',
52
+ 'Light, dry, grapefruit flavor, delicious ']
53
+
54
+
55
+ _REPO = f"https://huggingface.co/datasets/{USERNAME}/{REPO_NAME}/resolve/main"
56
+ _REPO = f"/Users/alka/Devel/L2T-NeurIPS-2023"
57
+
58
+ class WineSensedConfig(datasets.BuilderConfig):
59
+ """BuilderConfig for WineSensed."""
60
+
61
+ def __init__(self, data_url, metadata_urls, **kwargs):
62
+ """BuilderConfig for WineSensed.
63
+ Args:
64
+ data_url: `string`, url to download the zip file from.
65
+ matadata_urls: dictionary with 'train' containing the metadata URLs
66
+ **kwargs: keyword arguments forwarded to super.
67
+ """
68
+ super(WineSensedConfig, self).__init__(version=datasets.Version("1.0.0"), **kwargs)
69
+ self.data_url = data_url
70
+ self.metadata_urls = metadata_urls
71
+
72
+ class WineSensed(datasets.GeneratorBasedBuilder):
73
+ """WineSensed Images dataset"""
74
+
75
+ BUILDER_CONFIGS = [
76
+ WineSensedConfig(
77
+ name="vintages",
78
+ description="All tasted vintages along with their attributions.",
79
+ data_url=f"{_REPO}/data/vintages/vintages_dataset.tar.gz",
80
+ metadata_urls={
81
+ "train": f"{_REPO}/data/vintages/train.txt",
82
+ },
83
+ ),
84
+ WineSensedConfig(
85
+ name="napping_participants",
86
+ description="Napping and Participants datasets",
87
+ data_url=f"{_REPO}/data/napping_participants/napping_participants.tar.gz",
88
+ metadata_urls={
89
+ "train": f"{_REPO}/data/napping_participants/train.txt",
90
+ },
91
+ ),
92
+ WineSensedConfig(
93
+ name="small",
94
+ description="Small dataset.",
95
+ data_url=f"{_REPO}/data/small/small.tar.gz",
96
+ metadata_urls={
97
+ "train": f"{_REPO}/data/small/small_dataset.jsonl",
98
+ },
99
+ ),
100
+ WineSensedConfig(
101
+ name="wt_session",
102
+ description="Image-Review dataset.",
103
+ data_url=f"{_REPO}/data/wt_session/wt_session.tar.gz",
104
+ metadata_urls={
105
+ "train": f"{_REPO}/data/wt_session/wt_session.jsonl",
106
+ },
107
+ ),
108
+ WineSensedConfig(
109
+ name="all",
110
+ description="All images.",
111
+ data_url=f"{_REPO}/data/all/all.tar.gz",
112
+ metadata_urls={
113
+ "train": f"{_REPO}/data/all/all_dataset.jsonl",
114
+ },
115
+ ),
116
+ ]
117
+
118
+ def _info(self):
119
+
120
+ if self.config.name == 'vintages':
121
+ features = datasets.Features(
122
+ {
123
+ "vintage_id": datasets.Value("string"),
124
+ "year": datasets.Value("string"),
125
+ "winery_id": datasets.Value("string"),
126
+ "wine_alcohol": datasets.Value("string"),
127
+ "country": datasets.Value("string"),
128
+ "region": datasets.Value("string"),
129
+ "price": datasets.Value("string"),
130
+ "rating": datasets.Value("string"),
131
+ "grape": datasets.Value("string"),
132
+ }
133
+ )
134
+ elif self.config.name == 'napping_participants':
135
+ features = datasets.Features(
136
+ {
137
+ "event_name": datasets.Value("string"),
138
+ "session_round_name": datasets.Value("string"),
139
+ "experiment_no": datasets.Value("string"),
140
+ "round_id": datasets.Value("string"),
141
+ "participant_id": datasets.Value("string"),
142
+ "experiment_id": datasets.Value("string"),
143
+ "coor1": datasets.Value("string"),
144
+ "coor2": datasets.Value("string"),
145
+ "color": datasets.Value("string"),
146
+ }
147
+ )
148
+ else:
149
+ features = datasets.Features(
150
+ {
151
+ "image": datasets.Image(),
152
+ "vintage_id": datasets.Value("string"),
153
+ "year": datasets.Value("string"),
154
+ "winery_id": datasets.Value("string"),
155
+ "wine_alcohol": datasets.Value("string"),
156
+ "country": datasets.Value("string"),
157
+ "region": datasets.Value("string"),
158
+ "price": datasets.Value("string"),
159
+ "rating": datasets.Value("string"),
160
+ "grape": datasets.Value("string"),
161
+ "review": datasets.Value("string"),
162
+ "event_name": datasets.Value("string"),
163
+ "session_round_name": datasets.Value("string"),
164
+ "experiment_no": datasets.Value("string"),
165
+ "round_id": datasets.Value("string"),
166
+ "participant_id": datasets.Value("string"),
167
+ "experiment_id": datasets.Value("string"),
168
+ "coor1": datasets.Value("string"),
169
+ "coor2": datasets.Value("string"),
170
+ "color": datasets.Value("string"),
171
+ }
172
+ )
173
+
174
+ return datasets.DatasetInfo(
175
+ description=_DESCRIPTION + self.config.description,
176
+ features=features,
177
+ supervised_keys=None,
178
+ homepage=_HOMEPAGE,
179
+ citation=_CITATION,
180
+ license=_LICENSE,
181
+ )
182
+
183
+ def _split_generators(self, dl_manager):
184
+ archive_path = dl_manager.download(self.config.data_url)
185
+ metadata_paths = dl_manager.download(self.config.metadata_urls)
186
+ record_iters = dl_manager.iter_archive(archive_path)
187
+ return [
188
+ datasets.SplitGenerator(
189
+ name=datasets.Split.TRAIN,
190
+ gen_kwargs={
191
+ "records": record_iters,
192
+ "metadata_path": metadata_paths["train"],
193
+ },
194
+ ),
195
+ ]
196
+
197
+ def _generate_examples(self, records, metadata_path):
198
+ """Generate images and metadata for splits."""
199
+ # Process the JSONL file to extract all metadata
200
+ if self.config.name == 'vintages':
201
+ for idx, (filepath, image) in enumerate(records):
202
+ file_jsonl = image.read()
203
+ jsonl_string = file_jsonl.decode('utf-8')
204
+ json_objects = jsonl_string.strip().split('\n')
205
+
206
+ id = 0
207
+ for json_object in json_objects:
208
+ data_dict = json.loads(json_object)
209
+ yield id, {
210
+ "vintage_id": data_dict['vintage_id'],
211
+ "year": data_dict['year'],
212
+ "winery_id": data_dict['winery_id'],
213
+ "wine_alcohol": data_dict['wine_alcohol'],
214
+ "country": data_dict['country'],
215
+ "region": data_dict['region'],
216
+ "price": data_dict['price'],
217
+ "rating": data_dict['rating'],
218
+ "grape": data_dict['grape'],
219
+ }
220
+ id += 1
221
+
222
+ elif self.config.name == 'napping_participants':
223
+ for idx, (filepath, image) in enumerate(records):
224
+ file_jsonl = image.read()
225
+ jsonl_string = file_jsonl.decode('utf-8')
226
+ json_objects = jsonl_string.strip().split('\n')
227
+
228
+ id = 0
229
+ for json_object in json_objects:
230
+ data_dict = json.loads(json_object)
231
+ yield id, {
232
+ "event_name": data_dict['event_name'],
233
+ "session_round_name": data_dict['session_round_name'],
234
+ "experiment_no": data_dict['experiment_no'],
235
+ "round_id": data_dict['round_id'],
236
+ "participant_id": data_dict['participant_id'],
237
+ "experiment_id": data_dict['experiment_id'],
238
+ "coor1": data_dict['coor1'],
239
+ "coor2": data_dict['coor2'],
240
+ "color": data_dict['color'],
241
+ }
242
+ id += 1
243
+
244
+ else:
245
+ metadata_dict = self._process_images_jsonl_file(metadata_path)
246
+
247
+ for idx, (filepath, image) in enumerate(records):
248
+ yield idx, {
249
+ "image": {"path": filepath, "bytes": image.read()},
250
+ "vintage_id": metadata_dict.get(filepath.split('/')[1], {}).get('vintage_id', None),
251
+ "year": metadata_dict.get(filepath.split('/')[1], {}).get('year', None),
252
+ "winery_id": metadata_dict.get(filepath.split('/')[1], {}).get('winery_id', None),
253
+ "wine_alcohol": metadata_dict.get(filepath.split('/')[1], {}).get('wine_alcohol', None),
254
+ "country": metadata_dict.get(filepath.split('/')[1], {}).get('country', None),
255
+ "region": metadata_dict.get(filepath.split('/')[1], {}).get('region', None),
256
+ "price": metadata_dict.get(filepath.split('/')[1], {}).get('price', None),
257
+ "rating": metadata_dict.get(filepath.split('/')[1], {}).get('rating', None),
258
+ "grape": metadata_dict.get(filepath.split('/')[1], {}).get('grape', None),
259
+ "review": metadata_dict.get(filepath.split('/')[1], {}).get('review', None),
260
+ "event_name": metadata_dict.get(filepath.split('/')[1], {}).get('event_name', None),
261
+ "session_round_name": metadata_dict.get(filepath.split('/')[1], {}).get('session_round_name', None),
262
+ "experiment_no": metadata_dict.get(filepath.split('/')[1], {}).get('experiment_no', None),
263
+ "round_id": metadata_dict.get(filepath.split('/')[1], {}).get('round_id', None),
264
+ "participant_id": metadata_dict.get(filepath.split('/')[1], {}).get('participant_id', None),
265
+ "experiment_id": metadata_dict.get(filepath.split('/')[1], {}).get('experiment_id', None),
266
+ "coor1": metadata_dict.get(filepath.split('/')[1], {}).get('coor1', None),
267
+ "coor2": metadata_dict.get(filepath.split('/')[1], {}).get('coor2', None),
268
+ "color": metadata_dict.get(filepath.split('/')[1], {}).get('color', None),
269
+ }
270
+
271
+ def _process_images_jsonl_file(self, jsonl_file_path):
272
+ """A utility function defined within the WineSensed class.
273
+ This function reads and processes a JSONL (JSON Lines) file containing metadata about images and reviews.
274
+ It iterates through the lines in the JSONL file, parsing each line as JSON data.
275
+ For each JSON object in the file, it extracts relevant information such as image paths, reviews, vintage IDs, and more.
276
+ The extracted information is stored in a dictionary called metadata_dict, which is returned by the function. """
277
+ metadata_dict = {}
278
+
279
+ with open(jsonl_file_path, 'r', encoding="utf-8") as jsonl_file:
280
+ for line in jsonl_file:
281
+ try:
282
+ data = json.loads(line)
283
+ image = data.get('image', None)
284
+
285
+ # Check if 'image' is present in the JSON object
286
+ if image is not None:
287
+ metadata_dict[image] = {
288
+ "review": data.get('review', None),
289
+ "vintage_id": data.get('vintage_id', None),
290
+ "experiment_id": data.get('experiment_id', None),
291
+ "year": data.get('year', None),
292
+ "winery_id": data.get('winery_id', None),
293
+ "wine_alcohol": data.get('wine_alcohol', None),
294
+ "country": data.get('country', None),
295
+ "region": data.get('region', None),
296
+ "price": data.get('price', None),
297
+ "rating": data.get('rating', None),
298
+ "grape": data.get('grape', None),
299
+ "event_name": data.get('event_name', None),
300
+ "session_round_name": data.get('session_round_name', None),
301
+ "experiment_no": data.get('experiment_no', None),
302
+ "round_id": data.get('round_id', None),
303
+ "participant_id": data.get('participant_id', None),
304
+ "experiment_id": data.get('experiment_id', None),
305
+ "coor1": data.get('coor1', None),
306
+ "coor2": data.get('coor2', None),
307
+ "color": data.get('color', None),
308
+ }
309
+ except json.JSONDecodeError as e:
310
+ print(f"Error parsing JSON: {e}")
311
+
312
+ return metadata_dict
scripts/create_all_images_dataset.sh ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ # Create the target directory if it doesn't exist
4
+ mkdir -p ../all
5
+
6
+ # Use find and xargs to move jpg files from all chunk directories
7
+ find ./chunk_* -name "*.jpg" -print0 | xargs -0 mv -t ../all/
8
+
scripts/create_filtered_images_dataset.sh ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ # Check if the correct number of command-line arguments are provided
4
+ if [ "$#" -ne 3 ]; then
5
+ echo "Usage: $0 <source_directory> <destination_directory> <image_list_file>"
6
+ exit 1
7
+ fi
8
+
9
+ # Get the source directory, destination directory, and image list file from command-line arguments
10
+ source_dir="$1"
11
+ destination_dir="$2"
12
+ image_list_file="$3"
13
+
14
+ # Check if the source directory exists
15
+ if [ ! -d "$source_dir" ]; then
16
+ echo "Source directory '$source_dir' does not exist."
17
+ exit 1
18
+ fi
19
+
20
+ # Create the destination directory if it doesn't exist
21
+ mkdir -p "$destination_dir"
22
+
23
+ # Read each image name from the text file and copy the corresponding image to the destination directory
24
+ while IFS= read -r image_name; do
25
+ echo "Processing: $image_name"
26
+ if [ -e "$source_dir/$image_name" ]; then
27
+ cp "$source_dir/$image_name" "$destination_dir/"
28
+ echo "Copied: $image_name"
29
+ else
30
+ echo "Image '$image_name' not found in the source directory."
31
+ fi
32
+ done < "$image_list_file"
33
+
34
+ echo "Images copied to the destination directory."
35
+