C3W2: AttributeError: 'ListWrapper' object has no attribute 'minimize'


I am doing the assignment of C3W2.

I have donde all the text preproccesing and so far all the test of functions give the expected output answer.

But once I try to fit the model I am getting the error:

AttributeError: ‘ListWrapper’ object has no attribute ‘minimize’

I hope you can give me some insight on how to solve this.



Please click my name and message your notebook as an attachment.

optimizer parameter should not be a list. It can be either a string or an instance of a class from tensorflow.keras.optimizers

1 Like

Thank you very much!!! Never saw the mistake in the revisions I made.