Skip to content

Instantly share code, notes, and snippets.

@AmrutaKoshe
Created July 8, 2021 08:29
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 AmrutaKoshe/77adfa06f80c259b7bbf20e4cb124fdc to your computer and use it in GitHub Desktop.
Save AmrutaKoshe/77adfa06f80c259b7bbf20e4cb124fdc to your computer and use it in GitHub Desktop.
image=load_img("fruits/test/test/0030.jpg",target_size=(100,100))
image=img_to_array(image)
image=image/255.0
prediction_image=np.array(image)
prediction_image= np.expand_dims(image, axis=0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment