Skip to content

Commit

Permalink
latest presentation
Browse files Browse the repository at this point in the history
  • Loading branch information
cpmpercussion committed Nov 19, 2018
1 parent a9c8b5d commit 99572c5
Show file tree
Hide file tree
Showing 8 changed files with 72 additions and 9 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
81 changes: 72 additions & 9 deletions docs/presentations/deep-learning-on-cloud/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -130,23 +130,22 @@

<section data-markdown>
<textarea data-template>
## Example: Robojam

<img align="center" width="75%" src="img/robojam-application.png">
# Example: Robojam

Here's an example of these different levels using RoboJam, one of my deep learning projects.
<img align="center" width="20%" src="img/microjam-iphone8-robojam.png">

</textarea>
</section>


<section data-markdown>
<textarea data-template>
## Example: Robojam

- Keras project
- Deployed as a web application
- receives 5s performances in
- returns a new 5s performance
<img align="center" width="75%" src="img/robojam-application.png">

RoboJam is a Keras project, now deployed as a Flask web application.

</textarea>
</section>

Expand All @@ -156,8 +155,34 @@

- Developed on local shared workstation
- Also worked on Colaboratory
- Important trick: `ssh -L 8888:localhost:8888`
- Tips:
- keep jupyter sessions around with `screen`
- tunnel jupyter port with `ssh -L 8888:localhost:8888`
- Could also use Google Cloud VMs with GPUs for short training runs

</textarea>
</section>

<section data-markdown>
<textarea data-template>
## Starting point: IaaS + PaaS

<img align="center" width="30%" src="img/deep-learning-vm-image.png">

- Can use VMs and Containers for DL development
- [Google's "Cloud Deep Learning VM Image"](https://cloud.google.com/deep-learning-vm/)
- Comes with `jupyterhub` running to do development in a browser.
- Expensive for a good machine: K80 GPU 0.45USD/h

</textarea>
</section>

<section data-markdown>
<textarea data-template>
## SaaS Architecture on Colab

![](img/robojam-cloud-architecture-colab.png)

</textarea>
</section>

Expand All @@ -170,9 +195,12 @@
- Send performance as JSON to that endpoit
- robojam RNN model is conditioned with input, then a continuation is predicted.
- prediction returned as JSON
- "[Deploying DL models with Flask](https://towardsdatascience.com/deploying-keras-deep-learning-models-with-flask-5da4181436a2)"
</textarea>
</section>



<section data-markdown>
<textarea data-template>
## Production: Deploying to DigitalOcean
Expand All @@ -185,6 +213,16 @@
</textarea>
</section>

<section data-markdown>
<textarea data-template>
## IaaS Architecture on DigitalOcean

![](img/robojam-cloud-architecture-vm.png)

</textarea>
</section>


<section data-markdown>
<textarea data-template>
## Containerising: Docker
Expand Down Expand Up @@ -229,6 +267,16 @@
</textarea>
</section>

<section data-markdown>
<textarea data-template>
## Containerised Architecture with Docker

![](img/robojam-cloud-architecture-docker.png)

</textarea>
</section>


<section data-markdown>
<textarea data-template>
## Deploying to Kubenetes
Expand All @@ -252,6 +300,15 @@
</textarea>
</section>

<section data-markdown>
<textarea data-template>
## Micro-Service Architecture with Kubernetes

![](img/robojam-cloud-architecture-kubenetes.png)

</textarea>
</section>

<section data-markdown>
<textarea data-template>
## Conclusion
Expand All @@ -265,6 +322,12 @@
</textarea>
</section>

<section data-markdown>
<textarea data-template>
## Extra links

- [Maximise your GPU Dollars](https://towardsdatascience.com/maximize-your-gpu-dollars-a9133f4e546a)

</div>
</div>

Expand Down

0 comments on commit 99572c5

Please sign in to comment.