Abdou1
1
Hi,
After running successfully all the first blocks from Natural Machine Translation assignment, i get an error when trying to fit the model
model.fit([Xoh,s0,c0], outputs, epochs=1, batch_size=100)
TypeError: ‘NoneType’ object is not callable
Any help please
TMosh
2
Which week number?
Which assignment number?
Abdou1
3
Hi,
It is the first exercise, Neural Machine Translation from week three, Sequence models.
Thanks for your feedback
TMosh
4
So that’s Course 5, Week 3, Assignment 1.
Ill take a look.
TMosh
5
The error comes from your modelf() function. It doesn’t work correctly.
Abdou1
6
Thank you, i’ll get back to it
However i get the green “All tested correct”!
TMosh
7
That does not mean your code is perfect.
And the problem may be in some other function that modelf() uses.
Abdou1
8
Thank you for your responsivness.
In my case I passed inputs in wrong order (X was last parameter). I fixed this and model fitted.