fix: image read
Browse files
printed_photos_attacks.py
CHANGED
@@ -61,7 +61,7 @@ class PrintedPhotosAttacks(datasets.GeneratorBasedBuilder):
|
|
61 |
'attack': attack_path,
|
62 |
'live_selfie': {
|
63 |
'path': live_selfie_path,
|
64 |
-
'bytes': live_selfie
|
65 |
},
|
66 |
'live_video': live_video_path
|
67 |
}
|
|
|
61 |
'attack': attack_path,
|
62 |
'live_selfie': {
|
63 |
'path': live_selfie_path,
|
64 |
+
'bytes': live_selfie.read()
|
65 |
},
|
66 |
'live_video': live_video_path
|
67 |
}
|