Skip to content

Open-Sora: Democratizing Efficient Video Production for All

Python

Update structure.md

Yanjia0f55c231178fb
diff --git a/docs/zh_CN/structure.md b/docs/zh_CN/structure.md
index 3eb7c69..6e25d84 100644
--- a/docs/zh_CN/structure.md
+++ b/docs/zh_CN/structure.md
@@ -1,6 +1,6 @@
-# Repo & Config Structure
+# 代码仓库和配置文件结构
-## Repo Structure
+## 代码仓库结构
```plaintext
Open-Sora
@@ -38,9 +38,10 @@ Open-Sora
└── tools -> Tools for data processing and more
```
-## Configs
+## 配置文件结构
-Our config files follows [MMEgine](https://github.com/open-mmlab/mmengine). MMEngine will reads the config file (a `.py` file) and parse it into a dictionary-like object.
+
+我们的配置文件遵循[MMEgine](https://github.com/open-mmlab/mmengine)。 MMEngine 将读取配置文件(“.py”文件)并将其解析为类似字典的对象。
```plaintext
Open-Sora
@@ -66,16 +67,16 @@ Open-Sora
└── pixart -> PixArt related configs
```
-## Inference config demos
+## 推理配置演示
-To change the inference settings, you can directly modify the corresponding config file. Or you can pass arguments to overwrite the config file ([config_utils.py](/opensora/utils/config_utils.py)). To change sampling prompts, you should modify the `.txt` file passed to the `--prompt_path` argument.
+要更改推理设置,可以直接修改相应的配置文件。或者您可以传递参数来覆盖配置文件([config_utils.py](/opensora/utils/config_utils.py))。要更改采样提示,您应该修改传递给“--prompt_path”参数的“.txt”文件。
```plaintext
--prompt_path ./assets/texts/t2v_samples.txt -> prompt_path
--ckpt-path ./path/to/your/ckpt.pth -> model["from_pretrained"]
```
-The explanation of each field is provided below.
+下面提供了每个字段的解释。
```python
# Define sampling size
@@ -117,7 +118,7 @@ prompt_path = "./assets/texts/t2v_samples.txt" # path to prompt file
save_dir = "./samples" # path to save samples
```
-## Training config demos
+## 训练配置演示
```python
# Define sampling size