From e922c9e2315aa5254422f2e341214599e00fbede Mon Sep 17 00:00:00 2001 From: "Kelvin C.K. Chan" Date: Wed, 7 Jul 2021 22:00:05 +0800 Subject: [PATCH] Fix stat.py (#420) * fix stat.py * update --- docs_zh-CN/stat.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs_zh-CN/stat.py b/docs_zh-CN/stat.py index 73b1f73320..b6d6992d96 100755 --- a/docs_zh-CN/stat.py +++ b/docs_zh-CN/stat.py @@ -58,9 +58,9 @@ def anchor(name): statsmsg = f""" ## [{title}]({f}) -* Number of checkpoints: {len(ckpts)} -* Number of configs: {len(configs)} -* Number of papers: {len(papers)} +* 模型权重文件数量: {len(ckpts)} +* 配置文件数量: {len(configs)} +* 论文数量: {len(papers)} {paperlist} """ @@ -80,14 +80,14 @@ def anchor(name): [f' - {t}: {c}' for t, c in zip(papertypes, papercounts)]) modelzoo = f""" -# 概述 +# 总览 * 模型权重文件数量: {len(allckpts)} * 配置文件数量: {len(allconfigs)} * 论文数量: {len(allpapers)} {countstr} -有关支持的数据集,请参阅 [数据集](datasets.md). +有关支持的数据集,可参见 [数据集总览](datasets.md). {msglist} @@ -160,12 +160,12 @@ def anchor(name): [f' - {t}: {c}' for t, c in zip(papertypes, papercounts)]) modelzoo = f""" -# 概述 +# 总览 * 论文数量: {len(alldatapapers)} {countstr} -有关支持的算法, 请参阅 [模型库](modelzoo.md). +有关支持的算法, 可参见 [模型总览](modelzoo.md). {datamsglist} """