Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- metadata.jsonl +3 -0
- source.tgz +3 -0
- target.tgz +3 -0
- upload.py +9 -0
.gitattributes
CHANGED
|
@@ -58,3 +58,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
metadata.jsonl filter=lfs diff=lfs merge=lfs -text
|
metadata.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:65af09f7ead54cec7268c48df6880183b8f1bf576607156a40e8f9dfa3b3b98c
|
| 3 |
+
size 34566239
|
source.tgz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b0f44f57060a4e37b5a43e7466703a4700d31006fd8ead4616530c9219288dd1
|
| 3 |
+
size 4124536292
|
target.tgz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6cbeec4ce2772fb2f3a273345ff72fce52b255c12e9e5e30df3ba5239b7e1608
|
| 3 |
+
size 5578357239
|
upload.py
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from huggingface_hub import HfApi
|
| 2 |
+
api = HfApi()
|
| 3 |
+
|
| 4 |
+
api.upload_folder(
|
| 5 |
+
folder_path="./",
|
| 6 |
+
repo_id="Bdyskov/Mesh2Face",
|
| 7 |
+
repo_type="dataset",
|
| 8 |
+
run_as_future=False # 强制同步执行,避免异步堆积内存
|
| 9 |
+
)
|