You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Warning: this guide has not been updated since we migrated away from Theano/Lasagne, which happened a long time ago.**
2
2
3
-
## Create EC2 instance
3
+
# How to set up an Amazon EC2 GPU instance
4
+
5
+
## Create an instance
4
6
5
7
Use `p2.xlarge` instance type and `ami-e00a8180` AMI image. [Details](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EC2_GetStarted.html)
6
8
7
-
Open ports `22` (ssh) and `80` (http) on your freshly created instance,
8
-
you create a [security group](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html)
9
-
and attach it your instance to get ports open
9
+
Open ports `22` (ssh) and `80` (http) on your freshly created instance, then create a [security group](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html) and attach it to your instance to get the ports open.
10
10
11
11
## Launch notebook
12
12
13
-
Instance you have created contains all you need: fresh versions of theano, lasagne, CUDA driver and cuDNN,
14
-
just lunch ipython and get hands dirty:
13
+
The instance you have created contains all you need: fresh versions of theano, lasagne, CUDA driver and cuDNN,
__Note:__ This week's materials cover the basics of neural nets and deep learning and teach you how to use auto-diff frameworks. If you're already fluent in tensorflow OR pytorch OR theano - feel free to skip this week entirely..
1
+
__Note:__ This week's materials cover the basics of neural nets and deep learning and teach you how to use auto-diff frameworks. If you're already fluent in Tensorflow or PyTorch, feel free to skip this week entirely.
From now on, we'll have two tracks: Tensorflow and PyTorch.
35
33
36
-
Please pick seminar_theano.ipynb, seminar_tensorflow.ipynb or seminar_pytorch.ipynb.
34
+
Please pick `seminar_tensorflow.ipynb` or `seminar_pytorch.ipynb`.
37
35
38
36
__Note:__ in this and all following weeks you're only required to get through practice in _one_ of the frameworks. Looking into other alternatives is great for self-education but never mandatory.
39
37
40
38
#### What to choose?
41
39
* The simplest choice is PyTorch: it's basically ye olde numpy with automatic gradients and a lot of pre-implemented DL stuff... except all the functions have different names.
42
40
* If you want to be familiar with production-related stuff from day 1, choose TensorFlow. It's much more convenient to deploy (to non-python or to mobiles). The catch is that all those conveniences become inconveniences once you want to write something simple in jupyter.
43
-
* Theano works like tensorflow but it offers a numpy-compatible interface and comes with built-in graph optimization. The payoff is that theano is not as popular as the first two. It is also not meant as a producton framework so deploying to mobiles may be a problem.
44
41
45
42
* It's not like choosing house at Hogwarts, you'll be able to switch between frameworks easily once you master the underlying principles.
0 commit comments