Skip to content

Commit

Permalink
Fix stat.py (open-mmlab#420)
Browse files Browse the repository at this point in the history
* fix stat.py

* update
  • Loading branch information
ckkelvinchan authored Jul 7, 2021
1 parent fd51b61 commit e922c9e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs_zh-CN/stat.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}
"""
Expand All @@ -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}
Expand Down Expand Up @@ -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}
"""
Expand Down

0 comments on commit e922c9e

Please sign in to comment.