Skip to content

Instantly share code, notes, and snippets.

@FavioVazquez
Last active May 10, 2018 18:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FavioVazquez/531c2852f936e4a2cbbe2f4afbad47d5 to your computer and use it in GitHub Desktop.
Save FavioVazquez/531c2852f936e4a2cbbe2f4afbad47d5 to your computer and use it in GitHub Desktop.
fs = !ls flower_photos/sample/*.jpg
uri_df = spark.createDataFrame(fs, StringType()).toDF("uri")
keras_pred_df = transformer.transform(uri_df)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment