This commit is contained in:
Cyberes 2022-09-10 14:30:13 -06:00 committed by GitHub
parent 796b4a9b0c
commit 7428f7cc62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -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"
]
},