jingweimo的个人博客分享 http://blog.sciencenet.cn/u/jingweimo

博文

Tensorflow: ptw_word_lm.py implementation

已有 3382 次阅读 2017-7-1 08:35 |系统分类:科研笔记

## Anaconda prompt

#1) updating

activate tensorflow-gpu

conda update --all


#2) restart PC


#3) implemenation

#Anaconda promp

activate tensorflow-gpu

#cd: ptb directory

python ptb_word_lm.py --data_path=D:simple-examplesdata


The data required for this example is in the data/ dir of the
PTB dataset from Tomas Mikolov's webpage:
$ wget http://www.fit.vutbr.cz/~imikolov/rnnlm/simple-examples.tgz
$ tar xvf simple-examples.tgz





Sources:

https://www.tensorflow.org/tutorials/recurrent

http://so.csdn.net/so/search/s.do?ref=toolbar&q=ptb_word_lm.py&ref=toolbar&q=ptb_word_lm.py

http://people.ict.usc.edu/~roemmele/publications/keras_rnn_demo.html

https://github.com/jarfo/kchar

https://github.com/fchollet/keras/issues/1132




https://blog.sciencenet.cn/blog-578676-1063948.html

上一篇:Tensorflow in Windows with Anaconda2 for Python3
下一篇:Class hierarchy and inheritance
收藏 IP: 35.10.57.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-9-27 08:33

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部