Upload hfhub.py with huggingface_hub
Browse files
hfhub.py
CHANGED
|
@@ -37,10 +37,10 @@ ckpt_filepath = hf_hub_download(
|
|
| 37 |
)
|
| 38 |
print(ckpt_filepath)
|
| 39 |
|
| 40 |
-
|
| 41 |
repo_id="kiyoonkim/hmdb51-gulprgb",
|
| 42 |
repo_type="dataset",
|
| 43 |
resume_download=True,
|
| 44 |
-
filename="splits_gulp_rgb/test1.csv",
|
| 45 |
local_dir=Path(repo_dir) / "datasets",
|
|
|
|
| 46 |
)
|
|
|
|
| 37 |
)
|
| 38 |
print(ckpt_filepath)
|
| 39 |
|
| 40 |
+
snapshot_download(
|
| 41 |
repo_id="kiyoonkim/hmdb51-gulprgb",
|
| 42 |
repo_type="dataset",
|
| 43 |
resume_download=True,
|
|
|
|
| 44 |
local_dir=Path(repo_dir) / "datasets",
|
| 45 |
+
allow_patterns="splits_gulp_rgb/*",
|
| 46 |
)
|