Skip to content

Commit b21adad

Browse files
authored
Create windows_torch_en.md
1 parent f21d06e commit b21adad

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

docs/windows_torch_en.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Windows Platform Installation for PyTorch
2+
3+
If Linux, Mac directly use pytorch from [homepage](http://pytorch.org/), and reinstall TorchText
4+
5+
## Python installation
6+
Please install anaconda directly: [installation package](https://repo.continuum.io/archive/Anaconda3-5.0.1-Windows-x86_64.exe)
7+
8+
## Pytorch installation
9+
In[Baidu Network Disk](https://pan.baidu.com/s/1dF6ayLr#list/path=%2Fpytorch) download offline, Version 0.3 or 0.2 wheels
10+
<pre><code>pip install torch0.3XXX.whl</code></pre>
11+
12+
If it is a conda installation environment
13+
<pre><code>conda install --offline torch0.3XXX.tar.bz</code></pre>
14+
15+
## TorchText installation
16+
17+
The assumption is that you have git and pip, if you don't, you need to download git and put it in the Path environment variable.
18+
<pre><code>pip install git+https://github.com/pytorch/text.git </code></pre>
19+
20+
If you need a proxy,
21+
<pre><code>pip install git+https://github.com/pytorch/text.git --proxy proxy.xx.com:8080 </code></pre>
22+
23+
24+
Reference Link:
25+
https://zhuanlan.zhihu.com/p/31747695

0 commit comments

Comments
 (0)