Error in week 1 program assignment

[advanced Computer vision using tensor flow][Week 1][program assignment]_[error]…ValueError: too many values to unpack (expected 3)
…in Visualization

Please move this topic to the right subcategory. Here’s the community user guide to get started. Do share the stacktrace and the exercise where you see the error(s).

ok i will move this topic to the right sub category.thank you

Hi @Teena_Varma!

The error, “too many values to unpack (expected 3)” happens when you call a function that returns fewer than 3 values, but try to “unpack” the return value to 3 values like this:

x, y, z = func_that_returns_one_value()

I’m not sure where exactly you’re getting this error, but hopefully, this will be enough for you to figure out the problem. If not, please share a screenshot of the full stack trace. This is a good practice in general since it gives more context and makes it easier to help identify the problem.

1 Like

Thankyou so much for your reply.