fix
Browse files
super-resolution-games.py
CHANGED
@@ -167,9 +167,9 @@ class SuperResolutionGames(datasets.GeneratorBasedBuilder):
|
|
167 |
for idx, resolutions in enumerate(zip(r270p, r360p, r540p, r1080p)):
|
168 |
r270p_i, r360p_i, r540p_i, r1080p_i = resolutions
|
169 |
sample = {
|
170 |
-
'
|
171 |
-
'
|
172 |
-
'
|
173 |
-
'
|
174 |
}
|
175 |
yield idx, sample
|
|
|
167 |
for idx, resolutions in enumerate(zip(r270p, r360p, r540p, r1080p)):
|
168 |
r270p_i, r360p_i, r540p_i, r1080p_i = resolutions
|
169 |
sample = {
|
170 |
+
'r270p': [r270p_i[0], r270p_i[1].read()],
|
171 |
+
'r360p': [r360p_i[0], r360p_i[1].read()],
|
172 |
+
'r540p': [r540p_i[0], r540p_i[1].read()],
|
173 |
+
'r1080p': [r1080p_i[0], r1080p_i[1].read()]
|
174 |
}
|
175 |
yield idx, sample
|