Awesome pre-trained models toolkit based on PaddlePaddle. (400+ models including Image, Text, Audio, Video and Cross-Modal with Easy Inference & Serving)【安全加固,暂停交互,请耐心等待】
!hub run ernie_zeus \
--task text_cloze \
--text "她有着一双[MASK]的眼眸。"
Traceback (most recent call last):
File "/opt/conda/envs/python35-paddle120-env/bin/hub", line 8, in
sys.exit(execute())
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddlehub/commands/utils.py", line 78, in execute
status = 0 if com['_entry']().execute(sys.argv[idx:]) else 1
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddlehub/commands/run.py", line 47, in execute
module = Module(name=module_name)
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddlehub/module/module.py", line 396, in newkwargs)
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddlehub/module/module.py", line 511, in init_with_name
return user_module_cls(kwargs)
File "/home/aistudio/.paddlehub/modules/ernie_zeus/module.py", line 54, in init
self.access_token = get_access_token(ak, sk)
File "/home/aistudio/.paddlehub/modules/ernie_zeus/module.py", line 27, in get_access_token
'Please go to the wenxin official website to apply for AK and SK and set the parameters “ak” and “sk” correctly, or set the environment variables “WENXIN_AK” and “WENXIN_SK”.'
AssertionError: Please go to the wenxin official website to apply for AK and SK and set the parameters “ak” and “sk” correctly, or set the environment variables “WENXIN_AK” and “WENXIN_SK”.
问题:现在收费了?还是我来晚了?
欢迎您反馈PaddleHub使用问题,非常感谢您对PaddleHub的贡献! 在留下您的问题时,辛苦您同步提供如下信息:
Traceback (most recent call last): File "/opt/conda/envs/python35-paddle120-env/bin/hub", line 8, in
sys.exit(execute())
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddlehub/commands/utils.py", line 78, in execute
status = 0 if com['_entry']().execute(sys.argv[idx:]) else 1
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddlehub/commands/run.py", line 47, in execute
module = Module(name=module_name)
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddlehub/module/module.py", line 396, in new
kwargs)
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddlehub/module/module.py", line 511, in init_with_name
return user_module_cls(kwargs)
File "/home/aistudio/.paddlehub/modules/ernie_zeus/module.py", line 54, in init
self.access_token = get_access_token(ak, sk)
File "/home/aistudio/.paddlehub/modules/ernie_zeus/module.py", line 27, in get_access_token
'Please go to the wenxin official website to apply for AK and SK and set the parameters “ak” and “sk” correctly, or set the environment variables “WENXIN_AK” and “WENXIN_SK”.'
AssertionError: Please go to the wenxin official website to apply for AK and SK and set the parameters “ak” and “sk” correctly, or set the environment variables “WENXIN_AK” and “WENXIN_SK”.
问题:现在收费了?还是我来晚了?