Categories
Misc

keras model.predict on a single image

I trained a model on MNIST, but I get an error when trying to use model.predict on a single image. Apparently keras model.predict can only take in batches of images. Why? Is there any way around this?

submitted by /u/berimbolo21
[visit reddit] [comments]

Leave a Reply

Your email address will not be published. Required fields are marked *