Conchylicultor / DeepQA

My tensorflow implementation of "A neural conversational model", a Deep learning based chatbot
Apache License 2.0
2.93k stars 1.17k forks source link

GET /chat HTTP/1.1" 404 2099 #110

Closed ibrahimsharaf closed 7 years ago

ibrahimsharaf commented 7 years ago

I downloaded the pretrained model, launched the web interface, but I can't send a message, here's the console output:

Initializing bot...
Welcome to DeepQA v0.1 !

TensorFlow detected: v1.1.0

Warning: Restoring parameters:
globStep: 32000
watsonMode: False
autoEncode: False
corpus: cornell
datasetTag: old
maxLength: 10
filterVocab: 0
skipLines: False
vocabularySize: 0
hiddenSize: 512
numLayers: 2
softmaxSamples: 0
initEmbeddings: False
embeddingSize: 64
embeddingSource: None

Loading dataset from /home/ibrahimsharaf/workspace/DeepQA/data/samples/dataset-cornell-old-length10-filter0-vocabSize0.pkl
Loaded cornell: 34991 words, 139979 QA
Model creation...
2017-05-09 01:56:00.742759: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations.
2017-05-09 01:56:00.742786: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations.
2017-05-09 01:56:00.742798: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations.
Initialize variables...
WARNING: Restoring previous model from /home/ibrahimsharaf/workspace/DeepQA/save/model-server/model.ckpt
Daemon mode, running in background...
Performing system checks...

System check identified no issues (0 silenced).
May 09, 2017 - 01:56:01
Django version 1.11.1, using settings 'chatbot_website.settings'
Starting development server at http://0.0.0.0:8000/
Quit the server with CONTROL-C.
"GET / HTTP/1.1" 200 3142
Not Found: /chat
"GET /chat HTTP/1.1" 404 2099
Not Found: /chat
"GET /chat HTTP/1.1" 404 2099
"GET / HTTP/1.1" 200 3142
"GET /static/assets/css/main.css HTTP/1.1" 200 17757
"GET /static/images/avatar.jpg HTTP/1.1" 200 10428
"GET /static/js/chat.js HTTP/1.1" 200 1318
"GET /static/js/reconnecting-websocket.js HTTP/1.1" 200 14429
"GET /static/js/jquery-3.1.0.min.js HTTP/1.1" 200 86351
"GET /static/assets/css/font-awesome.min.css HTTP/1.1" 200 29063
"GET /static/assets/css/images/overlay.png HTTP/1.1" 200 166
"GET /static/images/bg.png HTTP/1.1" 200 1500470
"GET /static/images/icon.png HTTP/1.1" 200 166
"GET /static/assets/fonts/fontawesome-webfont.woff2?v=4.6.3 HTTP/1.1" 200 71896
Not Found: /chat
"GET /chat HTTP/1.1" 404 2099
ibrahimsharaf commented 7 years ago

It's working well using ./main.py --modelTag pretrainedv2 --test interactive, BTW.

ibrahimsharaf commented 7 years ago

seems like it was a redis installation problem, fixed now.