加载模型报错,好像无法下载
Created by: chenfengshf
[2019-09-18 21:19:47,006] [ INFO] - Installing bert module [2019-09-18 21:19:47,093] [ ERROR] - Can't find module bert ---------------------------------------------------------------------------NameError Traceback (most recent call last) in 1 # 加载 erine ----> 2 module = hub.Module(name="bert") 3 4 inputs, outputs, program = module.context(trainable="True", max_seq_len=128) /opt/conda/envs/python35-paddle120-env/lib/python3.5/site-packages/paddlehub/module/module.py in init(self, name, module_dir, signatures, module_info, assets, processor, extra_info, version) 120 # TODO(wuzewu): print more module loading info log 121 if name: --> 122 self._init_with_name(name=name, version=version) 123 elif module_dir: 124 self._init_with_module_file(module_dir=module_dir[0]) /opt/conda/envs/python35-paddle120-env/lib/python3.5/site-packages/paddlehub/module/module.py in _init_with_name(self, name, version) 148 if not result: 149 logger.error(tips) --> 150 exit(1) 151 logger.info(tips) 152 self._init_with_module_file(module_dir[0]) NameError: name 'exit' is not defined