Whenever we try to model.fit multiple models in single notebook it gives
Variable ent_emb already exists, disallowed. Did you mean to set reuse=True or reuse=tf.AUTO_REUSE in VarScope? Originally defined at:
File "/usr/local/lib/python3.6/dist-packages/ampligraph/latent_features/models/EmbeddingModel.py", line 502, in _initialize_parameters
dtype=tf.float32)
File "/usr/local/lib/python3.6/dist-packages/ampligraph/latent_features/models/EmbeddingModel.py", line 931, in fit
self._initialize_parameters()
File "/usr/local/lib/python3.6/dist-packages/ampligraph/latent_features/models/TransE.py", line 265, in fit
super().fit(X, early_stopping, early_stopping_params)
File "<ipython-input-14-31c840e2c70d>", line 5, in <module>
model_t.fit(X_train)
File "/usr/local/lib/python3.6/dist-packages/IPython/core/interactiveshell.py", line 2882, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
Description
Whenever we try to model.fit multiple models in single notebook it gives
Steps to Reproduce
Create multiple models.
Try to fit them.
Work Arounds