DLS course 4 CNN- Week 1 assignment 2- Application of CNN models

One common way to get that error on this assignment is shown on this other recent thread.

Here’s another thread that explains what is going on with a bit more context.