首先,我使用macOS(High Serria 10.13.6),并安装了我的docker。 我已经在shell中实现了以下命令
docker pull microsoft/cntk:2.5.1-cpu-python3.5
docker run -d -p 8888:8888 --name cntk-jupyter-notebooks -t microsoft/cntk
docker exec -it cntk-jupyter-notebooks bash -c "source /cntk/activate-cntk && jupyter-notebook --no-browser --port=8888 --ip=0.0.0.0 --notebook-dir=/cntk/Tutorials --allow-root"
然后我收到了以下反馈:
++++++++++++++++++++++++++++++++++++++++++
Copy/paste this URL into your browser when you connect for the first time,
to login with a token:
http://0.0.0.0:8890/?token=ecd25750b4aaf098140ee3ccf7941c4414a36efebf67fcb0
++++++++++++++++++++++++++++++++++++++++++
在几周前,我所做的只是将URL粘贴到浏览器中。然后可以运行cntk。但是现在,当我粘贴它时,它仅将我定向到(普通的)Anaconda-Jupyter-Notebook。而且我根本无法导入cntk。
请帮助!
参考:https://docs.microsoft.com/en-us/cognitive-toolkit/cntk-docker-containers