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