Skip to content

Commit

Permalink
Update mmengine/utils/manager.py
Browse files Browse the repository at this point in the history
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
  • Loading branch information
HAOCHENYE and zhouzaida authored Mar 9, 2023
1 parent b6c2c91 commit db39f40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mmengine/utils/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def get_instance(cls: Type[T], name: str, **kwargs) -> T:
elif kwargs:
warnings.warn(
f'{cls} instance named of {name} has been created, '
'the method `get_instance` should not access any other '
'the method `get_instance` should not accept any other '
'arguments')
# Get latest instantiated instance or root instance.
_release_lock()
Expand Down

0 comments on commit db39f40

Please sign in to comment.