update readme

This commit is contained in:
rlsu9
2024-12-14 20:34:00 +00:00
parent bd0ef67632
commit b4eee986d5
+5 -4
View File
@@ -1,4 +1,4 @@
### prepare the src data
prepare the src data
```
python scripts/download_hf.py --repo_id=FastVideo/Distill-30K-Data-Src --local_dir=data/Distill-30K-Data-Src --repo_type=dataset
cd data/Distill-30K-Data-Src
@@ -10,9 +10,10 @@ rm -r ephemeral
rm Distill-30K-Data-Src.tar.gz
cd ../..
```
### Now the src data is stored in folder data/Distill-30K-Data-Src, adjust the path in `data/Distill-30K-Src/merge.txt` correspondingly
### Adjust the `SHARD_NUM` (total shards num) and `SHARD_IDX` (idx of the shard to preprocess) correspoindingly in `./scripts/preprocess_hunyuan_data.sh` for each GPU node to preprocess different shards
Now the src data is stored in folder data/Distill-30K-Data-Src, adjust the path in `data/Distill-30K-Src/merge.txt` correspondingly
Adjust the `SHARD_NUM` (total shards num) and `SHARD_IDX` (idx of the shard to preprocess) correspoindingly in `./scripts/preprocess_hunyuan_data.sh` for each GPU node to preprocess different shards
```
bash ./scripts/preprocess_hunyuan_data.sh
```
### The preprocessed data will be stored in `data/HD-Hunyuan-30K-Distill-Data_Shard*`
The preprocessed data will be stored in `data/HD-Hunyuan-30K-Distill-Data_Shard*`