-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Solved ✅ (edited)Okay I have solved this problem (kudos to my colleague that raise about State issue). In this code, I shared the same To solve this, I need to instantiate new Note@mrdbourke I think there is an issue within your NLP course. This is because, in the Tensorflow NLP learning series, you only used a single |
Beta Was this translation helpful? Give feedback.
Solved ✅ (edited)
Okay I have solved this problem (kudos to my colleague that raise about State issue). In this code, I shared the same
layers.Embedding
object for both model, which is the culprit of the issues.To solve this, I need to instantiate new
layers.Embedding
object, for every model that I want to train. This is because by instantiate newlayers.Embedding
, it will reset the state of the weight of the object, and not using the previous one.Note
@mrdbourke I think there is an issue within your NLP course. This is because, in the Tensorflow NLP learning series, you only used a single
layers.Embedding
object for every model that you trained. Hence, the next model that will be train…