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