I could not run week 3 assignment of Natural language processing with attention course lab on my local machine. it is saying --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) Cell In[34], line 10 7 for epoch in range(epochs): 9 start = time.time() —> 10 train_loss.reset_states() 11 number_of_batches=len(list(enumerate(dataset))) 13 for (batch, (inp, tar)) in enumerate(dataset): AttributeError: ‘Mean’ object has no attribute ‘reset_states’. and when I remove the last letter s another error is thrown. why
did you post your query in the right course? Because you seem to have posted a similar query in NLP specialisation.
So if the query is resolved also, kindly let us know which course or specialisation you had this doubt about.
Also when you running codes locally, make sure refer to the module version and match them.
Regards
DP