- 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.
推薦閱讀
- Mastering Hadoop 3
- 中文版Photoshop CS5數(shù)碼照片處理完全自學(xué)一本通
- Canvas LMS Course Design
- 傳感器技術(shù)實驗教程
- 空間機(jī)器人遙操作系統(tǒng)及控制
- 精通Windows Vista必讀
- 網(wǎng)上生活必備
- C語言開發(fā)技術(shù)詳解
- Spark大數(shù)據(jù)技術(shù)與應(yīng)用
- Moodle Course Design Best Practices
- 信息物理系統(tǒng)(CPS)測試與評價技術(shù)
- SMS 2003部署與操作深入指南
- 電子設(shè)備及系統(tǒng)人機(jī)工程設(shè)計(第2版)
- 工業(yè)機(jī)器人入門實用教程
- 微機(jī)組裝與維護(hù)教程