Skip to content

Commit

Permalink
Replace Path.mkdir with os.makedirs
Browse files Browse the repository at this point in the history
  • Loading branch information
lochhh committed Oct 3, 2024
1 parent 748a0a4 commit 09e0bf4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions notebooks/EPM_train_keypoint_moseq.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@
"# The path where keypoint-moseq project will be saved\n",
"project_parent_dir = Path(\"/mnt/Data/EPM\")\n",
"project_dir = project_parent_dir / f\"{dataset_name}_keypoint-moseq\"\n",
"project_dir.mkdir(exist_ok=True)"
"os.makedirs(project_dir, exist_ok=True)"
]
},
{
Expand Down Expand Up @@ -1406,7 +1406,7 @@
" cols=4,\n",
" fps=30,\n",
" **config\n",
");"
")"
]
},
{
Expand Down Expand Up @@ -1463,7 +1463,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.20"
"version": "3.9.19"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 09e0bf4

Please sign in to comment.