Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
MMCV
Commits
ba334b43
Unverified
Commit
ba334b43
authored
Oct 20, 2021
by
Mr.Li
Committed by
GitHub
Oct 20, 2021
Browse files
修改语病 (#1411)
parent
ce58fd6f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
docs_zh_CN/understand_mmcv/registry.md
docs_zh_CN/understand_mmcv/registry.md
+1
-1
No files found.
docs_zh_CN/understand_mmcv/registry.md
View file @
ba334b43
...
@@ -41,7 +41,7 @@ class Converter1(object):
...
@@ -41,7 +41,7 @@ class Converter1(object):
self
.
a
=
a
self
.
a
=
a
self
.
b
=
b
self
.
b
=
b
```
```
使用注册器管理模块的关键步骤是,将实现的模块
到
注册到注册表
`CONVERTERS`
中。通过
`@CONVERTERS.register_module()`
装饰所实现的模块,字符串和类之间的映射就可以由
`CONVERTERS`
构建和维护,如下所示:
使用注册器管理模块的关键步骤是,将实现的模块注册到注册表
`CONVERTERS`
中。通过
`@CONVERTERS.register_module()`
装饰所实现的模块,字符串和类之间的映射就可以由
`CONVERTERS`
构建和维护,如下所示:
通过这种方式,就可以通过
`CONVERTERS`
建立字符串与类之间的映射,如下所示:
通过这种方式,就可以通过
`CONVERTERS`
建立字符串与类之间的映射,如下所示:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment