Commit b5263b5f authored by mashun1's avatar mashun1
Browse files

Update README.md

parent 5e0c53d0
...@@ -98,6 +98,12 @@ python prepare_data_record.py \ ...@@ -98,6 +98,12 @@ python prepare_data_record.py \
--save_root="/path/to/save_xxx.jsonl" --save_root="/path/to/save_xxx.jsonl"
``` ```
注意:`mask_root``agnostic-mask``openpose_img`中相应的文件名需要进行修改,可使用
```bash
find /path/to/files -type f -name "*_rendered.png" -exec bash -c 'mv "$0" "${0/_rendered.png/.png}"' {} \;
```
### 启动训练 ### 启动训练
```bash ```bash
...@@ -121,7 +127,7 @@ export HF_ENDPOINT=https://hf-mirror.com ...@@ -121,7 +127,7 @@ export HF_ENDPOINT=https://hf-mirror.com
cd run && bash scripts/generate_test_sample.sh cd run && bash scripts/generate_test_sample.sh
``` ```
注意:在运行前请检查并确保`scripts/generate_test_sample.sh`中配置正确。其中的`xx.jsonl`文件生成可参考`训练-数据路径准备`(eval_nums=0,且后续修改文件名)。 注意:在运行前请检查并确保`scripts/generate_test_sample.sh`中配置正确。其中的`test_data.jsonl`文件生成可参考`训练-数据路径准备`eval_nums=0,然后将使用测试数据生成的`train_data.jsonl`重命名为`test_data.jsonl`即可)。
### 指标计算 ### 指标计算
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment