C2W1-Error'name 'scipy' is not defined'

Hello everyone, I am doing the assignment C2W1 and have the error as image below. I think the problem is from the train_data and val_data but have no solutions for this. Can anyone help me? Thanks a lot for reading.

Which version of tensorflow are you using and how did you install it?

1 Like

I use the command ‘pip install tensorflow’ and this is the version

pip install scipy==1.11.4

It’s good to check on google colab since they use compatible versions for end users:

image

Great! It’s working. Thank you very much.