Code Monkey home page Code Monkey logo

tidyverse_dl's Introduction

Docker image for deep learning

Docker Build Status

The image is based on rocker/tidyverse, with continuumio/miniconda3 chained on top. The conda environment is then built using dl_env_linux.yml from Udacity's deep-learning repo. Lastly, the R package rstudio/tensorflow is installed.

Jupyter notebook

To start a Jupyter Notebook:

$ docker run -it -v $PWD:/opt/nb -p 8888:8888 felixleung/tidyverse_dl /bin/bash -c "source activate dl && mkdir -p /opt/nb && jupyter notebook --notebook-dir=/opt/nb --ip='0.0.0.0' --port=8888 --no-browser"

Then simply follow the prompt.

RStudio

To start RStudio:

$ docker run -d -p 8787:8787 -v $PWD:/home/rstudio -e ROOT=TRUE felixleung/tidyverse_dl /bin/bash -c "source activate dl && /init"

Then in the browser go to http://localhost:8787/ and sign in.

It is necessary to then specify the conda env:

library(tensorflow)
use_condaenv("dl", conda = "/opt/conda/envs/dl/bin/conda", required = TRUE)

To verify everything is working:

sess = tf$Session()
hello <- tf$constant('Hello, TensorFlow!')
sess$run(hello)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.