Seatalm commited on
Commit
5c38afa
·
verified ·
1 Parent(s): ae78c87

Rewrite Data download guide in beginner-friendly Chinese

Browse files
Files changed (1) hide show
  1. Data/README.md +84 -32
Data/README.md CHANGED
@@ -1,10 +1,31 @@
1
- # Robotwin ACT Data Archive
2
 
3
- This directory contains the split archive for `robotwin-act-data.tar.gz`.
4
 
5
- ## Files
6
 
7
- Download all seven parts:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
 
9
  ```text
10
  robotwin-act-data.tar.gz.part001
@@ -16,65 +37,96 @@ robotwin-act-data.tar.gz.part006
16
  robotwin-act-data.tar.gz.part007
17
  ```
18
 
19
- The merged archive should be:
20
 
21
- ```text
22
- robotwin-act-data.tar.gz
 
 
 
 
 
 
23
  ```
24
 
25
- Expected merged size:
 
 
 
 
 
 
26
 
27
  ```text
28
- 128,050,721,979 bytes
29
  ```
30
 
31
- Expected SHA256:
32
 
33
  ```text
34
- 6B10200A8800B70700084F9437175151886D349B1270A4A659172F0C548A6284
35
  ```
36
 
37
- ## Download
38
 
39
- Install the Hugging Face CLI, then run:
40
 
41
- ```bash
42
- hf download MetaAct/robotwin-act --repo-type dataset --include "Data/robotwin-act-data.tar.gz.part*"
 
 
43
  ```
44
 
45
- ## Merge
46
 
47
- After downloading, merge the parts in order.
 
 
48
 
49
- Windows CMD:
50
 
51
- ```cmd
52
- copy /b Data\robotwin-act-data.tar.gz.part001+Data\robotwin-act-data.tar.gz.part002+Data\robotwin-act-data.tar.gz.part003+Data\robotwin-act-data.tar.gz.part004+Data\robotwin-act-data.tar.gz.part005+Data\robotwin-act-data.tar.gz.part006+Data\robotwin-act-data.tar.gz.part007 robotwin-act-data.tar.gz
53
  ```
54
 
55
- Linux/macOS:
56
 
57
- ```bash
58
- cat Data/robotwin-act-data.tar.gz.part* > robotwin-act-data.tar.gz
59
  ```
60
 
61
- ## Verify
62
 
63
- Windows PowerShell:
 
 
 
 
64
 
65
  ```powershell
66
- Get-FileHash -Algorithm SHA256 .\robotwin-act-data.tar.gz
67
  ```
68
 
69
- Linux/macOS:
70
 
71
  ```bash
72
- sha256sum robotwin-act-data.tar.gz
73
  ```
74
 
75
- The checksum must match:
76
 
77
- ```text
78
- 6B10200A8800B70700084F9437175151886D349B1270A4A659172F0C548A6284
79
- ```
 
 
 
 
 
 
 
80
 
 
 
 
 
 
1
+ # RoboTwin ACT 数据下载与解压说明
2
 
3
+ 本目录保存了 RoboTwin ACT 数据集。由于完整压缩包很大,文件被拆成了 7 个分卷。请按下面的步骤依次操作。
4
 
5
+ ## 准备工作
6
 
7
+ 1. 准备一个剩余空间充足的磁盘,建议至少有 **450GB 可用空间**。
8
+ 2. 安装 [Python](https://www.python.org/downloads/);Windows 安装时请勾选 **Add Python to PATH**。
9
+ 3. 打开终端:
10
+ - Windows:打开 PowerShell。
11
+ - Linux/macOS:打开 Terminal(终端)。
12
+ 4. 安装 Hugging Face 命令行工具:
13
+
14
+ ```bash
15
+ python -m pip install -U huggingface_hub
16
+ ```
17
+
18
+ 如果系统使用 `python3`,请将上面的 `python` 改成 `python3`。
19
+
20
+ ## 第一步:下载全部分卷
21
+
22
+ 先在终端中进入准备存放数据的目录,然后执行:
23
+
24
+ ```bash
25
+ hf download MetaAct/robotwin-act --repo-type dataset --include "Data/robotwin-act-data.tar.gz.part*" --local-dir .
26
+ ```
27
+
28
+ 下载完成后,当前目录中应出现一个 `Data` 文件夹,里面必须有以下 7 个文件:
29
 
30
  ```text
31
  robotwin-act-data.tar.gz.part001
 
37
  robotwin-act-data.tar.gz.part007
38
  ```
39
 
40
+ 缺少任何一个分卷都不能继续合并。
41
 
42
+ ## 第二步:合并分卷
43
+
44
+ ### Windows
45
+
46
+ 在当前 PowerShell 窗口中复制并执行下面这一整行命令:
47
+
48
+ ```powershell
49
+ cmd /c copy /b Data\robotwin-act-data.tar.gz.part001+Data\robotwin-act-data.tar.gz.part002+Data\robotwin-act-data.tar.gz.part003+Data\robotwin-act-data.tar.gz.part004+Data\robotwin-act-data.tar.gz.part005+Data\robotwin-act-data.tar.gz.part006+Data\robotwin-act-data.tar.gz.part007 robotwin-act-data.tar.gz
50
  ```
51
 
52
+ ### Linux/macOS
53
+
54
+ ```bash
55
+ cat Data/robotwin-act-data.tar.gz.part* > robotwin-act-data.tar.gz
56
+ ```
57
+
58
+ 合并后会得到:
59
 
60
  ```text
61
+ robotwin-act-data.tar.gz
62
  ```
63
 
64
+ 正确的文件大小应为:
65
 
66
  ```text
67
+ 128,050,721,979 字节
68
  ```
69
 
70
+ ## 第三步:校验文件
71
 
72
+ 校验可以确认下载和合并过程中没有出现文件损坏。**校验不通过时不要解压。**
73
 
74
+ ### Windows PowerShell
75
+
76
+ ```powershell
77
+ Get-FileHash -Algorithm SHA256 .\robotwin-act-data.tar.gz
78
  ```
79
 
80
+ ### Linux
81
 
82
+ ```bash
83
+ sha256sum robotwin-act-data.tar.gz
84
+ ```
85
 
86
+ ### macOS
87
 
88
+ ```bash
89
+ shasum -a 256 robotwin-act-data.tar.gz
90
  ```
91
 
92
+ 正确的 SHA-256 必须是:
93
 
94
+ ```text
95
+ 6b10200a8800b70700084f9437175151886d349b1270a4a659172f0c548a6284
96
  ```
97
 
98
+ 字母大小写不影响校验结果。只要有一个字符不同,就表示文件不完整,需要重新下载分卷并再次合并。
99
 
100
+ ## 第四步:解压数据
101
+
102
+ 校验通过后执行:
103
+
104
+ ### Windows PowerShell
105
 
106
  ```powershell
107
+ tar -xzf .\robotwin-act-data.tar.gz
108
  ```
109
 
110
+ ### Linux/macOS
111
 
112
  ```bash
113
+ tar -xzf robotwin-act-data.tar.gz
114
  ```
115
 
116
+ 解压时间较长,期间不要关闭终端,也不要让电脑休眠。
117
 
118
+ ## 第五步:清理分卷(可选)
119
+
120
+ 确认满足以下两个条件后,可以删除 `Data` 文件夹中的 7 个 `.part` 文件以释放空间:
121
+
122
+ 1. 合并文件的 SHA-256 校验已经通过。
123
+ 2. 数据已经成功解压,并且可以正常查看。
124
+
125
+ 请保留 `robotwin-act-data.tar.gz` 作为备份,或者确认不再需要后再删除。
126
+
127
+ ## 常见问题
128
 
129
+ - 提示 `hf` 不是命令:关闭终端后重新打开,再执行下载命令。
130
+ - 下载中断:重新执行同一条 `hf download` 命令,工具会继续处理未完成的文件。
131
+ - 合并后大小不正确或 SHA-256 不一致:不要解压,检查 7 个分卷是否全部下载完成,然后重新下载并合并。
132
+ - 提示磁盘空间不足:更换剩余空间更大的磁盘,并从第一步重新操作。