基于RNN技术的**古诗词生成器
python:3.6
tensorflow:1.2.0
python generator.py --mode train
python generator.py 或者 python generator.py --mode sample
python generator.py --mode sample --head 明月别枝惊鹊
python generator.py --help
usage: generator.py [-h] [--mode MODE] [--head HEAD]
optional arguments:
-h, --help show this help message and exit
--mode MODE usage: train or sample, sample is default
--head HEAD 生成藏头诗