llSourcell / tensorflow_chatbot

Tensorflow chatbot demo by @Sirajology on Youtube
1.45k stars 806 forks source link

While training the seq2seq the program gets killed i am using CPU only tensorflow #63

Open KhajaMoinuddin opened 7 years ago

KhajaMoinuddin commented 7 years ago

root@ubuntu:~/tensorflow/chatbot/tensorflow_chatbot-master# python execute.py

Mode : train

Preparing data in working_dir/ Creating 3 layers of 256 units. before creating model inside_create_model Killed

ghost commented 7 years ago

i am getting similar....in Train reating 3 layers of 256 units. Traceback (most recent call last): File "execute.py", line 319, in train() File "execute.py", line 137, in train model = create_model(sess, False) File "execute.py", line 104, in create_model model = seq2seq_model.Seq2SeqModel( gConfig['enc_vocab_size'], gConfig['dec_vocab_size'], _buckets, gConfig['layer_size'], gConfig['num_layers'], gConfig['max_gradient_norm'], gConfig['batch_size'], gConfig['learning_rate'], gConfig['learning_rate_decay_factor'], forward_only=forward_only) File "/Users/charlesyau/Desktop/tensorflow_chatbot-master/seq2seq_model.py", line 154, in init self.outputs, self.losses = tf.nn.seq2seq.model_with_buckets( AttributeError: 'module' object has no attribute 'seq2seq'

gamegoofs2 commented 6 years ago

Any solution to this yet?

irisyupingren commented 6 years ago

Getting the same while training on gcloud with cpu