Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
ICV-mmengine_basecode
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Florian Schiffel
ICV-mmengine_basecode
Commits
491d71c0
Unverified
Commit
491d71c0
authored
2 years ago
by
Mashiro
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[Docs] Replace markdown table with html table (#800)
parent
c22e900f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/en/advanced_tutorials/logging.md
+29
-6
29 additions, 6 deletions
docs/en/advanced_tutorials/logging.md
docs/zh_cn/advanced_tutorials/logging.md
+29
-6
29 additions, 6 deletions
docs/zh_cn/advanced_tutorials/logging.md
with
58 additions
and
12 deletions
docs/en/advanced_tutorials/logging.md
+
29
−
6
View file @
491d71c0
...
...
@@ -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:
...
...
This diff is collapsed.
Click to expand it.
docs/zh_cn/advanced_tutorials/logging.md
+
29
−
6
View file @
491d71c0
...
...
@@ -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`
的值可以是:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment