NNDial is an open source toolkit for building end-to-end trainable task-oriented dialogue models. It is released by Tsung-Hsien (Shawn) Wen from Cambridge Dialogue Systems Group under Apache License 2.0.
I have some problems:
when I use
python nndial.py -config config/tracker.cfg -mode train
it prompt me:
loading model settings from config file ...
prepare slot value templates ...
formatting DB ...
setting up vocab, finishing ... 99.85%
semi-supervised action examples: 0.00%
loading semi labels from file ... finishing 100.00%
Corpus VMC : 97.34%
Corpus Success : 91.57%
===============
Data statistics
Train : 405
Valid : 135
Test : 136
Voc : 598
Venue : 68
setting network structures using theano variables ...
init n2n SDS ...
init rnn requestable trackers ...
init OfferChange tracker ...
init rnn informable trackers ...
init normal policy network ...
loss function
/home/andysun100800/anaconda2/envs/nndial/lib/python2.7/site-packages/pygpu/init.py:7: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88
from . import gpuarray, elemwise, reduction
/home/andysun100800/anaconda2/envs/nndial/lib/python2.7/site-packages/pygpu/elemwise.py:5: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88
from ._elemwise import GpuElemwise, arg
/home/andysun100800/anaconda2/envs/nndial/lib/python2.7/site-packages/theano/gpuarray/blas.py:19: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88
from pygpu import blas
/home/andysun100800/nndial/NNDIAL/nn/encoder.py:111: UserWarning: DEPRECATION: the 'ds' parameter is not going to exist anymore as it is going to be replaced by the parameter 'ws'.
ignore_border=False)
/home/andysun100800/nndial/NNDIAL/nn/tracker.py:98: UserWarning: DEPRECATION: If x is a vector, Softmax will not automatically pad x anymore in next releases. If you need it, pleasedo it manually. The vector case is gonna be supported soon and the output will be a vector.
b_j = T.nnet.softmax( g_j )[0,:]
including informable tracker loss ...
including informable tracker loss ...
including informable tracker loss ...
/home/andysun100800/nndial/NNDIAL/nn/tracker.py:222: UserWarning: DEPRECATION: If x is a vector, Softmax will not automatically pad x anymore in next releases. If you need it, please do it manually. The vector case is gonna be supported soon and the output will be a vector.
b_j = T.nnet.softmax( g_j )[0,:]
including requestable tracker loss ...
including requestable tracker loss ...
including requestable tracker loss ...
including requestable tracker loss ...
including requestable tracker loss ...
including requestable tracker loss ...
including OfferChange tracker loss ...
gradient w.r.t inftrk
gradient w.r.t reqtrk
I have some problems: when I use python nndial.py -config config/tracker.cfg -mode train it prompt me: loading model settings from config file ... prepare slot value templates ... formatting DB ... setting up vocab, finishing ... 99.85% semi-supervised action examples: 0.00% loading semi labels from file ... finishing 100.00% Corpus VMC : 97.34% Corpus Success : 91.57%
=============== Data statistics
Train : 405 Valid : 135 Test : 136
Voc : 598
Venue : 68
setting network structures using theano variables ... init n2n SDS ... init rnn requestable trackers ... init OfferChange tracker ... init rnn informable trackers ... init normal policy network ... loss function /home/andysun100800/anaconda2/envs/nndial/lib/python2.7/site-packages/pygpu/init.py:7: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88 from . import gpuarray, elemwise, reduction /home/andysun100800/anaconda2/envs/nndial/lib/python2.7/site-packages/pygpu/elemwise.py:5: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88 from ._elemwise import GpuElemwise, arg /home/andysun100800/anaconda2/envs/nndial/lib/python2.7/site-packages/theano/gpuarray/blas.py:19: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88 from pygpu import blas /home/andysun100800/nndial/NNDIAL/nn/encoder.py:111: UserWarning: DEPRECATION: the 'ds' parameter is not going to exist anymore as it is going to be replaced by the parameter 'ws'. ignore_border=False) /home/andysun100800/nndial/NNDIAL/nn/tracker.py:98: UserWarning: DEPRECATION: If x is a vector, Softmax will not automatically pad x anymore in next releases. If you need it, pleasedo it manually. The vector case is gonna be supported soon and the output will be a vector. b_j = T.nnet.softmax( g_j )[0,:] including informable tracker loss ... including informable tracker loss ... including informable tracker loss ... /home/andysun100800/nndial/NNDIAL/nn/tracker.py:222: UserWarning: DEPRECATION: If x is a vector, Softmax will not automatically pad x anymore in next releases. If you need it, please do it manually. The vector case is gonna be supported soon and the output will be a vector. b_j = T.nnet.softmax( g_j )[0,:] including requestable tracker loss ... including requestable tracker loss ... including requestable tracker loss ... including requestable tracker loss ... including requestable tracker loss ... including requestable tracker loss ... including OfferChange tracker loss ... gradient w.r.t inftrk gradient w.r.t reqtrk
how to solve this problem?