DeepQA icon indicating copy to clipboard operation
DeepQA copied to clipboard

"GET /chat HTTP/1.1" 404 problem

Open Edward-liang opened this issue 7 years ago • 0 comments

@Conchylicultor Hi PO, I build the project with python3.6 and tensorflow1.0. There is something wrong with the dependence "channels". The dependence path was:

channels -> daphne ->twisted

However twisted only support python2.7. I tried to install django-channels with:

django-channels -> request-oauthlib -> oauthlib

And things went smoothly until when I tried the command: python manage.py runserver 0.0.0.0:8000

I don't know if this error is related to 'channels', and want to ask for your help.

I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcublas.so.8.0 locally
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcudnn.so.5 locally
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcufft.so.8.0 locally
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcuda.so.1 locally
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcurand.so.8.0 locally
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcublas.so.8.0 locally
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcudnn.so.5 locally
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcufft.so.8.0 locally
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcuda.so.1 locally
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcurand.so.8.0 locally
Initializing bot...
Welcome to DeepQA v0.1 !

TensorFlow detected: v1.0.0

Warning: Restoring parameters:
globStep: 32000
maxLength: 10
watsonMode: False
autoEncode: False
corpus: cornell
datasetTag: 
hiddenSize: 512
numLayers: 2
embeddingSize: 64
initEmbeddings: False
softmaxSamples: 0

Loading dataset from /home/zl/DeepQA-master/data/samples/...
Loaded cornell: 34991 words, 139979 QA
Model creation...
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE3 instructions, but these are available on your machine and could speed up CPU computations.
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.
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.
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.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX2 instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use FMA instructions, but these are available on your machine and could speed up CPU computations.
E tensorflow/stream_executor/cuda/cuda_driver.cc:509] failed call to cuInit: CUDA_ERROR_UNKNOWN
I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:152] no NVIDIA GPU device is present: /dev/nvidia0 does not exist
Initialize variables...
Restoring previous model from /home/zl/DeepQA-master/save/model-server/model.ckpt
Daemon mode, running in background...
Performing system checks...

System check identified no issues (0 silenced).
March 27, 2017 - 04:05:20
Django version 1.10.6, 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 2077
"GET /static/images/icon.png HTTP/1.1" 200 166
Not Found: /chat
"GET /chat HTTP/1.1" 404 2077
Not Found: /chat
"GET /chat HTTP/1.1" 404 2077
Not Found: /chat
"GET /chat HTTP/1.1" 404 2077
Not Found: /chat
"GET /chat HTTP/1.1" 404 2077
Not Found: /chat
"GET /chat HTTP/1.1" 404 2077

Edward-liang avatar Mar 27 '17 04:03 Edward-liang