
Tensorflow 深度学习
W&J
读好代码,写好代码。新人小白一枚
展开
-
无法连接NVIDIA驱动:NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver
NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver重启服务器之后就出现连接不上NVIDIA驱动的情况。这个时候tensorflow还是可以运行的,但只是在用cpu跑。安装gpu版的TensorFlow时,也显示已安装。nvidia-smiNVIDIA-SMI has failed becau...原创 2019-01-21 12:09:34 · 111938 阅读 · 107 评论 -
Seq2Seq Tensorflow 实现之数据处理
一、数据处理代码地址:https://github.com/Wang-Anna (稍后会上传代码)1、实现中文、英文的分词 2、创建字典、以实现单词和索引之间的转换1.英文分词:WORD_SPLIT= r'[,.!?/\':;\")(]'def en_tokenize(sentence): """split the sentence with WORD_SPLI...原创 2018-04-15 20:14:14 · 591 阅读 · 0 评论