Vadzim Kashko commited on
Commit
f3e3946
1 Parent(s): 770f298

fix: image read

Browse files
Files changed (1) hide show
  1. printed_photos_attacks.py +1 -1
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
  }