thushv89 / exercises_thushv_dot_com

Here lies all the exercises I implement and share in my website

Home Page:http://www.thushv.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

This repository holds various ML examples related to the articles I write about in the ML blog. This repository has been dockerised so that the code can be run by following the procedure outlined below.

Docker image dependency tree

 |-- ml-tensorflow-gpu-thushv89
 |-- ml-tensorflow-thushv89```
 
## Building docker image
`docker build -t <image_name> --build-arg NB_USER=$(whoami) --build-arg GPU_SUPPORT=<is GPU available> --build-arg NB_UID=$(id -u) --build-arg NB_GID=$(id -g) utils.docker/`

## Running the Docker container
`docker run -it -d --rm --init --user=$(whoami) -p <host_port>:8888 -v $(pwd):/home/$(whoami) <image_name>:latest jupyter notebook`

## Accessing via web browser
1. `<docker-machine ip>:<host_port>`
2. Enter the notebook token by:
	* Enter to the container via `docker exec -it <contaienr_id> /bin/bash`
	* Run `jupyter notebook list` to get the token

About

Here lies all the exercises I implement and share in my website

http://www.thushv.com


Languages

Language:Jupyter Notebook 99.9%Language:Dockerfile 0.1%Language:Python 0.0%