Closed genbei closed 4 years ago
Sorry for the late reply.
You should install torch with version=0.4.1 (better use conda install).
The fairseq website pointed out that PyTorch version >= 1.4.0 Python version >= 3.6 So I installed pytorch1.6 first And I also downloaded torch 0.4.1 in pipinstall-r requirements.txt. Excuse me, did you pay attention to anything during installation And I can't use git clone
------------------ 原始邮件 ------------------ 发件人: "teslacool/SCA" <notifications@github.com>; 发送时间: 2020年7月31日(星期五) 晚上8:28 收件人: "teslacool/SCA"<SCA@noreply.github.com>; 抄送: "推杯换盏"<374481729@qq.com>;"State change"<state_change@noreply.github.com>; 主题: Re: [teslacool/SCA] Install fairseq error (#19)
Sorry for the late reply.
You should install torch with version=0.4.1 (better use conda install).
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or unsubscribe.
The fairseq website is the newest version, while our codebase is based on fairseq 0.6.0. So, the required pytorch versions are different.
When you installed torch 0.4.1 with pip, you got the error, "torch 0.4.1 not found". So I suggest you to install it with conda.
Thank you very much for your answer. I see Wish all the best
------------------ 原始邮件 ------------------ 发件人: "teslacool/SCA" <notifications@github.com>; 发送时间: 2020年7月31日(星期五) 晚上9:55 收件人: "teslacool/SCA"<SCA@noreply.github.com>; 抄送: "推杯换盏"<374481729@qq.com>;"State change"<state_change@noreply.github.com>; 主题: Re: [teslacool/SCA] Install fairseq error (#19)
The fairseq website is the newest version, while our codebase is based on fairseq 0.6.0. So, the required pytorch versions are different.
When you installed torch 0.4.1 with pip, you got the error, "torch 0.4.1 not found". So I suggest you to install it with conda.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or unsubscribe.
pip install -r requirements.txt
python setup.py build develop
and