Updated Test Data
Browse files- run_this.py +22 -0
- test_data/bcs.npy +2 -2
- test_data/loads.npy +2 -2
- test_data/shapes.npy +2 -2
- test_data/topologies.npy +2 -2
- test_data/vfs.npy +2 -2
run_this.py
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# from huggingface_hub import snapshot_download
|
| 2 |
+
|
| 3 |
+
# if __name__ == "__main__":
|
| 4 |
+
# print("Downloading OpenOAT dataset...")
|
| 5 |
+
# snapshot_download(
|
| 6 |
+
# repo_id="OpenTO/OpenOAT",
|
| 7 |
+
# repo_type="dataset",
|
| 8 |
+
# local_dir="."
|
| 9 |
+
# )
|
| 10 |
+
# print("Download complete.")
|
| 11 |
+
|
| 12 |
+
# upload folder
|
| 13 |
+
from huggingface_hub import HfApi
|
| 14 |
+
|
| 15 |
+
api = HfApi()
|
| 16 |
+
api.upload_folder(
|
| 17 |
+
folder_path=".",
|
| 18 |
+
path_in_repo=".",
|
| 19 |
+
repo_id="OpenTO/OpenOAT",
|
| 20 |
+
repo_type="dataset",
|
| 21 |
+
commit_message="Updated Test Data",
|
| 22 |
+
)
|
test_data/bcs.npy
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7fbeee42a2a67406811cc4579c1d4b3f69c274f0dc84f2ed0fe033dacf164604
|
| 3 |
+
size 16888176
|
test_data/loads.npy
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f900655b8b2a62f13f48cc3e85a7c4606b0dae8c8722af1dbd57d471051d8547
|
| 3 |
+
size 28027071
|
test_data/shapes.npy
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:071feb58ca4df0d2e73978d0d7096d8791d20539d24ce56e2f888554cd4a0b39
|
| 3 |
+
size 160128
|
test_data/topologies.npy
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5a700b5550240531997d50eab9f497066479cb6e6763306fef53fc3002937d63
|
| 3 |
+
size 103093040
|
test_data/vfs.npy
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7afd0c94c58e1a501e1925db9cf42b1dc2fadfd5fe4eaa6150e565284206fda7
|
| 3 |
+
size 80128
|