Why BOT responses are blanks?

Author: gopinathankmCreated Mar 23, 2018Updated Dec 16, 2019

When I run following, Why do I get blank responses from Bot. (my_env) ubuntu@ip-172-31-16-139:~/chatbot/annbot$ python3 chatbot.py --mode chat Preparing data to be model-ready ... Data ready! Initialize new model Create placeholders Create inference Creating loss... It might take a couple of minutes depending on how many buckets you have. WARNING:tensorflow:From /home/ubuntu/anaconda3/envs/my_env/lib/python3.6/site-packages/tensorflow/python/ops/nn_impl.py:1310: softmax_cross_entropy_with_logits (from tensorflow.python.ops.nn_ops) is deprecated and will be removed in a future version. Instructions for updating:

Future major versions of TensorFlow will allow gradients to flow into the labels input on backprop by default.

See tf.nn.softmax_cross_entropy_with_logits_v2.

Time: 27.975615978240967 Create optimizer... It might take a couple of minutes depending on how many buckets you have. Loading parameters for the Chatbot Welcome to TensorBro. Say something. Enter to exit. Max length is 60

hi [[-0.584015 6.833303 -0.7068891 ... -0.23560944 -0.49890977 -0.4948687 ]] . hello [[-0.58008343 7.1182957 -0.69766235 ... -0.22473697 -0.4460981 -0.4717362 ]] ? Hello [[-0.58008343 7.1182957 -0.69766235 ... -0.22473697 -0.4460981 -0.4717362 ]] ? How are you? [[-0.45013425 6.5066013 -0.71693504 ... -0.17606334 -0.6236066 -0.541961 ]] .

================================================================== Also Why output_convo.txt BOT responses are blanks?

(my_env) ubuntu@ip-172-31-16-139:~/chatbot/annbot/processed$ nano output_convo.txt HUMAN ++++ hi BOT ++++ . HUMAN ++++ hello BOT ++++ ? HUMAN ++++ Hello BOT ++++ ? HUMAN ++++ How are you? BOT ++++ . =============================================

Source: chiphuyen/stanford-tensorflow-tutorials