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
5de2b130
"...git@developer.sourcefind.cn:OpenDAS/torch-harmonics.git" did not exist on "a2b21fb6d5760e73a5264220a016481b7a3386b6"
Unverified
Commit
5de2b130
authored
Feb 14, 2022
by
Ren Tianhe
Committed by
GitHub
Feb 14, 2022
Browse files
[Docs] Fix typo in registry.md (#1717)
parent
e36332e6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
docs/en/understand_mmcv/registry.md
docs/en/understand_mmcv/registry.md
+1
-1
docs/zh_cn/understand_mmcv/registry.md
docs/zh_cn/understand_mmcv/registry.md
+1
-1
No files found.
docs/en/understand_mmcv/registry.md
View file @
5de2b130
...
@@ -91,7 +91,7 @@ CONVERTERS = Registry('converter', build_func=build_converter)
...
@@ -91,7 +91,7 @@ CONVERTERS = Registry('converter', build_func=build_converter)
```
{note}
```
{note}
In this example, we demonstrate how to use the `build_func` argument to customize the way to build a class instance.
In this example, we demonstrate how to use the `build_func` argument to customize the way to build a class instance.
The functionality is similar to the default `build_from_cfg`. In most cases, default one would be sufficient.
The functionality is similar to the default `build_from_cfg`. In most cases, default one would be sufficient.
`build_model_from_cfg` is also implemented to build PyTorch module in `nn.Sequent
a
il`, you may directly use them instead of implementing by yourself.
`build_model_from_cfg` is also implemented to build PyTorch module in `nn.Sequenti
a
l`, you may directly use them instead of implementing by yourself.
```
```
### Hierarchy Registry
### Hierarchy Registry
...
...
docs/zh_cn/understand_mmcv/registry.md
View file @
5de2b130
...
@@ -86,7 +86,7 @@ CONVERTERS = Registry('converter', build_func=build_converter)
...
@@ -86,7 +86,7 @@ CONVERTERS = Registry('converter', build_func=build_converter)
该功能类似于默认的`build_from_cfg`。在大多数情况下,默认就足够了。
该功能类似于默认的`build_from_cfg`。在大多数情况下,默认就足够了。
```
```
`build_model_from_cfg`
也实现了在
`nn.Sequent
a
il`
中构建PyTorch模块,你可以直接使用它们。
`build_model_from_cfg`
也实现了在
`nn.Sequenti
a
l`
中构建PyTorch模块,你可以直接使用它们。
### 注册器层结构
### 注册器层结构
...
...
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