Assignment 1: Inputs must be an iterable error

Hey, I am stuck on the last section of the assignment, which throws the error:

ValueError: Inputs must be an iterable of at least one Tensor/IndexedSlices with the same dtype and shape.

Has anyone experienced something similar?

Which part exactly? From the error I get that the input is not a list or maybe the shapes/types in the list are not as expected.

Hi Gent, thanks for responding. I eventually found the bug.

It was in the get_style_image_features function and I had forgotten to fill in the missing code for the assignment of gram_style_features

1 Like

Great, sometimes time can be helpful in resolving issues too.

1 Like