XSpaceCoderX commited on
Commit
eb75f9c
·
verified ·
1 Parent(s): 91efbca

Add files using upload-large-folder tool

Browse files
Files changed (50) hide show
  1. data/trajectory_0000/info.json +7 -0
  2. data/trajectory_0001/info.json +7 -0
  3. data/trajectory_0002/info.json +7 -0
  4. data/trajectory_0003/info.json +7 -0
  5. data/trajectory_0004/info.json +7 -0
  6. data/trajectory_0005/info.json +7 -0
  7. data/trajectory_0006/info.json +7 -0
  8. data/trajectory_0007/info.json +7 -0
  9. data/trajectory_0008/info.json +7 -0
  10. data/trajectory_0009/info.json +7 -0
  11. data/trajectory_0010/info.json +7 -0
  12. data/trajectory_0011/info.json +7 -0
  13. data/trajectory_0012/info.json +7 -0
  14. data/trajectory_0013/info.json +7 -0
  15. data/trajectory_0014/info.json +7 -0
  16. data/trajectory_0015/info.json +7 -0
  17. data/trajectory_0016/info.json +7 -0
  18. data/trajectory_0017/info.json +7 -0
  19. data/trajectory_0018/info.json +7 -0
  20. data/trajectory_0019/info.json +7 -0
  21. data/trajectory_0020/info.json +7 -0
  22. data/trajectory_0021/info.json +7 -0
  23. data/trajectory_0022/info.json +7 -0
  24. data/trajectory_0023/info.json +7 -0
  25. data/trajectory_0024/info.json +7 -0
  26. data/trajectory_0025/info.json +7 -0
  27. data/trajectory_0026/info.json +7 -0
  28. data/trajectory_0027/info.json +7 -0
  29. data/trajectory_0028/info.json +7 -0
  30. data/trajectory_0029/info.json +7 -0
  31. data/trajectory_0030/info.json +7 -0
  32. data/trajectory_0031/info.json +7 -0
  33. data/trajectory_0032/info.json +7 -0
  34. data/trajectory_0066/info.json +7 -0
  35. data/trajectory_0067/info.json +7 -0
  36. data/trajectory_0068/info.json +7 -0
  37. data/trajectory_0069/info.json +7 -0
  38. data/trajectory_0070/info.json +7 -0
  39. data/trajectory_0072/info.json +7 -0
  40. data/trajectory_0073/info.json +7 -0
  41. data/trajectory_0075/info.json +7 -0
  42. data/trajectory_0100/info.json +7 -0
  43. data/trajectory_0102/info.json +7 -0
  44. data/trajectory_0103/info.json +7 -0
  45. data/trajectory_0104/info.json +7 -0
  46. data/trajectory_0105/info.json +7 -0
  47. data/trajectory_0106/info.json +7 -0
  48. data/trajectory_0107/info.json +7 -0
  49. data/trajectory_0108/info.json +7 -0
  50. uploadToHF.py +21 -0
data/trajectory_0000/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "1",
3
+ "clip": "1",
4
+ "trajectory_in_clip": "0",
5
+ "start": "26",
6
+ "end": "40"
7
+ }
data/trajectory_0001/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "1",
3
+ "clip": "1",
4
+ "trajectory_in_clip": "1",
5
+ "start": "41",
6
+ "end": "81"
7
+ }
data/trajectory_0002/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "1",
3
+ "clip": "1",
4
+ "trajectory_in_clip": "2",
5
+ "start": "83",
6
+ "end": "114"
7
+ }
data/trajectory_0003/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "1",
3
+ "clip": "1",
4
+ "trajectory_in_clip": "3",
5
+ "start": "115",
6
+ "end": "140"
7
+ }
data/trajectory_0004/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "1",
3
+ "clip": "1",
4
+ "trajectory_in_clip": "4",
5
+ "start": "142",
6
+ "end": "172"
7
+ }
data/trajectory_0005/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "1",
3
+ "clip": "1",
4
+ "trajectory_in_clip": "5",
5
+ "start": "173",
6
+ "end": "206"
7
+ }
data/trajectory_0006/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "1",
3
+ "clip": "2",
4
+ "trajectory_in_clip": "0",
5
+ "start": "29",
6
+ "end": "44"
7
+ }
data/trajectory_0007/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "1",
3
+ "clip": "2",
4
+ "trajectory_in_clip": "1",
5
+ "start": "45",
6
+ "end": "91"
7
+ }
data/trajectory_0008/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "1",
3
+ "clip": "2",
4
+ "trajectory_in_clip": "2",
5
+ "start": "93",
6
+ "end": "129"
7
+ }
data/trajectory_0009/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "1",
3
+ "clip": "3",
4
+ "trajectory_in_clip": "0",
5
+ "start": "28",
6
+ "end": "62"
7
+ }
data/trajectory_0010/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "1",
3
+ "clip": "4",
4
+ "trajectory_in_clip": "0",
5
+ "start": "23",
6
+ "end": "38"
7
+ }
data/trajectory_0011/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "1",
3
+ "clip": "4",
4
+ "trajectory_in_clip": "1",
5
+ "start": "40",
6
+ "end": "78"
7
+ }
data/trajectory_0012/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "1",
3
+ "clip": "4",
4
+ "trajectory_in_clip": "2",
5
+ "start": "79",
6
+ "end": "107"
7
+ }
data/trajectory_0013/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "1",
3
+ "clip": "5",
4
+ "trajectory_in_clip": "0",
5
+ "start": "22",
6
+ "end": "38"
7
+ }
data/trajectory_0014/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "1",
3
+ "clip": "5",
4
+ "trajectory_in_clip": "1",
5
+ "start": "40",
6
+ "end": "58"
7
+ }
data/trajectory_0015/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "1",
3
+ "clip": "5",
4
+ "trajectory_in_clip": "2",
5
+ "start": "59",
6
+ "end": "81"
7
+ }
data/trajectory_0016/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "1",
3
+ "clip": "5",
4
+ "trajectory_in_clip": "3",
5
+ "start": "83",
6
+ "end": "100"
7
+ }
data/trajectory_0017/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "1",
3
+ "clip": "5",
4
+ "trajectory_in_clip": "4",
5
+ "start": "101",
6
+ "end": "128"
7
+ }
data/trajectory_0018/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "1",
3
+ "clip": "5",
4
+ "trajectory_in_clip": "5",
5
+ "start": "130",
6
+ "end": "159"
7
+ }
data/trajectory_0019/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "1",
3
+ "clip": "6",
4
+ "trajectory_in_clip": "0",
5
+ "start": "31",
6
+ "end": "77"
7
+ }
data/trajectory_0020/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "1",
3
+ "clip": "7",
4
+ "trajectory_in_clip": "0",
5
+ "start": "16",
6
+ "end": "33"
7
+ }
data/trajectory_0021/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "1",
3
+ "clip": "7",
4
+ "trajectory_in_clip": "1",
5
+ "start": "34",
6
+ "end": "60"
7
+ }
data/trajectory_0022/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "1",
3
+ "clip": "7",
4
+ "trajectory_in_clip": "2",
5
+ "start": "61",
6
+ "end": "89"
7
+ }
data/trajectory_0023/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "1",
3
+ "clip": "7",
4
+ "trajectory_in_clip": "3",
5
+ "start": "90",
6
+ "end": "119"
7
+ }
data/trajectory_0024/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "1",
3
+ "clip": "7",
4
+ "trajectory_in_clip": "4",
5
+ "start": "120",
6
+ "end": "148"
7
+ }
data/trajectory_0025/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "1",
3
+ "clip": "7",
4
+ "trajectory_in_clip": "5",
5
+ "start": "149",
6
+ "end": "179"
7
+ }
data/trajectory_0026/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "1",
3
+ "clip": "7",
4
+ "trajectory_in_clip": "6",
5
+ "start": "180",
6
+ "end": "204"
7
+ }
data/trajectory_0027/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "1",
3
+ "clip": "7",
4
+ "trajectory_in_clip": "7",
5
+ "start": "206",
6
+ "end": "236"
7
+ }
data/trajectory_0028/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "1",
3
+ "clip": "7",
4
+ "trajectory_in_clip": "8",
5
+ "start": "237",
6
+ "end": "267"
7
+ }
data/trajectory_0029/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "1",
3
+ "clip": "7",
4
+ "trajectory_in_clip": "9",
5
+ "start": "269",
6
+ "end": "292"
7
+ }
data/trajectory_0030/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "1",
3
+ "clip": "7",
4
+ "trajectory_in_clip": "10",
5
+ "start": "294",
6
+ "end": "327"
7
+ }
data/trajectory_0031/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "1",
3
+ "clip": "7",
4
+ "trajectory_in_clip": "11",
5
+ "start": "328",
6
+ "end": "357"
7
+ }
data/trajectory_0032/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "1",
3
+ "clip": "7",
4
+ "trajectory_in_clip": "12",
5
+ "start": "358",
6
+ "end": "422"
7
+ }
data/trajectory_0066/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "2",
3
+ "clip": "2",
4
+ "trajectory_in_clip": "0",
5
+ "start": "0",
6
+ "end": "17"
7
+ }
data/trajectory_0067/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "2",
3
+ "clip": "2",
4
+ "trajectory_in_clip": "1",
5
+ "start": "18",
6
+ "end": "51"
7
+ }
data/trajectory_0068/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "2",
3
+ "clip": "2",
4
+ "trajectory_in_clip": "2",
5
+ "start": "52",
6
+ "end": "83"
7
+ }
data/trajectory_0069/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "2",
3
+ "clip": "2",
4
+ "trajectory_in_clip": "3",
5
+ "start": "84",
6
+ "end": "127"
7
+ }
data/trajectory_0070/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "2",
3
+ "clip": "2",
4
+ "trajectory_in_clip": "4",
5
+ "start": "128",
6
+ "end": "152"
7
+ }
data/trajectory_0072/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "2",
3
+ "clip": "2",
4
+ "trajectory_in_clip": "6",
5
+ "start": "173",
6
+ "end": "198"
7
+ }
data/trajectory_0073/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "2",
3
+ "clip": "3",
4
+ "trajectory_in_clip": "0",
5
+ "start": "11",
6
+ "end": "35"
7
+ }
data/trajectory_0075/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "2",
3
+ "clip": "5",
4
+ "trajectory_in_clip": "0",
5
+ "start": "9",
6
+ "end": "27"
7
+ }
data/trajectory_0100/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "2",
3
+ "clip": "7",
4
+ "trajectory_in_clip": "3",
5
+ "start": "97",
6
+ "end": "125"
7
+ }
data/trajectory_0102/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "2",
3
+ "clip": "7",
4
+ "trajectory_in_clip": "5",
5
+ "start": "169",
6
+ "end": "188"
7
+ }
data/trajectory_0103/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "2",
3
+ "clip": "8",
4
+ "trajectory_in_clip": "0",
5
+ "start": "0",
6
+ "end": "13"
7
+ }
data/trajectory_0104/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "2",
3
+ "clip": "8",
4
+ "trajectory_in_clip": "1",
5
+ "start": "14",
6
+ "end": "52"
7
+ }
data/trajectory_0105/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "2",
3
+ "clip": "8",
4
+ "trajectory_in_clip": "2",
5
+ "start": "54",
6
+ "end": "81"
7
+ }
data/trajectory_0106/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "2",
3
+ "clip": "8",
4
+ "trajectory_in_clip": "3",
5
+ "start": "82",
6
+ "end": "111"
7
+ }
data/trajectory_0107/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "2",
3
+ "clip": "8",
4
+ "trajectory_in_clip": "4",
5
+ "start": "112",
6
+ "end": "144"
7
+ }
data/trajectory_0108/info.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "game": "2",
3
+ "clip": "8",
4
+ "trajectory_in_clip": "5",
5
+ "start": "145",
6
+ "end": "174"
7
+ }
uploadToHF.py ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from huggingface_hub import HfApi
2
+
3
+ api = HfApi()
4
+
5
+ # Configuration
6
+ REPO_ID = "XSpaceCoderX/ACE-Trajectories_noTosses"
7
+ LOCAL_FOLDER = "/data/goeppeal/data_tennis/tracknet/tracknet_03-18/trajectories_noTosses"
8
+
9
+ print(f"Starting resilient upload for: {REPO_ID}")
10
+
11
+ # upload_large_folder is optimized for folders with many files
12
+ # It automatically handles multi-threading and resumes after interruptions
13
+ api.upload_large_folder(
14
+ repo_id=REPO_ID,
15
+ repo_type="dataset",
16
+ folder_path=LOCAL_FOLDER,
17
+ # Optional: you can specify the number of workers if the server is powerful
18
+ # num_workers=8
19
+ )
20
+
21
+ print("Upload successful.")