Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from keras.preprocessing import image
- img = image.load_img(image_path, target_size=(224, 224))
- x = image.img_to_array(img)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement