You need to said precompute=False before you do that prediction, since you’re passing in an image, not a precomputed activation.
You need to said precompute=False before you do that prediction, since you’re passing in an image, not a precomputed activation.