|
89 | 89 | "## Segmentation of thoracic structures from CT series" |
90 | 90 | ] |
91 | 91 | }, |
| 92 | + { |
| 93 | + "cell_type": "markdown", |
| 94 | + "id": "5253b70b-4b64-4e12-bdcd-e8401e9710b4", |
| 95 | + "metadata": {}, |
| 96 | + "source": [ |
| 97 | + "#### If you are running on a Mac machine, uncomment the appropriate line in the cell below and run:" |
| 98 | + ] |
| 99 | + }, |
92 | 100 | { |
93 | 101 | "cell_type": "code", |
94 | 102 | "execution_count": 3, |
95 | | - "id": "qj-eYYJElXeH", |
96 | | - "metadata": { |
97 | | - "id": "qj-eYYJElXeH", |
98 | | - "tags": [] |
99 | | - }, |
| 103 | + "id": "1beba815-ea88-45f0-9dae-84038a13ba3d", |
| 104 | + "metadata": {}, |
100 | 105 | "outputs": [], |
101 | 106 | "source": [ |
102 | | - "%%capture\n", |
103 | | - "if not Path('./s5cmd').exists():\n", |
104 | | - " !wget https://github.com/peak/s5cmd/releases/download/v2.0.0/s5cmd_2.0.0_Linux-64bit.tar.gz && tar zxf s5cmd_2.0.0_Linux-64bit.tar.gz\n" |
| 107 | + "# if not Path('./s5cmd').exists():\n", |
| 108 | + "# !wget https://github.com/peak/s5cmd/releases/download/v2.0.0-beta.2/s5cmd_2.0.0-beta.2_macOS-64bit.tar.gz && tar zxf s5cmd_2.0.0-beta.2_macOS-64bit.tar.gz" |
| 109 | + ] |
| 110 | + }, |
| 111 | + { |
| 112 | + "cell_type": "markdown", |
| 113 | + "id": "7e0e9c22-9d4b-4a8b-8935-74fd4d322dfd", |
| 114 | + "metadata": {}, |
| 115 | + "source": [ |
| 116 | + "#### If you are running on a Windows machine, uncomment the cell below and run:" |
105 | 117 | ] |
106 | 118 | }, |
107 | 119 | { |
108 | 120 | "cell_type": "code", |
109 | 121 | "execution_count": 4, |
| 122 | + "id": "c214d4f2-b6fc-4e02-963f-1738ce02957e", |
| 123 | + "metadata": {}, |
| 124 | + "outputs": [], |
| 125 | + "source": [ |
| 126 | + "# if not Path('./s5cmd').exists():\n", |
| 127 | + "# !wget https://github.com/peak/s5cmd/releases/download/v2.0.0-beta.2/s5cmd_2.0.0-beta.2_Windows-64bit.zip && tar -xf s5cmd_2.0.0-beta.2_Windows-64bit.zip" |
| 128 | + ] |
| 129 | + }, |
| 130 | + { |
| 131 | + "cell_type": "markdown", |
| 132 | + "id": "7a85c749-5ece-4121-97e6-3ac7dac1b62a", |
| 133 | + "metadata": {}, |
| 134 | + "source": [ |
| 135 | + "#### For Linux machines, Colab, SageMaker, Binder or other platforms use the following installation:" |
| 136 | + ] |
| 137 | + }, |
| 138 | + { |
| 139 | + "cell_type": "code", |
| 140 | + "execution_count": 5, |
| 141 | + "id": "0bbe6f14-a34e-4280-bc21-7343a78af88b", |
| 142 | + "metadata": {}, |
| 143 | + "outputs": [ |
| 144 | + { |
| 145 | + "name": "stdout", |
| 146 | + "output_type": "stream", |
| 147 | + "text": [ |
| 148 | + "--2023-05-25 14:18:24-- https://github.com/peak/s5cmd/releases/download/v2.0.0/s5cmd_2.0.0_Linux-64bit.tar.gz\n", |
| 149 | + "Resolving github.com (github.com)... 140.82.113.3\n", |
| 150 | + "Connecting to github.com (github.com)|140.82.113.3|:443... connected.\n", |
| 151 | + "HTTP request sent, awaiting response... 302 Found\n", |
| 152 | + "Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/73909333/2e177ae0-614f-48ba-92fd-04cf9bf41529?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230525%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230525T181825Z&X-Amz-Expires=300&X-Amz-Signature=4327982d7fc3e663e05504d6f396f1bb67a31dfce4e3fce9fdaa939e35094d2d&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=73909333&response-content-disposition=attachment%3B%20filename%3Ds5cmd_2.0.0_Linux-64bit.tar.gz&response-content-type=application%2Foctet-stream [following]\n", |
| 153 | + "--2023-05-25 14:18:24-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/73909333/2e177ae0-614f-48ba-92fd-04cf9bf41529?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230525%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230525T181825Z&X-Amz-Expires=300&X-Amz-Signature=4327982d7fc3e663e05504d6f396f1bb67a31dfce4e3fce9fdaa939e35094d2d&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=73909333&response-content-disposition=attachment%3B%20filename%3Ds5cmd_2.0.0_Linux-64bit.tar.gz&response-content-type=application%2Foctet-stream\n", |
| 154 | + "Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.109.133, 185.199.108.133, 185.199.111.133, ...\n", |
| 155 | + "Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.109.133|:443... connected.\n", |
| 156 | + "HTTP request sent, awaiting response... 200 OK\n", |
| 157 | + "Length: 4276789 (4.1M) [application/octet-stream]\n", |
| 158 | + "Saving to: ‘s5cmd_2.0.0_Linux-64bit.tar.gz’\n", |
| 159 | + "\n", |
| 160 | + "s5cmd_2.0.0_Linux-6 100%[===================>] 4.08M 22.3MB/s in 0.2s \n", |
| 161 | + "\n", |
| 162 | + "2023-05-25 14:18:25 (22.3 MB/s) - ‘s5cmd_2.0.0_Linux-64bit.tar.gz’ saved [4276789/4276789]\n", |
| 163 | + "\n" |
| 164 | + ] |
| 165 | + } |
| 166 | + ], |
| 167 | + "source": [ |
| 168 | + "if not Path('./s5cmd').exists():\n", |
| 169 | + " !wget https://github.com/peak/s5cmd/releases/download/v2.0.0/s5cmd_2.0.0_Linux-64bit.tar.gz && tar zxf s5cmd_2.0.0_Linux-64bit.tar.gz" |
| 170 | + ] |
| 171 | + }, |
| 172 | + { |
| 173 | + "cell_type": "code", |
| 174 | + "execution_count": 6, |
110 | 175 | "id": "aOnyE_7hllIl", |
111 | 176 | "metadata": { |
112 | 177 | "id": "aOnyE_7hllIl", |
|
0 commit comments