Upload README_EXTRACT.txt with huggingface_hub
Browse files- README_EXTRACT.txt +50 -0
README_EXTRACT.txt
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# How to Extract Compressed Datasets
|
| 2 |
+
|
| 3 |
+
Each dataset is compressed with zstd and split into <50GB chunks.
|
| 4 |
+
|
| 5 |
+
## Extract a dataset:
|
| 6 |
+
|
| 7 |
+
### Method 1: Extract in place
|
| 8 |
+
```bash
|
| 9 |
+
# Combine chunks, decompress, and extract
|
| 10 |
+
cat scannetpp.tar.zst.* | zstd -d | tar -xf -
|
| 11 |
+
|
| 12 |
+
# Or for specific dataset:
|
| 13 |
+
cat processed_scannet_f.tar.zst.* | zstd -d | tar -xf -
|
| 14 |
+
cat arkitscenes.tar.zst.* | zstd -d | tar -xf -
|
| 15 |
+
```
|
| 16 |
+
|
| 17 |
+
### Method 2: Extract to specific location
|
| 18 |
+
```bash
|
| 19 |
+
# Extract to /data/reason3r/data_compressed/
|
| 20 |
+
cat scannetpp.tar.zst.* | zstd -d | tar -xf - -C /data/reason3r/data_compressed/
|
| 21 |
+
```
|
| 22 |
+
|
| 23 |
+
### Method 3: Extract with progress (if pv installed)
|
| 24 |
+
```bash
|
| 25 |
+
cat scannetpp.tar.zst.* | pv | zstd -d | tar -xf -
|
| 26 |
+
```
|
| 27 |
+
|
| 28 |
+
## Verify before extracting:
|
| 29 |
+
```bash
|
| 30 |
+
# List contents without extracting
|
| 31 |
+
cat scannetpp.tar.zst.* | zstd -d | tar -tf - | head -20
|
| 32 |
+
|
| 33 |
+
# Check if all chunks present
|
| 34 |
+
ls -lh scannetpp.tar.zst.*
|
| 35 |
+
# Should have .00, .01, .02, etc. in sequence
|
| 36 |
+
```
|
| 37 |
+
|
| 38 |
+
## Disk space needed:
|
| 39 |
+
- scannetpp: ~44GB
|
| 40 |
+
- processed_scannet_f: ~310GB
|
| 41 |
+
- arkitscenes: ~560GB
|
| 42 |
+
|
| 43 |
+
## Transfer files:
|
| 44 |
+
```bash
|
| 45 |
+
# Copy to another machine (preserves chunks)
|
| 46 |
+
rsync -avhP scannetpp.tar.zst.* user@remote:/destination/
|
| 47 |
+
|
| 48 |
+
# Or use scp
|
| 49 |
+
scp scannetpp.tar.zst.* user@remote:/destination/
|
| 50 |
+
```
|