python
关键词对联
_
对联(代码
1
:
CNN+GRU+Attention
?
络、
PyTorch
)
功能:对对联,输?上联得到下联。
?络: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 install pypinyin
conda install yaml
pip install easydict
pip install numpy
读完这篇文章后,您心情如何?