document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. def preprocess(frame):
  2.     x = tf.image.resize_bilinear(frame, [224, 224])
  3.     x = preprocess_input(x)
  4.     return x
  5.  
  6. dataset = dataset.batch(64).map(preprocess, 10).prefetch(1)
');