Skip to content

Commit 18a0f99

Browse files
committed
Fix typos
1 parent d6f133f commit 18a0f99

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dlclibrary/dlcmodelzoo/modelzoo_download.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def _get_dlclibrary_path():
3030

3131

3232
def _load_model_names():
33-
"""Loads URLs and commit hashes for available models."""
33+
"""Load URLs and commit hashes for available models."""
3434
from ruamel.yaml import YAML
3535

3636
fn = os.path.join(_get_dlclibrary_path(), "modelzoo_urls.yaml")
@@ -40,14 +40,14 @@ def _load_model_names():
4040

4141
def download_huggingface_model(modelname, target_dir=".", remove_hf_folder=True):
4242
"""
43-
Downloads a DeepLabCut Model Zoo Project from Hugging Face
43+
Download a DeepLabCut Model Zoo Project from Hugging Face
4444
4545
Parameters
4646
----------
4747
modelname : string
4848
Name of the ModelZoo model. For visualizations see: http://www.mackenziemathislab.org/dlc-modelzoo
4949
target_dir : directory (as string)
50-
Directory where to store the model weigths and pose_cfg.yaml file
50+
Directory where to store the model weights and pose_cfg.yaml file
5151
remove_hf_folder : bool, default True
5252
Whether to remove the directory structure provided by HuggingFace after downloading and decompressing data into DeepLabCut format.
5353
"""

0 commit comments

Comments
 (0)