Understanding code - error Expected more than 1 value per channel when training

I had let it go, cause it was too abstract, and I had no clue how to fix the issue.

I come back to it, due to your post, and I realized that whenever I set precompute=True I have the same error both on aws and on my pc which sais running mean should contain 3 elements not 4096

[update] Jeremy is saying what’s the reason of this error [here](How do we use our model against a specific image? - #25 by jeremy

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