Session #1
- Tensors - Data Structures of Deep Learning
- DL framework and scientific computing package
- tensor nd array
- numpy goto package for nd array
- Interoperable with numpy
- Torch based on Lua Programming Language
- Now maintained by Facebook
- Pytorch packages
- torch - Top level package
- torch.nn - Build neural networks
- torch.autograd - Differentiable tensor operations - Derivative Calculations
- torch.nn.functional - loss, activation and convolution functions
- torch.optim - Optimization operations like SGD and Adam
- torchvision - image transformations of computer vision
- torch.utils - Dealing with Datasets
- Preferred framework for research
- For computing derivatives, computation graph
- pytorch uses dynamic computation graph
- Anaconda python package manager
- conda install Pytorch -c Pytorch
- pip install torchvision
- cuda 9.0 is stable
- install pytorch and torchvision
- conda list pytorch
- Data + Knowledge + Architecture = Enormous Software
- GPU - Graphics Processing Unit
- Good at handling Specialized Computing
- Parallel Computing
- Smaller computation carried out simultaneously
- NN are embarrassingly Parallel
- Optimize across the entire stack
- Cuda toolkit
- GPU + Libraries
- Supported nvidia gpu
- Much of Pytorch written in Python
- Move critical functions to c/c++
- pytorch supports multiple gpus
- GPU (CUDA - cuDNN) - Pytorch on top of Cuda
- Technology built on top of layers
- Paper (GPGPU Computing)
Happy Mastering DL!!!
No comments:
Post a Comment