Skip to content
Snippets Groups Projects
Unverified Commit 491d71c0 authored by Mashiro's avatar Mashiro Committed by GitHub
Browse files

[Docs] Replace markdown table with html table (#800)

parent c22e900f
No related branches found
No related tags found
No related merge requests found
......@@ -103,12 +103,35 @@ runner.train()
Currently, MMEngine supports the following statistical methods:
| statistic method | arguments | function |
| :--------------- | :---------- | :------------------------------------------------------------- |
| mean | window_size | statistic the average log of the last `window_size` iterations |
| min | window_size | statistic the minimum log of the last `window_size` iterations |
| max | window_size | statistic the maximum log of the last `window_size` iterations |
| current | / | statistic the latest log |
<table class="docutils">
<thead>
<tr>
<th>statistic method</th>
<th>arguments</th>
<th>function</th>
</tr>
<tr>
<td>mean</td>
<td>window_size</td>
<td>statistic the average log of the last `window_size`</td>
</tr>
<tr>
<td>min</td>
<td>window_size</td>
<td>statistic the minimum log of the last `window_size`</td>
</tr>
<tr>
<td>max</td>
<td>window_size</td>
<td>statistic the maximum log of the last `window_size`</td>
</tr>
<tr>
<td>current</td>
<td>/</td>
<td>statistic the latest</td>
</tr>
</thead>
</table>
`window_size` mentioned above could be:
......
......@@ -97,12 +97,35 @@ log_processor 默认输出 `by_epoch=True` 格式的日志。日志格式需要
其中 `data_src` 为原日志名,`mean` 为统计方法,`global` 为统计方法的参数。这样的话,日志中统计的 `loss1` 就是全局均值。我们可以在日志处理器中配置以下统计方法:
| 统计方法 | 参数 | 功能 |
| :------- | :---------- | :--------------------- |
| mean | window_size | 统计窗口内日志的均值 |
| min | window_size | 统计窗口内日志的最小值 |
| max | window_size | 统计窗口内日志的最大值 |
| current | / | 返回最近一次更新的日志 |
<table class="docutils">
<thead>
<tr>
<th>统计方法</th>
<th>参数</th>
<th>功能</th>
</tr>
<tr>
<td>mean</td>
<td>window_size</td>
<td>统计窗口内日志的均值</td>
</tr>
<tr>
<td>min</td>
<td>window_size</td>
<td>统计窗口内日志的最小值</td>
</tr>
<tr>
<td>max</td>
<td>window_size</td>
<td>统计窗口内日志的最大值</td>
</tr>
<tr>
<td>current</td>
<td>/</td>
<td>返回最近一次更新的日志</td>
</tr>
</thead>
</table>
其中 `window_size` 的值可以是:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment