首页 > 代码库 > encoder-decoder环境部署问题

encoder-decoder环境部署问题

pip -v    2.7 

cp -r pip2.7 pip 

pip list

appdirs (1.4.3)
cycler (0.10.0)
distribute (0.7.3)
extern (0.1.0)
funcsigs (1.0.2)
h5py (2.7.0)
Keras (1.2.2)
matplotlib (1.5.2)
mock (2.0.0)
numpy (1.12.1)
packaging (16.8)
pbr (2.0.0)
pip (9.0.1)
protobuf (3.2.0)
pyparsing (2.2.0)
pyrouge (0.1.3)
python-dateutil (2.6.0)
pytz (2017.2)
PyYAML (3.12)
recurrentshop (0.0.1)
requests (2.12.4)
scikit-learn (0.17.1)
scipy (0.19.0)
seq2seq (0.1.0)
setuptools (0.9.6)
six (1.10.0)
sklearn (0.0)
tensorflow (1.0.1)
Theano (0.8.2)
vine (1.1.3)
wheel (0.29.0)

缺少 GLIBCXX

从网上下载libstdc++.so.6.0.21 

strings /usr/lib64/libstdc++.so.6 | grep GLIBC
 rm libstdc++.so.6
 ln -s libstdc++.so.6.0.21 libstdc++.so.6
 strings /usr/lib64/libstdc++.so.6 | grep GLIBC

缺少seq2seq

sudo pip install git+https://github.com/farizrahman4u/seq2seq.git

缺少layers decoder从网上下载layers

下载 recurrentshop

 

encoder-decoder环境部署问题