Awesome pre-trained models toolkit based on PaddlePaddle. (400+ models including Image, Text, Audio, Video and Cross-Modal with Easy Inference & Serving)【安全加固,暂停交互,请耐心等待】
registry.baidubce.com/paddlepaddle/paddle:2.3.0-gpu-cuda11.2-cudnn8镜像创建容器中:
paddlepaddle-gpu:2.3.0.post112
paddlehub :2.3.1
Python 3.7.13
执行命令 hub install lstm_tacotron2
Traceback (most recent call last):
File "/usr/local/bin/hub", line 8, in
sys.exit(execute())
File "/usr/local/lib/python3.7/dist-packages/paddlehub/commands/utils.py", line 78, in execute
status = 0 if com['_entry']().execute(sys.argv[idx:]) else 1
File "/usr/local/lib/python3.7/dist-packages/paddlehub/commands/install.py", line 55, in execute
manager.install(name=name, version=version, ignore_env_mismatch=args.ignore_env_mismatch)
File "/usr/local/lib/python3.7/dist-packages/paddlehub/module/manager.py", line 190, in install
return self._install_from_name(name, version, ignore_env_mismatch)
File "/usr/local/lib/python3.7/dist-packages/paddlehub/module/manager.py", line 265, in _install_from_name
return self._install_from_url(item['url'])
File "/usr/local/lib/python3.7/dist-packages/paddlehub/module/manager.py", line 258, in _install_from_url
return self._install_from_archive(file)
File "/usr/local/lib/python3.7/dist-packages/paddlehub/module/manager.py", line 380, in _install_from_archive
return self._install_from_directory(directory)
File "/usr/local/lib/python3.7/dist-packages/paddlehub/module/manager.py", line 364, in _install_from_directory
hub_module_cls = HubModule.load(self._get_normalized_path(module_info.name))
File "/usr/local/lib/python3.7/dist-packages/paddlehub/module/module.py", line 423, in load
py_module = utils.load_py_module(dirname, '{}.module'.format(basename))
File "/usr/local/lib/python3.7/dist-packages/paddlehub/utils/utils.py", line 250, in load_py_module
py_module = importlib.import_module(py_module_name)
File "/usr/lib/python3.7/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "/root/.paddlehub/modules/ge2e_fastspeech2_pwgan/module.py", line 27, in
from paddlespeech.t2s.frontend.zh_frontend import Frontend
File "/usr/local/lib/python3.7/dist-packages/paddlespeech/t2s/init.py", line 19, in
from . import frontend
File "/usr/local/lib/python3.7/dist-packages/paddlespeech/t2s/frontend/init.py", line 16, in
from .phonectic import
File "/usr/local/lib/python3.7/dist-packages/paddlespeech/t2s/frontend/phonectic.py", line 18, in
from g2p_en import G2p
File "/usr/local/lib/python3.7/dist-packages/g2p_en/init.py", line 1, in
from .g2p import G2p
File "/usr/local/lib/python3.7/dist-packages/g2p_en/g2p.py", line 26, in
nltk.data.find('corpora/cmudict.zip')
File "/usr/local/lib/python3.7/dist-packages/nltk/data.py", line 542, in find
return ZipFilePathPointer(p, zipentry)
File "/usr/local/lib/python3.7/dist-packages/nltk/compat.py", line 41, in _decorator
return init_func(args, *kwargs)
File "/usr/local/lib/python3.7/dist-packages/nltk/data.py", line 394, in init
zipfile = OpenOnDemandZipFile(os.path.abspath(zipfile))
File "/usr/local/lib/python3.7/dist-packages/nltk/compat.py", line 41, in _decorator
return init_func(args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/nltk/data.py", line 935, in init
zipfile.ZipFile.init(self, filename)
File "/usr/lib/python3.7/zipfile.py", line 1258, in init
self._RealGetContents()
File "/usr/lib/python3.7/zipfile.py", line 1325, in _RealGetContents
raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file
registry.baidubce.com/paddlepaddle/paddle:2.3.0-gpu-cuda11.2-cudnn8镜像创建容器中: paddlepaddle-gpu:2.3.0.post112 paddlehub :2.3.1 Python 3.7.13 执行命令 hub install lstm_tacotron2 Traceback (most recent call last): File "/usr/local/bin/hub", line 8, in
sys.exit(execute())
File "/usr/local/lib/python3.7/dist-packages/paddlehub/commands/utils.py", line 78, in execute
status = 0 if com['_entry']().execute(sys.argv[idx:]) else 1
File "/usr/local/lib/python3.7/dist-packages/paddlehub/commands/install.py", line 55, in execute
manager.install(name=name, version=version, ignore_env_mismatch=args.ignore_env_mismatch)
File "/usr/local/lib/python3.7/dist-packages/paddlehub/module/manager.py", line 190, in install
return self._install_from_name(name, version, ignore_env_mismatch)
File "/usr/local/lib/python3.7/dist-packages/paddlehub/module/manager.py", line 265, in _install_from_name
return self._install_from_url(item['url'])
File "/usr/local/lib/python3.7/dist-packages/paddlehub/module/manager.py", line 258, in _install_from_url
return self._install_from_archive(file)
File "/usr/local/lib/python3.7/dist-packages/paddlehub/module/manager.py", line 380, in _install_from_archive
return self._install_from_directory(directory)
File "/usr/local/lib/python3.7/dist-packages/paddlehub/module/manager.py", line 364, in _install_from_directory
hub_module_cls = HubModule.load(self._get_normalized_path(module_info.name))
File "/usr/local/lib/python3.7/dist-packages/paddlehub/module/module.py", line 423, in load
py_module = utils.load_py_module(dirname, '{}.module'.format(basename))
File "/usr/local/lib/python3.7/dist-packages/paddlehub/utils/utils.py", line 250, in load_py_module
py_module = importlib.import_module(py_module_name)
File "/usr/lib/python3.7/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "/root/.paddlehub/modules/ge2e_fastspeech2_pwgan/module.py", line 27, in
from paddlespeech.t2s.frontend.zh_frontend import Frontend
File "/usr/local/lib/python3.7/dist-packages/paddlespeech/t2s/init.py", line 19, in
from . import frontend
File "/usr/local/lib/python3.7/dist-packages/paddlespeech/t2s/frontend/init.py", line 16, in
from .phonectic import
File "/usr/local/lib/python3.7/dist-packages/paddlespeech/t2s/frontend/phonectic.py", line 18, in
from g2p_en import G2p
File "/usr/local/lib/python3.7/dist-packages/g2p_en/init.py", line 1, in
from .g2p import G2p
File "/usr/local/lib/python3.7/dist-packages/g2p_en/g2p.py", line 26, in
nltk.data.find('corpora/cmudict.zip')
File "/usr/local/lib/python3.7/dist-packages/nltk/data.py", line 542, in find
return ZipFilePathPointer(p, zipentry)
File "/usr/local/lib/python3.7/dist-packages/nltk/compat.py", line 41, in _decorator
return init_func( args, *kwargs)
File "/usr/local/lib/python3.7/dist-packages/nltk/data.py", line 394, in init
zipfile = OpenOnDemandZipFile(os.path.abspath(zipfile))
File "/usr/local/lib/python3.7/dist-packages/nltk/compat.py", line 41, in _decorator
return init_func(args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/nltk/data.py", line 935, in init
zipfile.ZipFile.init(self, filename)
File "/usr/lib/python3.7/zipfile.py", line 1258, in init
self._RealGetContents()
File "/usr/lib/python3.7/zipfile.py", line 1325, in _RealGetContents
raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file