brightmart / text_classification

all kinds of text classification models and more with deep learning
MIT License
7.86k stars 2.57k forks source link

sess.run() blocks #2

Closed scutzck033 closed 7 years ago

scutzck033 commented 7 years ago

Hello! I am new to tensorflow and when I run your model TextCNN, I get a issue, that is, sess.run() blocks. I can only get the print before the code: "curr_loss,curracc,=sess.run([textCNN.loss_val,textCNN.accuracy,textCNN.train_op],feed_dict=feed_dict)" and then , the program blocks! I already make sure the input data exists and I fail to figure it out. Hope you can give me the answer, thanks for your patience.

brightmart commented 7 years ago

have you already solved your problem?

scutzck033 commented 7 years ago

Yes! Thanks for your attention! It is actually a rookie mistake. sess.run() doesn't block forever, I just have to wait for several minutes and then I can get the following outputs. @brightmart