Lecture 8 | Deep Learning Software


[cv231n] Lecture 8 | Deep Learning Software

[cv231n] Lecture 8 | Deep Learning Software

 Deep Learning Software

GPUs are really good for parallel things where you need to do many things at the same time.

[cv231n] Lecture 8 | Deep Learning Software

the dot product of two vectors

[cv231n] Lecture 8 | Deep Learning Software

CUDA can process deep learning in a efficiencies way. (cuDNN libraries)

[cv231n] Lecture 8 | Deep Learning Software

GPU vs CPU in practice

[cv231n] Lecture 8 | Deep Learning Software

Deeplearning framework

[cv231n] Lecture 8 | Deep Learning Software

The point of deep learning frameworks

[cv231n] Lecture 8 | Deep Learning Software

Numpy cs PyTorch

Numpy bad:

  • can't run on GPU
  • Have to compute our own gradients
     

[cv231n] Lecture 8 | Deep Learning Software

 

Tensorflow

[cv231n] Lecture 8 | Deep Learning Software

 Problem: copying weights between CPU / GPU each step

 

[cv231n] Lecture 8 | Deep Learning Software

 Problem: loss not going down! Assign calls not actually being executed!

[cv231n] Lecture 8 | Deep Learning Software

TensorFlow: Loss
 

[cv231n] Lecture 8 | Deep Learning Software

TensorFlow: Layers

[cv231n] Lecture 8 | Deep Learning Software

Keras: High-Level Wrapper
 

[cv231n] Lecture 8 | Deep Learning Software

TF package

Keras (https://keras.io/)
tf.keras (https://www.tensorflow.org/api_docs/python/tf/keras)
tf.layers (https://www.tensorflow.org/api_docs/python/tf/layers)
tf.estimator (https://www.tensorflow.org/api_docs/python/tf/estimator)
tf.contrib.estimator (https://www.tensorflow.org/api_docs/python/tf/contrib/estimator)
tf.contrib.layers (https://www.tensorflow.org/api_docs/python/tf/contrib/layers)
tf.contrib.slim (https://github.com/tensorflow/tensorflow/tree/master/tensorflow/contrib/slim)
tf.contrib.learn (https://www.tensorflow.org/api_docs/python/tf/contrib/learn)
TFLearn (http://tflearn.org/)
TensorLayer (http://tensorlayer.readthedocs.io/en/latest/)


PyTorch

[cv231n] Lecture 8 | Deep Learning Software

PyTorch: Tensors

[cv231n] Lecture 8 | Deep Learning Software

 PyTorch: Autograd

[cv231n] Lecture 8 | Deep Learning Software

PyTorch: New Autograd Functions

[cv231n] Lecture 8 | Deep Learning Software

 

[cv231n] Lecture 8 | Deep Learning Software

PyTorch: nn

[cv231n] Lecture 8 | Deep Learning Software

PyTorch: opti

[cv231n] Lecture 8 | Deep Learning Software

PyTorch: nn Define new Modules
 

[cv231n] Lecture 8 | Deep Learning Software

PyTorch: DataLoaders

[cv231n] Lecture 8 | Deep Learning Software

PyTorch: Pretrained Models

[cv231n] Lecture 8 | Deep Learning Software

PyTorch: Visdom

[cv231n] Lecture 8 | Deep Learning Software

PyTorch: Dynamic Computation Graphs

[cv231n] Lecture 8 | Deep Learning Software

[cv231n] Lecture 8 | Deep Learning Software


Static vs Dynamic

Static vs Dynamic: Graphs

[cv231n] Lecture 8 | Deep Learning Software

[cv231n] Lecture 8 | Deep Learning Software

[cv231n] Lecture 8 | Deep Learning Software

Static vs Dynamic: Conditional

[cv231n] Lecture 8 | Deep Learning Software

Static vs Dynamic: Loops

[cv231n] Lecture 8 | Deep Learning Software

Dynamic Graph Applications

[cv231n] Lecture 8 | Deep Learning Software

PyTorch vs TensorFlow, Static vs Dynamic

[cv231n] Lecture 8 | Deep Learning Software


Caffe

[cv231n] Lecture 8 | Deep Learning Software

 

 

 

 

 

相关文章:

  • 2021-12-25
  • 2021-04-15
  • 2022-01-08
  • 2021-11-24
  • 2021-10-15
  • 2019-01-21
  • 2022-01-02
  • 2022-12-23
猜你喜欢
  • 2021-05-15
  • 2021-08-16
  • 2021-07-04
  • 2021-04-06
  • 2021-10-21
  • 2021-12-07
  • 2021-11-10
相关资源
相似解决方案