-
Notifications
You must be signed in to change notification settings - Fork 9.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Docs] Add Chinese version of conventions #5825
[Docs] Add Chinese version of conventions #5825
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5825 +/- ##
==========================================
- Coverage 66.46% 61.54% -4.93%
==========================================
Files 281 305 +24
Lines 22019 23896 +1877
Branches 3659 3951 +292
==========================================
+ Hits 14635 14706 +71
- Misses 6632 8405 +1773
- Partials 752 785 +33
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
docs_zh-CN/conventions.md
Outdated
## 损失 | ||
在MMDetection中,`dict` 包含着所有的损失和评价指标,他们将会由`model(**data)`返回。 | ||
|
||
例如,在bbox head中, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
space
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In our standards, there should be a space between English (including numbers) and Chinese.
So it should be 在 bbox head 中
.
docs_zh-CN/conventions.md
Outdated
|
||
'bbox_head.loss()'在模型正向阶段会被调用。返回的字典中包含了`'loss_bbox'`, `'loss_cls'`, `'acc'`。只有`'loss_bbox'`, `'loss_cls'`会被用于反向传播,`'acc'`只会被作为评价指标来监控训练过程。 | ||
|
||
我们默认,只有那些键的名称中包含'loss'的值会被用于反向传播。这个行为可以通过修改`BaseDetector.train_step()`来改变。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
space
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Space between English and Chinese.
Please re-request review if you fix my comments. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add space between English(including numbers) and Chinese. This is a unified standard in MMDetection.
docs_zh-CN/conventions.md
Outdated
## 损失 | ||
在MMDetection中,`dict` 包含着所有的损失和评价指标,他们将会由`model(**data)`返回。 | ||
|
||
例如,在bbox head中, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In our standards, there should be a space between English (including numbers) and Chinese.
So it should be 在 bbox head 中
.
docs_zh-CN/conventions.md
Outdated
|
||
'bbox_head.loss()'在模型正向阶段会被调用。返回的字典中包含了`'loss_bbox'`, `'loss_cls'`, `'acc'`。只有`'loss_bbox'`, `'loss_cls'`会被用于反向传播,`'acc'`只会被作为评价指标来监控训练过程。 | ||
|
||
我们默认,只有那些键的名称中包含'loss'的值会被用于反向传播。这个行为可以通过修改`BaseDetector.train_step()`来改变。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Space between English and Chinese.
Kindly ping @BIGWangYuDong for the final check. |
LGTM, two details need to be modified |
Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.
Motivation
This PR is for chinese version of conventions.md