Skip to content

Commit db7eb3a

Browse files
committed
Jupyter Black changes
1 parent aa36625 commit db7eb3a

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

guide/14-deep-learning/utilize_multiple_gpus_to_train_model.ipynb

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
},
104104
{
105105
"cell_type": "code",
106-
"execution_count": 2,
106+
"execution_count": null,
107107
"metadata": {},
108108
"outputs": [],
109109
"source": [
@@ -112,16 +112,16 @@
112112
},
113113
{
114114
"cell_type": "code",
115-
"execution_count": 3,
115+
"execution_count": null,
116116
"metadata": {},
117117
"outputs": [],
118118
"source": [
119-
"script_item = gis.content.get('afd1c9a88a6f4f04896b4172c0f3a78c')"
119+
"script_item = gis.content.get(\"afd1c9a88a6f4f04896b4172c0f3a78c\")"
120120
]
121121
},
122122
{
123123
"cell_type": "code",
124-
"execution_count": 4,
124+
"execution_count": null,
125125
"metadata": {},
126126
"outputs": [
127127
{
@@ -150,24 +150,25 @@
150150
},
151151
{
152152
"cell_type": "code",
153-
"execution_count": 6,
153+
"execution_count": null,
154154
"metadata": {},
155155
"outputs": [],
156156
"source": [
157157
"import zipfile\n",
158158
"import os\n",
159159
"from pathlib import Path\n",
160-
"with zipfile.ZipFile(filepath, 'r') as zip_ref:\n",
160+
"\n",
161+
"with zipfile.ZipFile(filepath, \"r\") as zip_ref:\n",
161162
" zip_ref.extractall(Path(filepath).parent)"
162163
]
163164
},
164165
{
165166
"cell_type": "code",
166-
"execution_count": 13,
167+
"execution_count": null,
167168
"metadata": {},
168169
"outputs": [],
169170
"source": [
170-
"script_path = Path(os.path.join(os.path.splitext(filepath)[0]) + '.py')"
171+
"script_path = Path(os.path.join(os.path.splitext(filepath)[0]) + \".py\")"
171172
]
172173
},
173174
{

0 commit comments

Comments
 (0)