What versions of python,theano,keras and tensorflow did you use? I am facing issues with tensorflow.
bourne-3 opened this issue · 9 comments
What versions of python,theano,keras and tensorflow did you use? I am facing issues with tensorflow.
Originally posted by @nahos in #13 (comment)
i want to ask this same Question.Has anyone do me a favor?
i want to ask this same Question.Has anyone do me a favor?
You should modify the change in commit, it seems that the author didn't push his commit.
python2.7
pip install keras==1.1.0
pip install theano==1.0.5
pip install graphviz==0.16
Centos pydot need steps:
1、yum install graphviz
2、pip install graphviz
3、pip install pydotplus
cd /root/anaconda3/envs/dlpython27/lib/python2.7/site-packages
mv pydotplus pydot
cd pydot
vi parser.py
import pydotplus
修改为
import pydot
我是去年弄的,后台是theano!我的电脑没有GPU,所以没试过,另你查一下python2.7这个版本对tf好像不支持?
…
-- 致 礼 guirong @.*** 在 2022-04-13 11:44:41,"yyp" @.> 写道: 我装了gpu的tf他还是不用gpu怎么办? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.>
我搞定了,我把backend换成tf就可以了。目前是tf1.9.0 keras2.2.0
论文较早,用的是python2.7 ,你若用python3,对原文件要稍作修改!发自我的华为手机-------- 原始邮件 --------发件人: Baku1210 @.>日期: 2022年4月16日周六 中午12:08收件人: nusnlp/nea @.>抄送: guirongc @.>, Comment @.>主 题: Re: [nusnlp/nea] What versions of python,theano,keras and tensorflow did you use? I am facing issues with tensorflow. (#17) 请问,您用的是python3吗。我想用python3跑但是报了很多错 —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>
我用的python2.7.13 。也试过用python3,需要改一些地方就行了 例如ideritems 改为items 等。
非常感谢两位!我将试着更新文件里的函数以适应python3