|
11 | 11 | "cell_type": "markdown", |
12 | 12 | "metadata": {}, |
13 | 13 | "source": [ |
14 | | - "With the launch of OpenVINO AMI, the OpenVINO Deep Learning Workbench is launched automatically with authentication enabled. Running the following cells will help you retreive the authentication token.\n", |
| 14 | + "- With the launch of OpenVINO AMI, the OpenVINO Deep Learning Workbench is launched automatically with authentication enabled. Running the following cells will help you retreive the **OpenVINO DL Workbench URL and authentication token.**\n", |
15 | 15 | "\n", |
16 | | - "### [Click here for more detailed information](https://docs.openvinotoolkit.org/latest/workbench_docs_Workbench_DG_Authentication.html)" |
| 16 | + "- ### [Click here for more detailed information](https://docs.openvinotoolkit.org/latest/workbench_docs_Workbench_DG_Authentication.html)" |
17 | 17 | ] |
18 | 18 | }, |
19 | 19 | { |
20 | 20 | "cell_type": "markdown", |
21 | 21 | "metadata": {}, |
22 | 22 | "source": [ |
23 | | - "### Retrieve Token from the OpenVINO DL workbench docker container\n", |
24 | | - "Run the the following cell to get the token.\n", |
25 | | - "#### NOTE: If you get `No such file or directory` error, please try again after 1 min, as the docker container is still booting up." |
| 23 | + "## Launch OpenVINO Deep Learning Workbench \n", |
| 24 | + "- **Goto [http://\\<Your-EC2-Instance-IP\\>:5665](#) to launch.**\n", |
| 25 | + "- Run the the following cell to get the **OpenVINO DL Workbench URL and authentication token.**\n", |
| 26 | + "#### NOTE: If you get `No such file or directory` error, please try again after 1 min, as the docker container is still booting up.\n" |
26 | 27 | ] |
27 | 28 | }, |
28 | 29 | { |
|
31 | 32 | "metadata": {}, |
32 | 33 | "outputs": [], |
33 | 34 | "source": [ |
34 | | - "!docker exec workbench cat /home/workbench/.workbench/token.txt" |
| 35 | + "%%sh\n", |
| 36 | + "dl_workbench_token=`docker exec workbench cat /home/workbench/.workbench/token.txt`\n", |
| 37 | + "ec2_instance_public_ip=`cat /home/ec2-user/.public-ipv4.txt`\n", |
| 38 | + "echo \"OpenVINO DL Workbench URL: http://$ec2_instance_public_ip:5665/\"\n", |
| 39 | + "echo -e \"\\nToken for both DL Workbench and DL Workbench JupyterLab:\"\n", |
| 40 | + "echo \"$dl_workbench_token\"" |
35 | 41 | ] |
36 | 42 | }, |
37 | 43 | { |
38 | 44 | "cell_type": "markdown", |
39 | 45 | "metadata": {}, |
40 | 46 | "source": [ |
41 | | - "### Launch OpenVINO Deep Learning Workbench \n", |
42 | | - "- #### Goto [http://your-ec2-instance-IP:5665](http://<your-ec2-instance-ip>:5665) to launch.\n", |
43 | | - "- When prompted for token, paste the above retrieved token. [Click here for more detailed information](https://docs.openvinotoolkit.org/latest/workbench_docs_Workbench_DG_Authentication.html)" |
| 47 | + "### [Optional] Retrieve Token from the OpenVINO DL workbench docker container\n", |
| 48 | + "Run the the following cell to print OpenVINO DL Workbench authentication token.\n", |
| 49 | + "#### NOTE: If you get `No such file or directory` error, please try again after 1 min, as the docker container is still booting up." |
| 50 | + ] |
| 51 | + }, |
| 52 | + { |
| 53 | + "cell_type": "code", |
| 54 | + "execution_count": null, |
| 55 | + "metadata": {}, |
| 56 | + "outputs": [], |
| 57 | + "source": [ |
| 58 | + "!docker exec workbench cat /home/workbench/.workbench/token.txt" |
44 | 59 | ] |
45 | 60 | }, |
46 | 61 | { |
47 | 62 | "cell_type": "markdown", |
48 | 63 | "metadata": {}, |
49 | 64 | "source": [ |
50 | | - "## Below are optional cells. \n", |
51 | | - "Can be used to debug." |
| 65 | + "## Run below cells to get more information on DL Workbench container." |
52 | 66 | ] |
53 | 67 | }, |
54 | 68 | { |
55 | 69 | "cell_type": "markdown", |
56 | 70 | "metadata": {}, |
57 | 71 | "source": [ |
58 | | - "### [OPTIONAL] See the logs to check the status of workbench launch..." |
| 72 | + "#### [Optional] See the logs to check the status of workbench launch..." |
59 | 73 | ] |
60 | 74 | }, |
61 | 75 | { |
|
71 | 85 | "cell_type": "markdown", |
72 | 86 | "metadata": {}, |
73 | 87 | "source": [ |
74 | | - "### [OPTIONAL] See the logs with continuos streaming of containers output...\n", |
| 88 | + "#### [Optional] See the logs with continuos streaming of containers output...\n", |
75 | 89 | "#### NOTE: Click `\"Esc + i i\"` or `Kernel → Interrupt` to exit out, after running the below cell." |
76 | 90 | ] |
77 | 91 | }, |
|
97 | 111 | "hash": "31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6" |
98 | 112 | }, |
99 | 113 | "kernelspec": { |
100 | | - "display_name": "Python 3.8.2 64-bit", |
| 114 | + "display_name": "Python 3", |
| 115 | + "language": "python", |
101 | 116 | "name": "python3" |
102 | 117 | }, |
103 | 118 | "language_info": { |
| 119 | + "codemirror_mode": { |
| 120 | + "name": "ipython", |
| 121 | + "version": 3 |
| 122 | + }, |
| 123 | + "file_extension": ".py", |
| 124 | + "mimetype": "text/x-python", |
104 | 125 | "name": "python", |
105 | | - "version": "" |
| 126 | + "nbconvert_exporter": "python", |
| 127 | + "pygments_lexer": "ipython3", |
| 128 | + "version": "3.6.9" |
106 | 129 | } |
107 | 130 | }, |
108 | 131 | "nbformat": 4, |
|
0 commit comments