Course 1 : week 3 ( Exercise 7)

image

kindly help me solve this indentation error!

Hi @khirman ,

Thanks for sharing the question you’re having. The error says that there is unexpected indentation on b1 = paramters["b1"]. Check well the function to solve that.

Here is an example of the wrong indentation in the Python function:

def add_two_numbers(a, b):
sum = a + b

return sum

Here is the right way the above function can be written:

def add_two_numbers(a, b):
  sum = a + b

  return sum

Be aware that it is easy to make indentation errors.

Happy learning!

1 Like

Hi @khirman! :wave:
Were you able to solve the issue? If not, can you, please, share the code with us preserving the indentation.

1 Like

Getting “The model in your submission is invalid. Please try again!” while submitting the assignment(C1W3).
I guess the main reason is to incompatibility of dependencies of tensorflow & tfjs, I have tried many versions started from 2.2 to 2.11, but still getting the error.

Please, kindly help me out @yurij , Thank you

Hi @Abhijit_Sutar :slight_smile: We’ve recently updated all of the labs to tensorflow 2.9. Can you please, check whether it works with 2.9 now for you, please?