|
28 | 28 | },
|
29 | 29 | {
|
30 | 30 | "cell_type": "markdown",
|
31 |
| - "metadata": { |
32 |
| - "id": "VUefxTkGGTAc" |
33 |
| - }, |
34 | 31 | "source": [
|
35 | 32 | "## Setup environment\n",
|
36 | 33 | "\n",
|
37 | 34 | "`clearml` comes as part of the `monai[all]` installation. For more information about integrating ClearML into your Monai code, see [here](https://clear.ml/docs/latest/docs/integrations/monai). For more information about using ClearML (experiment management, data management, pipelines, model serving, and more), see [ClearML's official documentation](https://clear.ml/docs/latest/docs/)."
|
38 |
| - ] |
| 35 | + ], |
| 36 | + "metadata": { |
| 37 | + "collapsed": false |
| 38 | + } |
39 | 39 | },
|
40 | 40 | {
|
41 | 41 | "cell_type": "code",
|
42 | 42 | "execution_count": null,
|
43 |
| - "metadata": { |
44 |
| - "id": "OUMIxMjvGTAd" |
45 |
| - }, |
46 | 43 | "outputs": [],
|
47 | 44 | "source": [
|
48 | 45 | "!python -c \"import monai\" || pip install -q \"monai-weekly[ignite, nibabel, tensorboard, clearml]\""
|
49 |
| - ] |
50 |
| - }, |
51 |
| - { |
52 |
| - "cell_type": "markdown", |
53 |
| - "metadata": { |
54 |
| - "id": "s-ORDi_qZTYM" |
55 |
| - }, |
56 |
| - "source": [ |
57 |
| - "### Set up ClearML ⚓\n", |
58 |
| - "\n", |
59 |
| - "1. To keep track of your experiments and/or data, ClearML needs to communicate to a server. You have 2 server options:\n", |
60 |
| - "\n", |
61 |
| - " * Sign up for free to the [ClearML Hosted Service](https://app.clear.ml/)\n", |
62 |
| - " * Set up your own server, see [here](https://clear.ml/docs/latest/docs/deploying_clearml/clearml_server).\n", |
63 |
| - "\n", |
64 |
| - "\n", |
65 |
| - "\n", |
66 |
| - "2. Add you ClearML credentials below. ClearML will use these credentials to connect to your server (see instructions for generating credentials [here](https://clear.ml/docs/latest/docs/getting_started/ds/ds_first_steps/#jupyter-notebook))." |
67 |
| - ] |
68 |
| - }, |
69 |
| - { |
70 |
| - "cell_type": "code", |
71 |
| - "execution_count": null, |
| 46 | + ], |
72 | 47 | "metadata": {
|
73 |
| - "id": "ofvwifHWG0SK" |
74 |
| - }, |
75 |
| - "outputs": [], |
76 |
| - "source": [ |
77 |
| - "# clearml credentials\n", |
78 |
| - "%env CLEARML_WEB_HOST=''\n", |
79 |
| - "%env CLEARML_API_HOST=''\n", |
80 |
| - "%env CLEARML_FILES_HOST=''\n", |
81 |
| - "%env CLEARML_API_ACCESS_KEY=''\n", |
82 |
| - "%env CLEARML_API_SECRET_KEY=''\n" |
83 |
| - ] |
| 48 | + "collapsed": false |
| 49 | + } |
84 | 50 | },
|
85 | 51 | {
|
86 | 52 | "cell_type": "markdown",
|
|
102 | 68 | "import glob\n",
|
103 | 69 | "import logging\n",
|
104 | 70 | "import os\n",
|
105 |
| - "from pathlib import Path\n", |
106 | 71 | "import shutil\n",
|
107 | 72 | "import sys\n",
|
108 | 73 | "import tempfile\n",
|
|
136 | 101 | "print_config()"
|
137 | 102 | ]
|
138 | 103 | },
|
| 104 | + { |
| 105 | + "cell_type": "markdown", |
| 106 | + "source": [ |
| 107 | + "## Set up ClearML ⚓\n", |
| 108 | + "\n", |
| 109 | + "1. To keep track of your experiments and/or data, ClearML needs to communicate to a server. You have 2 server options:\n", |
| 110 | + "\n", |
| 111 | + " * Sign up for free to the [ClearML Hosted Service](https://app.clear.ml/)\n", |
| 112 | + " * Set up your own server, see [here](https://clear.ml/docs/latest/docs/deploying_clearml/clearml_server).\n", |
| 113 | + "\n", |
| 114 | + "2. Add you ClearML credentials below. ClearML will use these credentials to connect to your server (see instructions for generating credentials [here](https://clear.ml/docs/latest/docs/getting_started/ds/ds_first_steps/#jupyter-notebook))." |
| 115 | + ], |
| 116 | + "metadata": { |
| 117 | + "collapsed": false |
| 118 | + } |
| 119 | + }, |
| 120 | + { |
| 121 | + "cell_type": "code", |
| 122 | + "execution_count": null, |
| 123 | + "outputs": [], |
| 124 | + "source": [ |
| 125 | + "# clearml credentials\n", |
| 126 | + "%env CLEARML_WEB_HOST=''\n", |
| 127 | + "%env CLEARML_API_HOST=''\n", |
| 128 | + "%env CLEARML_FILES_HOST=''\n", |
| 129 | + "%env CLEARML_API_ACCESS_KEY=''\n", |
| 130 | + "%env CLEARML_API_SECRET_KEY=''\n" |
| 131 | + ], |
| 132 | + "metadata": { |
| 133 | + "collapsed": false |
| 134 | + } |
| 135 | + }, |
139 | 136 | {
|
140 | 137 | "cell_type": "markdown",
|
141 | 138 | "metadata": {
|
|
0 commit comments