功能:对对联,输入上联得到下联。
网络:CNN+GRU+Attention
环境:python3.7 + PyTorch 1.3.1
环境安装
安装anaconda环境:AIPyTorch13
cd
source /home/zyb/zyb/anaconda3/etc/profile.d/conda.sh
cd
conda create --name AIPyTorch13 python=3.7.4 ipykernel
安装第三方包
cd
source /home/zyb/zyb/anaconda3/etc/profile.d/conda.sh
conda activate AIPyTorch13
pip install msgpack
pip install jupyter
pip install torch==1.3.1
pip install torchvision==0.2.1
pip install matplotlib
pip install numpy==1.19.5
pip install scipy
pip install pytest
pip install tqdm
pip install tensorboardX
pip install tensorflow-gpu==2.2.0
conda install cudatoolkit=10.1
pip install gensim
pip install jieba
pip in