Skip to content

Commit 4eaa8e6

Browse files
authored
fix tutorials typo (#1844)
1 parent eeeaff9 commit 4eaa8e6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/en/tutorials/customize_models.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Here we show how to develop new components with an example of MobileNet.
8585
```python
8686
import torch.nn as nn
8787

88-
from ..registry import BACKBONES
88+
from ..builder import BACKBONES
8989

9090

9191
@BACKBONES.register_module

docs/zh_cn/tutorials/customize_models.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ MMSegmentation 里主要有2种组件:
8383
```python
8484
import torch.nn as nn
8585

86-
from ..registry import BACKBONES
86+
from ..builder import BACKBONES
8787

8888

8989
@BACKBONES.register_module

0 commit comments

Comments
 (0)