@@ -56,12 +56,16 @@ sh Anaconda3-5.2.0-Linux-x86_64.sh
56
56
# and follow the prompts. The defaults are generally good.`
57
57
```
58
58
59
- <div id =" screencast " >
60
- <script src =" https://asciinema.org/a/SRbIn2nFnsUiYtlIcUsDVXN4n.js " id =" asciicast-SRbIn2nFnsUiYtlIcUsDVXN4n " data-speed =" 3 " async ></script >
59
+ > You may have to open a new terminal or re-source your ` ~/.bashrc ` to get access to the ` conda ` command.
60
+
61
+ <div >
62
+ <a href =" javascript:void(0); " class =" btn btn-lg btn-green with-right-arrow show-screencast " >Show Demo</a >
63
+ <div class =" screencast " >
64
+ <script src="https://asciinema.org/a/SRbIn2nFnsUiYtlIcUsDVXN4n.js" id="asciicast-SRbIn2nFnsUiYtlIcUsDVXN4n" data-speed="3" async></script>
65
+ <a href="javascript:void(0);" class="btn btn-lg btn-green show-info with-left-arrow">Hide Demo</a>
66
+ </div >
61
67
</div >
62
68
63
- > You may have to open a new terminal or re-source your ` ~/.bashrc ` to get access to the ` conda ` command
64
-
65
69
#### pip
66
70
67
71
* Python 3*
@@ -94,8 +98,12 @@ To install PyTorch via Anaconda, and do not have a [CUDA-capable](https://develo
94
98
conda install pytorch-cpu torchvision-cpu -c pytorch
95
99
```
96
100
97
- <div id =" screencast " >
98
- <script src =" https://asciinema.org/a/wtojk0bqpUDIb3yIHUsZqD9Ha.js " id =" asciicast-wtojk0bqpUDIb3yIHUsZqD9Ha " data-speed =" 3 " async ></script >
101
+ <div >
102
+ <a href =" javascript:void(0); " class =" btn btn-lg btn-green with-right-arrow show-screencast " >Show Demo</a >
103
+ <div class =" screencast " >
104
+ <script src="https://asciinema.org/a/wtojk0bqpUDIb3yIHUsZqD9Ha.js" id="asciicast-wtojk0bqpUDIb3yIHUsZqD9Ha" data-speed="3" async></script>
105
+ <a href="javascript:void(0);" class="btn btn-lg btn-green show-info with-left-arrow">Hide Demo</a>
106
+ </div >
99
107
</div >
100
108
101
109
#### CUDA 9.0
@@ -106,8 +114,12 @@ To install PyTorch via Anaconda, and you are using CUDA 9.0, use the following `
106
114
conda install pytorch torchvision -c pytorch
107
115
```
108
116
109
- <div id =" screencast " >
110
- <script src =" https://asciinema.org/a/HaCIxmYVEd8xGRAKsDu9hv9up.js " id =" asciicast-HaCIxmYVEd8xGRAKsDu9hv9up " data-speed =" 5 " async ></script >
117
+ <div >
118
+ <a href =" javascript:void(0); " class =" btn btn-lg btn-green with-right-arrow show-screencast " >Show Demo</a >
119
+ <div class =" screencast " >
120
+ <script src="https://asciinema.org/a/HaCIxmYVEd8xGRAKsDu9hv9up.js" id="asciicast-HaCIxmYVEd8xGRAKsDu9hv9up" data-speed="5" async></script>
121
+ <a href="javascript:void(0);" class="btn btn-lg btn-green show-info with-left-arrow">Hide Demo</a>
122
+ </div >
111
123
</div >
112
124
113
125
#### CUDA 8.x
@@ -257,8 +269,12 @@ import torch
257
269
torch.cuda.is_available();
258
270
```
259
271
260
- <div id =" screencast " >
261
- <script src =" https://asciinema.org/a/15dyZZvvakqbfKgfh2LByMkXz.js " id =" asciicast-15dyZZvvakqbfKgfh2LByMkXz " data-speed =" 2 " async ></script >
272
+ <div >
273
+ <a href =" javascript:void(0); " class =" btn btn-lg btn-green with-right-arrow show-screencast " >Show Demo</a >
274
+ <div class =" screencast " >
275
+ <script src="https://asciinema.org/a/15dyZZvvakqbfKgfh2LByMkXz.js" id="asciicast-15dyZZvvakqbfKgfh2LByMkXz" data-speed="2" async></script>
276
+ <a href="javascript:void(0);" class="btn btn-lg btn-green show-info with-left-arrow">Hide Demo</a>
277
+ </div >
262
278
</div >
263
279
264
280
## Building from source
0 commit comments