diff --git a/paddlehub/module/module.py b/paddlehub/module/module.py index f52c51790ee154e4a8f3f86d44468e82a8fd5435..175605d31417a0c2fae271e00441731a75b1de8e 100644 --- a/paddlehub/module/module.py +++ b/paddlehub/module/module.py @@ -122,7 +122,7 @@ class Module(object): if _decorator.func.id != 'moduleinfo': continue - info = {key.arg: key.value.s for key in _decorator.keywords} + info = {key.arg: key.value.s for key in _decorator.keywords if key.arg != 'meta'} return EasyDict(info) else: raise InvalidHubModule(directory)