Skip to content

Commit a9d9526

Browse files
committed
update onnxexport readme
1 parent 4852e55 commit a9d9526

File tree

2 files changed

+14
-12
lines changed

2 files changed

+14
-12
lines changed

onnx-export/README-ZH.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ pip install numpy==1.23.5
6464
从 HuggingFace 下载预训练模型和 GFPGAN 权重。
6565

6666
```bash
67+
# 确保您位于 ONNXExample-Avatar 目录结构中
68+
cd onnx-export\ONNXExample-Avatar
69+
6770
# 下载仓库
6871
hf download MyNiuuu/Visionary_avatar --local-dir ./Visionary_avatar --local-dir-use-symlinks False
6972

@@ -236,11 +239,10 @@ python train.py -s data/dnerf/hook --port 6017 --expname "dnerf/hook" --configs
236239

237240
### **2.5 导出 ONNX**
238241

239-
在 4D-GS 环境中,使用导出脚本(确保您位于 `ONNXExample` 目录结构中):
242+
在 4D-GS 环境中,使用导出脚本(确保您位于 `onnx-export\ONNXExample-4dgs` 目录结构中):
240243

241244
```bash
242-
git clone -b 4dgs https://github.com/Visionary-Laboratory/ONNXExample.git
243-
cd ONNXExample
245+
cd onnx-export\ONNXExample-4dgs
244246
245247
python onnx_template.py --ply path/to/output/dnerf/hook/point_cloud/iteration_14000/point_cloud.ply \
246248
--out your/prefered/onnxpath/gaussians4d.onnx
@@ -339,11 +341,10 @@ python train.py -s data/dataset_name/scenen -m output_path --appearance_dim 0
339341
340342
### **3.4 导出 ONNX**
341343
342-
在 Scaffold-GS 环境中,使用导出脚本:
344+
在 Scaffold-GS 环境中,使用导出脚本(确保您位于 `onnx-export\ONNXExample-scaffold` 目录结构中)
343345
344346
```bash
345-
git clone -b scaffold https://github.com/Visionary-Laboratory/ONNXExample.git
346-
cd ONNXExample
347+
cd onnx-export\ONNXExample-scaffold
347348
348349
python onnx_template.py --ply output_path/point_cloud/iteration_30000/point_cloud.ply \
349350
--cfg_args output_path/cfg_args \

onnx-export/README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ pip install numpy==1.23.5
7676
Download pretrained models and GFPGAN weights from HuggingFace.
7777

7878
```bash
79+
# ensure you are in the ONNXExample-Avatar directory
80+
cd onnx-export\ONNXExample-Avatar
81+
7982
# Download repository
8083
hf download MyNiuuu/Visionary_avatar --local-dir ./Visionary_avatar --local-dir-use-symlinks False
8184

@@ -248,11 +251,10 @@ After training, the checkpoints and output are saved in ```./output/dnerf/hook``
248251

249252
### **2.5 Exporting ONNX**
250253

251-
In the 4D-GS environment, use the exporter script (ensure you are in the `ONNXExample` directory structure):
254+
In the 4D-GS environment, use the exporter script (ensure you are in the `onnx-export\ONNXExample-4dgs` directory structure):
252255

253256
```bash
254-
git clone -b 4dgs https://github.com/Visionary-Laboratory/ONNXExample.git
255-
cd ONNXExample
257+
cd onnx-export\ONNXExample-4dgs
256258
257259
python onnx_template.py --ply path/to/output/dnerf/hook/point_cloud/iteration_14000/point_cloud.ply \
258260
--out your/prefered/onnxpath/gaussians4d.onnx
@@ -351,11 +353,10 @@ After Training, the output folder will be like:
351353
352354
### **3.4 Exporting ONNX**
353355
354-
In the Scaffold-GS environment, use the exporter script:
356+
In the Scaffold-GS environment, use the exporter script(ensure you are in the `onnx-export\ONNXExample-scaffold` directory structure):
355357
356358
```bash
357-
git clone -b scaffold https://github.com/Visionary-Laboratory/ONNXExample.git
358-
cd ONNXExample
359+
cd onnx-export\ONNXExample-scaffold
359360
360361
python onnx_template.py --ply output_path/point_cloud/iteration_30000/point_cloud.ply \
361362
--cfg_args output_path/cfg_args \

0 commit comments

Comments
 (0)