Update basemodel.py fix typo

This commit is contained in:
William 2023-05-16 17:34:31 +08:00 committed by GitHub
parent 77a9ad3c8b
commit b525eb7a7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -643,7 +643,7 @@ class DeltaBase(nn.Module, SaveLoadMixin):
"""
def _caller(_org_func, includes, *args, **kwargs):
state_dict = _org_func(*args, **kwargs)
keys = list(state_dict.keys())3
keys = list(state_dict.keys())
for n in keys:
if n not in includes:
state_dict.pop(n)