tensorlayer / seq2seq-chatbot

Chatbot in 200 lines of code using TensorLayer
https://github.com/tensorlayer/tensorlayer
837 stars 315 forks source link

Layer 'model/embedding/seq_embedding' already exists, please choice other 'name' or reuse this layer #36

Open fskong opened 5 years ago

fskong commented 5 years ago

Exception: Layer 'model/embedding/seq_embedding' already exists, please choice other 'name' or reuse this layer
Hint : Use different name for different 'Layer' (The name is used to control parameter sharing)
Additional Informations: http://tensorlayer.readthedocs.io/en/latest/modules/layers.html?highlight=clear_layers_name#tensorlayer.layers.clear_layers_name

when i run the code, this problem comes.

python: 3.6 tensorflow-gpu: 1.7.1 tensorlayer: 1.7.4

zsdonghao commented 5 years ago

the code is just being updated to support TF 2.0, please try.