slash
This commit is contained in:
parent
796b4a9b0c
commit
7428f7cc62
|
@ -131,7 +131,6 @@
|
||||||
"cell_type": "markdown",
|
"cell_type": "markdown",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"id": "F0EINk5M0s-w",
|
"id": "F0EINk5M0s-w",
|
||||||
"jp-MarkdownHeadingCollapsed": true,
|
|
||||||
"tags": []
|
"tags": []
|
||||||
},
|
},
|
||||||
"source": [
|
"source": [
|
||||||
|
@ -313,14 +312,14 @@
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
"mounted_dataset_path = '/datasets/models'\n",
|
"mounted_dataset_path = '/datasets/<name>'\n",
|
||||||
"\n",
|
"\n",
|
||||||
"# ============================================================\n",
|
"# ============================================================\n",
|
||||||
"%store -r model_storage_dir\n",
|
"%store -r model_storage_dir\n",
|
||||||
"import os\n",
|
"import os\n",
|
||||||
"for file in os.listdir(mounted_dataset_path):\n",
|
"for file in os.listdir(mounted_dataset_path):\n",
|
||||||
" if file.endswith(\"ckpt\"):\n",
|
" if file.endswith(\"ckpt\"):\n",
|
||||||
" !ln -s $mounted_dataset_path/$file $model_storage_dir$file\n",
|
" !ln -s $mounted_dataset_path/$file $model_storage_dir/$file\n",
|
||||||
" !ls -la --block-size=GB $model_storage_dir/$file"
|
" !ls -la --block-size=GB $model_storage_dir/$file"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue