- Keras Deep Learning Cookbook
- Rajdeep Dua Manpreet Singh Ghotra
- 150字
- 2021-06-10 19:38:48
Installing the Docker container with the host volume mapped
In this section, we look at how to map the local volume $(pwd)/keras-samples to the work directory in the container.
- Execute the note -v flag command, which does the volume mapping:
docker run -d -v /$(pwd)/keras-samples:/home/jovyan/work \
-p 8888:8888 rajdeepd/jupyter-keras start-notebook.sh --NotebookApp.token=''
If you go to the URL, you will notice the sample page being displayed.
- If you got /$(pwd)/keras-samples, you will notice that the Notebooks are available in the host directory, and they also can be seen being loaded by Jupyter:
rdua1-ltm:keras-samples rdua$ pwd
/Users/rdua/personal/keras-samples
rdua1-ltm:keras-samples rdua$ ls
MNIST CNN.ipynb sample_one.ipynb

If you open MNIST CNN.ipynb, it is a Keras CNN sample, which we will learn more about in the subsequent chapters.
In this recipe, we used the Docker image rajdeepd/jupyter-keras to create a Keras environment and access it from Jupyter running in the host environment.
推薦閱讀
- Unreal Engine:Game Development from A to Z
- 工業機器人產品應用實戰
- PostgreSQL 11 Server Side Programming Quick Start Guide
- Getting Started with Clickteam Fusion
- 影視后期制作(Avid Media Composer 5.0)
- Learning Social Media Analytics with R
- Visual C# 2008開發技術實例詳解
- 視覺檢測技術及智能計算
- 基于多目標決策的數據挖掘方法評估與應用
- 大數據驅動的機械裝備智能運維理論及應用
- INSTANT Heat Maps in R:How-to
- Dreamweaver CS6中文版多功能教材
- 啊哈C!思考快你一步
- 計算機組成與操作系統
- Apache源代碼全景分析(第1卷):體系結構與核心模塊