diff --git a/docs/en/extension/VisualDL_en.md b/docs/en/extension/VisualDL_en.md
index 28650b29d..cdd99581a 100644
--- a/docs/en/extension/VisualDL_en.md
+++ b/docs/en/extension/VisualDL_en.md
@@ -10,7 +10,7 @@ Now PaddleClas support use VisualDL to visualize the changes of learning rate, l
 You only need to set the `vdl_dir` field in train config:
 
 ```yaml
-# confit.txt
+# config.yaml
 vdl_dir: "./vdl.log"
 ```
 
@@ -19,7 +19,7 @@ vdl_dir: "./vdl.log"
 Then normal start training:
 
 ```shell
-python3 tools/train.py -c config.txt
+python3 tools/train.py -c config.yaml
 ```
 
 ### Start VisualDL
diff --git a/docs/zh_CN/extension/VisualDL.md b/docs/zh_CN/extension/VisualDL.md
index ea21c5b29..d360c5b15 100644
--- a/docs/zh_CN/extension/VisualDL.md
+++ b/docs/zh_CN/extension/VisualDL.md
@@ -10,7 +10,7 @@ VisualDL是飞桨可视化分析工具,以丰富的图表呈现训练参数变
 在PaddleClas中使用VisualDL,只需在训练配置文件(config文件)添加如下字段:
 
 ```yaml
-# confit.txt
+# config.yaml
 vdl_dir: "./vdl.log"
 ```
 `vdl_dir` 用于指定VisualDL用于保存log信息的目录。
@@ -18,7 +18,7 @@ vdl_dir: "./vdl.log"
 然后正常启动训练即可:
 
 ```shell
-python3 tools/train.py -c config.txt
+python3 tools/train.py -c config.yaml
 ```
 
 ### 启动VisualDL