moqiyinlun1 commited on
Commit
ed5c169
·
verified ·
1 Parent(s): 6b38fe3

Delete TaoGS_Dataset/README.md

Browse files
Files changed (1) hide show
  1. TaoGS_Dataset/README.md +0 -135
TaoGS_Dataset/README.md DELETED
@@ -1,135 +0,0 @@
1
- # HiFiHuman Dataset
2
- ## File Splitting and Local Reconstruction Guide
3
-
4
- Due to the large size of individual `.zip` files (often larger than 1GB), all data in this dataset is uploaded to Hugging Face in **split parts** to ensure stable uploads, reliable downloads, and better compatibility with different network environments.
5
-
6
- This document explains **how the dataset is organized** and **how to reconstruct the original files locally after downloading**.
7
-
8
- ---
9
-
10
- ## Dataset Structure
11
-
12
- Each original zip file is split into multiple binary parts before upload.
13
- On Hugging Face, the directory structure looks like this:
14
-
15
- ```text
16
- TaoGS_Dataset/
17
- ├── 4K_Actor1_Magic_1/
18
- │ ├── 4K_Actor1_Magic_1.zip.partaa
19
- │ ├── 4K_Actor1_Magic_1.zip.partab
20
- │ ├── 4K_Actor1_Magic_1.zip.partac
21
- │ └── ...
22
- ├── 4K_Actor2_Change_Clothes_1/
23
- │ ├── 4K_Actor2_Change_Clothes_1.zip.partaa
24
- │ ├── 4K_Actor2_Change_Clothes_1.zip.partab
25
- │ └── ...
26
- └── ...
27
- ```
28
-
29
- Each `*.zip.part*` file is a consecutive binary chunk generated using the Unix `split` command.
30
- All parts must be merged **in order** to recover the original zip file.
31
-
32
- ---
33
-
34
- ## Step 1: Download the Dataset Parts
35
-
36
- You may download the required parts using the Hugging Face CLI or other supported tools.
37
-
38
- ### Recommended: Hugging Face CLI
39
-
40
- Install the CLI tool:
41
-
42
- ```bash
43
- pip install -U huggingface_hub
44
- ```
45
-
46
- Download a specific sequence:
47
-
48
- ```bash
49
- hf download moqiyinlun1/HiFiHuman \
50
- --repo-type dataset \
51
- --local-dir ./HiFiHuman \
52
- --include "TaoGS_Dataset/4K_Actor1_Magic_1/*"
53
- ```
54
-
55
- Downloading only the required subdirectory is strongly recommended to avoid unnecessary data transfer.
56
-
57
- ---
58
-
59
- ## Step 2: Reconstruct the Original Zip File
60
-
61
- Navigate to the directory containing the downloaded parts:
62
-
63
- ```bash
64
- cd HiFiHuman/TaoGS_Dataset/4K_Actor1_Magic_1
65
- ```
66
-
67
- Merge all parts into the original zip file:
68
-
69
- ```bash
70
- cat 4K_Actor1_Magic_1.zip.parta* > 4K_Actor1_Magic_1.zip
71
- ```
72
-
73
- The wildcard `parta*` ensures that the parts are concatenated in the correct order (`partaa`, `partab`, `partac`, ...).
74
-
75
- ---
76
-
77
- ## Step 3: Verify the Reconstructed File (Optional)
78
-
79
- To verify that the reconstructed file is valid:
80
-
81
- ```bash
82
- unzip -t 4K_Actor1_Magic_1.zip
83
- ```
84
-
85
- If no errors are reported, the reconstruction was successful.
86
-
87
- ---
88
-
89
- ## Step 4: Extract the Dataset
90
-
91
- Once the zip file is reconstructed:
92
-
93
- ```bash
94
- unzip 4K_Actor1_Magic_1.zip
95
- ```
96
-
97
- You can now use the dataset as intended.
98
-
99
- ---
100
-
101
- ## Windows Users
102
-
103
- On Windows (PowerShell), use the following command to merge the parts:
104
-
105
- ```powershell
106
- copy /b 4K_Actor1_Magic_1.zip.part* 4K_Actor1_Magic_1.zip
107
- ```
108
-
109
- ---
110
-
111
- ## How the Files Were Split (For Reference)
112
-
113
- All zip files were split using the following command prior to upload:
114
-
115
- ```bash
116
- split -b 1G original_file.zip original_file.zip.part
117
- ```
118
-
119
- ---
120
-
121
- ## Notes
122
-
123
- - Make sure **all part files are fully downloaded** before merging.
124
- - Missing or corrupted parts will result in an invalid zip file.
125
- - Do not attempt to unzip individual `.part` files.
126
-
127
- ---
128
-
129
- ## Contact
130
-
131
- If you encounter issues while downloading, reconstructing, or using the dataset, please open an issue on the Hugging Face repository or contact the shenzhh2025@shanghaitech.edu.cn directly.
132
-
133
- ---
134
-
135
- **Summary:** Download all parts → merge with `cat` (or `copy /b` on Windows) → unzip → use the dataset.