Skip to content

Commit

Permalink
Fix typos in docs and type hints (#787)
Browse files Browse the repository at this point in the history
  • Loading branch information
HAOCHENYE authored Dec 5, 2022
1 parent e6516d5 commit c259d8b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/en/api/infer.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. role:: hidden
:class: hidden-section

mmengine.hub
mmengine.infer
===================================

.. currentmodule:: mmengine.infer
Expand Down
2 changes: 1 addition & 1 deletion docs/zh_cn/api/infer.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. role:: hidden
:class: hidden-section

mmengine.hub
mmengine.infer
===================================

.. currentmodule:: mmengine.infer
Expand Down
2 changes: 1 addition & 1 deletion mmengine/infer/infer.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
ImgType = Union[np.ndarray, Sequence[np.ndarray]]
ResType = Union[Dict, List[Dict]]
ConfigType = Union[Config, ConfigDict]
ModelType = Tuple[Union[dict, ConfigType], str]
ModelType = Union[dict, ConfigType, str]


class InferencerMeta(ABCMeta):
Expand Down

0 comments on commit c259d8b

Please sign in to comment.