使用docker成功安装paddlespeech进行语音识别
@[TOC]使用docker成功安裝paddlespeech進(jìn)行語(yǔ)音識(shí)別
多次使用單機(jī)安裝paddlepaddle及paddlespeech失敗后,遇到絕大多數(shù)的原因是pyton與paddlespeech不兼容。所以轉(zhuǎn)向了docker方式安裝。docker安裝好之后,也可以再打包,這樣就形成paddlespeech的docker鏡像。我安裝的是CPU版本,具體的步驟如下。
安裝docker
Docker 軟件包和依賴包已經(jīng)包含在默認(rèn)的 CentOS-Extras 軟件源里,安裝命令如下:
yum -y install docker-io
[root@hadoop4 ~]# yum -y install docker-io
已加載插件:fastestmirror
Determining fastest mirrors
base | 3.6 kB 00:00:00
extras | 2.9 kB 00:00:00
updates | 2.9 kB 00:00:00
正在解決依賴關(guān)系
–> 正在檢查事務(wù)
—> 軟件包 docker.x86_64.2.1.13.1-208.git7d71120.el7_9 將被 安裝
–> 正在處理依賴關(guān)系 docker-common = 2:1.13.1-208.git7d71120.el7_9,它被軟件包 2:docker-1.13.1-208.git7d71120.el7_9.x86_64 需要
–> 正在處理依賴關(guān)系 docker-client = 2:1.13.1-208.git7d71120.el7_9,它被軟件包 2:docker-1.13.1-208.git7d71120.el7_9.x86_64 需要
–> 正在處理依賴關(guān)系 subscription-manager-rhsm-certificates,它被軟件包 2:docker-1.13.1-208.git7d71120.el7_9.x86_64 需要
–> 正在檢查事務(wù)
—> 軟件包 docker-client.x86_64.2.1.13.1-208.git7d71120.el7_9 將被 安裝
—> 軟件包 docker-common.x86_64.2.1.13.1-208.git7d71120.el7_9 將被 安裝
–> 正在處理依賴關(guān)系 skopeo-containers >= 1:0.1.26-2,它被軟件包 2:docker-common-1.13.1-208.git7d71120.el7_9.x86_64 需要
–> 正在處理依賴關(guān)系 oci-umount >= 2:2.3.3-3,它被軟件包 2:docker-common-1.13.1-208.git7d71120.el7_9.x86_64 需要
–> 正在處理依賴關(guān)系 oci-systemd-hook >= 1:0.1.4-9,它被軟件包 2:docker-common-1.13.1-208.git7d71120.el7_9.x86_64 需要
–> 正在處理依賴關(guān)系 oci-register-machine >= 1:0-5.13,它被軟件包 2:docker-common-1.13.1-208.git7d71120.el7_9.x86_64 需要
–> 正在處理依賴關(guān)系 container-storage-setup >= 0.9.0-1,它被軟件包 2:docker-common-1.13.1-208.git7d71120.el7_9.x86_64 需要
–> 正在處理依賴關(guān)系 container-selinux >= 2:2.51-1,它被軟件包 2:docker-common-1.13.1-208.git7d71120.el7_9.x86_64 需要
–> 正在處理依賴關(guān)系 atomic-registries,它被軟件包 2:docker-common-1.13.1-208.git7d71120.el7_9.x86_64 需要
—> 軟件包 subscription-manager-rhsm-certificates.x86_64.0.1.24.48-1.el7.centos 將被 安裝
–> 正在檢查事務(wù)
—> 軟件包 atomic-registries.x86_64.1.1.22.1-33.gitb507039.el7_8 將被 安裝
–> 正在處理依賴關(guān)系 python-yaml,它被軟件包 1:atomic-registries-1.22.1-33.gitb507039.el7_8.x86_64 需要
–> 正在處理依賴關(guān)系 python-setuptools,它被軟件包 1:atomic-registries-1.22.1-33.gitb507039.el7_8.x86_64 需要
–> 正在處理依賴關(guān)系 python-pytoml,它被軟件包 1:atomic-registries-1.22.1-33.gitb507039.el7_8.x86_64 需要
—> 軟件包 container-selinux.noarch.2.2.119.2-1.911c772.el7_8 將被 安裝
–> 正在處理依賴關(guān)系 policycoreutils-python,它被軟件包 2:container-selinux-2.119.2-1.911c772.el7_8.noarch 需要
—> 軟件包 container-storage-setup.noarch.0.0.11.0-2.git5eaf76c.el7 將被 安裝
—> 軟件包 containers-common.x86_64.1.0.1.40-11.el7_8 將被 安裝
–> 正在處理依賴關(guān)系 subscription-manager,它被軟件包 1:containers-common-0.1.40-11.el7_8.x86_64 需要
–> 正在處理依賴關(guān)系 slirp4netns,它被軟件包 1:containers-common-0.1.40-11.el7_8.x86_64 需要
–> 正在處理依賴關(guān)系 fuse-overlayfs,它被軟件包 1:containers-common-0.1.40-11.el7_8.x86_64 需要
—> 軟件包 oci-register-machine.x86_64.1.0-6.git2b44233.el7 將被 安裝
—> 軟件包 oci-systemd-hook.x86_64.1.0.2.0-1.git05e6923.el7_6 將被 安裝
–> 正在處理依賴關(guān)系 libyajl.so.2()(64bit),它被軟件包 1:oci-systemd-hook-0.2.0-1.git05e6923.el7_6.x86_64 需要
—> 軟件包 oci-umount.x86_64.2.2.5-3.el7 將被 安裝
–> 正在檢查事務(wù)
—> 軟件包 PyYAML.x86_64.0.3.10-11.el7 將被 安裝
–> 正在處理依賴關(guān)系 libyaml-0.so.2()(64bit),它被軟件包 PyYAML-3.10-11.el7.x86_64 需要
—> 軟件包 fuse-overlayfs.x86_64.0.0.7.2-6.el7_8 將被 安裝
–> 正在處理依賴關(guān)系 libfuse3.so.3(FUSE_3.2)(64bit),它被軟件包 fuse-overlayfs-0.7.2-6.el7_8.x86_64 需要
–> 正在處理依賴關(guān)系 libfuse3.so.3(FUSE_3.0)(64bit),它被軟件包 fuse-overlayfs-0.7.2-6.el7_8.x86_64 需要
–> 正在處理依賴關(guān)系 libfuse3.so.3()(64bit),它被軟件包 fuse-overlayfs-0.7.2-6.el7_8.x86_64 需要
—> 軟件包 policycoreutils-python.x86_64.0.2.5-34.el7 將被 安裝
–> 正在處理依賴關(guān)系 policycoreutils = 2.5-34.el7,它被軟件包 policycoreutils-python-2.5-34.el7.x86_64 需要
–> 正在處理依賴關(guān)系 setools-libs >= 3.3.8-4,它被軟件包 policycoreutils-python-2.5-34.el7.x86_64 需要
–> 正在處理依賴關(guān)系 libsemanage-python >= 2.5-14,它被軟件包 policycoreutils-python-2.5-34.el7.x86_64 需要
–> 正在處理依賴關(guān)系 audit-libs-python >= 2.1.3-4,它被軟件包 policycoreutils-python-2.5-34.el7.x86_64 需要
–> 正在處理依賴關(guān)系 python-IPy,它被軟件包 policycoreutils-python-2.5-34.el7.x86_64 需要
–> 正在處理依賴關(guān)系 libqpol.so.1(VERS_1.4)(64bit),它被軟件包 policycoreutils-python-2.5-34.el7.x86_64 需要
–> 正在處理依賴關(guān)系 libqpol.so.1(VERS_1.2)(64bit),它被軟件包 policycoreutils-python-2.5-34.el7.x86_64 需要
–> 正在處理依賴關(guān)系 libcgroup,它被軟件包 policycoreutils-python-2.5-34.el7.x86_64 需要
–> 正在處理依賴關(guān)系 libapol.so.4(VERS_4.0)(64bit),它被軟件包 policycoreutils-python-2.5-34.el7.x86_64 需要
–> 正在處理依賴關(guān)系 checkpolicy,它被軟件包 policycoreutils-python-2.5-34.el7.x86_64 需要
–> 正在處理依賴關(guān)系 libqpol.so.1()(64bit),它被軟件包 policycoreutils-python-2.5-34.el7.x86_64 需要
–> 正在處理依賴關(guān)系 libapol.so.4()(64bit),它被軟件包 policycoreutils-python-2.5-34.el7.x86_64 需要
—> 軟件包 python-pytoml.noarch.0.0.1.14-1.git7dea353.el7 將被 安裝
—> 軟件包 python-setuptools.noarch.0.0.9.8-7.el7 將被 安裝
–> 正在處理依賴關(guān)系 python-backports-ssl_match_hostname,它被軟件包 python-setuptools-0.9.8-7.el7.noarch 需要
—> 軟件包 slirp4netns.x86_64.0.0.4.3-4.el7_8 將被 安裝
—> 軟件包 subscription-manager.x86_64.0.1.24.48-1.el7.centos 將被 安裝
–> 正在處理依賴關(guān)系 subscription-manager-rhsm = 1.24.48,它被軟件包 subscription-manager-1.24.48-1.el7.centos.x86_64 需要
–> 正在處理依賴關(guān)系 python-dmidecode >= 3.12.2-2,它被軟件包 subscription-manager-1.24.48-1.el7.centos.x86_64 需要
–> 正在處理依賴關(guān)系 usermode,它被軟件包 subscription-manager-1.24.48-1.el7.centos.x86_64 需要
–> 正在處理依賴關(guān)系 python-syspurpose,它被軟件包 subscription-manager-1.24.48-1.el7.centos.x86_64 需要
–> 正在處理依賴關(guān)系 python-six,它被軟件包 subscription-manager-1.24.48-1.el7.centos.x86_64 需要
–> 正在處理依賴關(guān)系 python-inotify,它被軟件包 subscription-manager-1.24.48-1.el7.centos.x86_64 需要
–> 正在處理依賴關(guān)系 python-ethtool,它被軟件包 subscription-manager-1.24.48-1.el7.centos.x86_64 需要
–> 正在處理依賴關(guān)系 python-dateutil,它被軟件包 subscription-manager-1.24.48-1.el7.centos.x86_64 需要
—> 軟件包 yajl.x86_64.0.2.0.4-4.el7 將被 安裝
–> 正在檢查事務(wù)
—> 軟件包 audit-libs-python.x86_64.0.2.8.5-4.el7 將被 安裝
–> 正在處理依賴關(guān)系 audit-libs(x86-64) = 2.8.5-4.el7,它被軟件包 audit-libs-python-2.8.5-4.el7.x86_64 需要
—> 軟件包 checkpolicy.x86_64.0.2.5-8.el7 將被 安裝
—> 軟件包 fuse3-libs.x86_64.0.3.6.1-4.el7 將被 安裝
—> 軟件包 libcgroup.x86_64.0.0.41-21.el7 將被 安裝
—> 軟件包 libsemanage-python.x86_64.0.2.5-14.el7 將被 安裝
—> 軟件包 libyaml.x86_64.0.0.1.4-11.el7_0 將被 安裝
—> 軟件包 policycoreutils.x86_64.0.2.5-29.el7 將被 升級(jí)
—> 軟件包 policycoreutils.x86_64.0.2.5-34.el7 將被 更新
—> 軟件包 python-IPy.noarch.0.0.75-6.el7 將被 安裝
—> 軟件包 python-backports-ssl_match_hostname.noarch.0.3.5.0.1-1.el7 將被 安裝
–> 正在處理依賴關(guān)系 python-ipaddress,它被軟件包 python-backports-ssl_match_hostname-3.5.0.1-1.el7.noarch 需要
–> 正在處理依賴關(guān)系 python-backports,它被軟件包 python-backports-ssl_match_hostname-3.5.0.1-1.el7.noarch 需要
—> 軟件包 python-dateutil.noarch.0.1.5-7.el7 將被 安裝
—> 軟件包 python-dmidecode.x86_64.0.3.12.2-4.el7 將被 安裝
–> 正在處理依賴關(guān)系 libxml2-python,它被軟件包 python-dmidecode-3.12.2-4.el7.x86_64 需要
–> 正在處理依賴關(guān)系 libxml2mod.so()(64bit),它被軟件包 python-dmidecode-3.12.2-4.el7.x86_64 需要
—> 軟件包 python-ethtool.x86_64.0.0.8-8.el7 將被 安裝
–> 正在處理依賴關(guān)系 libnl.so.1()(64bit),它被軟件包 python-ethtool-0.8-8.el7.x86_64 需要
—> 軟件包 python-inotify.noarch.0.0.9.4-4.el7 將被 安裝
—> 軟件包 python-six.noarch.0.1.9.0-2.el7 將被 安裝
—> 軟件包 python-syspurpose.x86_64.0.1.24.48-1.el7.centos 將被 安裝
—> 軟件包 setools-libs.x86_64.0.3.3.8-4.el7 將被 安裝
—> 軟件包 subscription-manager-rhsm.x86_64.0.1.24.48-1.el7.centos 將被 安裝
—> 軟件包 usermode.x86_64.0.1.111-6.el7 將被 安裝
–> 正在檢查事務(wù)
—> 軟件包 audit-libs.x86_64.0.2.8.4-4.el7 將被 升級(jí)
–> 正在處理依賴關(guān)系 audit-libs(x86-64) = 2.8.4-4.el7,它被軟件包 audit-2.8.4-4.el7.x86_64 需要
—> 軟件包 audit-libs.x86_64.0.2.8.5-4.el7 將被 更新
—> 軟件包 libnl.x86_64.0.1.1.4-3.el7 將被 安裝
—> 軟件包 libxml2-python.x86_64.0.2.9.1-6.el7.5 將被 安裝
–> 正在處理依賴關(guān)系 libxml2 = 2.9.1-6.el7.5,它被軟件包 libxml2-python-2.9.1-6.el7.5.x86_64 需要
—> 軟件包 python-backports.x86_64.0.1.0-8.el7 將被 安裝
—> 軟件包 python-ipaddress.noarch.0.1.0.16-2.el7 將被 安裝
–> 正在檢查事務(wù)
—> 軟件包 audit.x86_64.0.2.8.4-4.el7 將被 升級(jí)
—> 軟件包 audit.x86_64.0.2.8.5-4.el7 將被 更新
—> 軟件包 libxml2.x86_64.0.2.9.1-6.el7_2.3 將被 升級(jí)
—> 軟件包 libxml2.x86_64.0.2.9.1-6.el7.5 將被 更新
–> 解決依賴關(guān)系完成
依賴關(guān)系解決
正在安裝:
docker x86_64 2:1.13.1-208.git7d71120.el7_9 extras 17 M
為依賴而安裝:
PyYAML x86_64 3.10-11.el7 base 153 k
atomic-registries x86_64 1:1.22.1-33.gitb507039.el7_8 extras 36 k
audit-libs-python x86_64 2.8.5-4.el7 base 76 k
checkpolicy x86_64 2.5-8.el7 base 295 k
container-selinux noarch 2:2.119.2-1.911c772.el7_8 extras 40 k
container-storage-setup noarch 0.11.0-2.git5eaf76c.el7 extras 35 k
containers-common x86_64 1:0.1.40-11.el7_8 extras 43 k
docker-client x86_64 2:1.13.1-208.git7d71120.el7_9 extras 3.9 M
docker-common x86_64 2:1.13.1-208.git7d71120.el7_9 extras 101 k
fuse-overlayfs x86_64 0.7.2-6.el7_8 extras 54 k
fuse3-libs x86_64 3.6.1-4.el7 extras 82 k
libcgroup x86_64 0.41-21.el7 base 66 k
libnl x86_64 1.1.4-3.el7 base 128 k
libsemanage-python x86_64 2.5-14.el7 base 113 k
libxml2-python x86_64 2.9.1-6.el7.5 base 247 k
libyaml x86_64 0.1.4-11.el7_0 base 55 k
oci-register-machine x86_64 1:0-6.git2b44233.el7 extras 1.1 M
oci-systemd-hook x86_64 1:0.2.0-1.git05e6923.el7_6 extras 34 k
oci-umount x86_64 2:2.5-3.el7 extras 33 k
policycoreutils-python x86_64 2.5-34.el7 base 457 k
python-IPy noarch 0.75-6.el7 base 32 k
python-backports x86_64 1.0-8.el7 base 5.8 k
python-backports-ssl_match_hostname noarch 3.5.0.1-1.el7 base 13 k
python-dateutil noarch 1.5-7.el7 base 85 k
python-dmidecode x86_64 3.12.2-4.el7 base 83 k
python-ethtool x86_64 0.8-8.el7 base 34 k
python-inotify noarch 0.9.4-4.el7 base 49 k
python-ipaddress noarch 1.0.16-2.el7 base 34 k
python-pytoml noarch 0.1.14-1.git7dea353.el7 extras 18 k
python-setuptools noarch 0.9.8-7.el7 base 397 k
python-six noarch 1.9.0-2.el7 base 29 k
python-syspurpose x86_64 1.24.48-1.el7.centos updates 274 k
setools-libs x86_64 3.3.8-4.el7 base 620 k
slirp4netns x86_64 0.4.3-4.el7_8 extras 81 k
subscription-manager x86_64 1.24.48-1.el7.centos updates 1.1 M
subscription-manager-rhsm x86_64 1.24.48-1.el7.centos updates 333 k
subscription-manager-rhsm-certificates x86_64 1.24.48-1.el7.centos updates 237 k
usermode x86_64 1.111-6.el7 base 193 k
yajl x86_64 2.0.4-4.el7 base 39 k
為依賴而更新:
audit x86_64 2.8.5-4.el7 base 256 k
audit-libs x86_64 2.8.5-4.el7 base 102 k
libxml2 x86_64 2.9.1-6.el7.5 base 668 k
policycoreutils x86_64 2.5-34.el7 base 917 k
安裝 1 軟件包 (+39 依賴軟件包)
升級(jí) ( 4 依賴軟件包)
總下載量:30 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
(1/44): PyYAML-3.10-11.el7.x86_64.rpm | 153 kB 00:00:00
(2/44): audit-libs-2.8.5-4.el7.x86_64.rpm | 102 kB 00:00:00
(3/44): atomic-registries-1.22.1-33.gitb507039.el7_8.x86_64.rpm | 36 kB 00:00:00
(4/44): audit-libs-python-2.8.5-4.el7.x86_64.rpm | 76 kB 00:00:00
(5/44): audit-2.8.5-4.el7.x86_64.rpm | 256 kB 00:00:00
(6/44): checkpolicy-2.5-8.el7.x86_64.rpm | 295 kB 00:00:00
(7/44): container-selinux-2.119.2-1.911c772.el7_8.noarch.rpm | 40 kB 00:00:00
(8/44): container-storage-setup-0.11.0-2.git5eaf76c.el7.noarch.rpm | 35 kB 00:00:00
(9/44): containers-common-0.1.40-11.el7_8.x86_64.rpm | 43 kB 00:00:00
(10/44): docker-1.13.1-208.git7d71120.el7_9.x86_64.rpm | 17 MB 00:00:00
(11/44): docker-client-1.13.1-208.git7d71120.el7_9.x86_64.rpm | 3.9 MB 00:00:00
(12/44): docker-common-1.13.1-208.git7d71120.el7_9.x86_64.rpm | 101 kB 00:00:00
(13/44): fuse-overlayfs-0.7.2-6.el7_8.x86_64.rpm | 54 kB 00:00:00
(14/44): fuse3-libs-3.6.1-4.el7.x86_64.rpm | 82 kB 00:00:00
(15/44): libcgroup-0.41-21.el7.x86_64.rpm | 66 kB 00:00:00
(16/44): libsemanage-python-2.5-14.el7.x86_64.rpm | 113 kB 00:00:00
(17/44): libxml2-2.9.1-6.el7.5.x86_64.rpm | 668 kB 00:00:00
(18/44): libnl-1.1.4-3.el7.x86_64.rpm | 128 kB 00:00:00
(19/44): libxml2-python-2.9.1-6.el7.5.x86_64.rpm | 247 kB 00:00:00
(20/44): libyaml-0.1.4-11.el7_0.x86_64.rpm | 55 kB 00:00:00
(21/44): oci-systemd-hook-0.2.0-1.git05e6923.el7_6.x86_64.rpm | 34 kB 00:00:00
(22/44): oci-register-machine-0-6.git2b44233.el7.x86_64.rpm | 1.1 MB 00:00:00
(23/44): oci-umount-2.5-3.el7.x86_64.rpm | 33 kB 00:00:00
(24/44): policycoreutils-2.5-34.el7.x86_64.rpm | 917 kB 00:00:00
(25/44): policycoreutils-python-2.5-34.el7.x86_64.rpm | 457 kB 00:00:00
(26/44): python-IPy-0.75-6.el7.noarch.rpm | 32 kB 00:00:00
(27/44): python-backports-1.0-8.el7.x86_64.rpm | 5.8 kB 00:00:00
(28/44): python-backports-ssl_match_hostname-3.5.0.1-1.el7.noarch.rpm | 13 kB 00:00:00
(29/44): python-dateutil-1.5-7.el7.noarch.rpm | 85 kB 00:00:00
(30/44): python-dmidecode-3.12.2-4.el7.x86_64.rpm | 83 kB 00:00:00
(31/44): python-ethtool-0.8-8.el7.x86_64.rpm | 34 kB 00:00:00
(32/44): python-inotify-0.9.4-4.el7.noarch.rpm | 49 kB 00:00:00
(33/44): python-ipaddress-1.0.16-2.el7.noarch.rpm | 34 kB 00:00:00
(34/44): python-setuptools-0.9.8-7.el7.noarch.rpm | 397 kB 00:00:00
(35/44): setools-libs-3.3.8-4.el7.x86_64.rpm | 620 kB 00:00:00
(36/44): python-pytoml-0.1.14-1.git7dea353.el7.noarch.rpm | 18 kB 00:00:00
(37/44): subscription-manager-1.24.48-1.el7.centos.x86_64.rpm | 1.1 MB 00:00:00
(38/44): python-six-1.9.0-2.el7.noarch.rpm | 29 kB 00:00:00
(39/44): subscription-manager-rhsm-1.24.48-1.el7.centos.x86_64.rpm | 333 kB 00:00:00
(40/44): python-syspurpose-1.24.48-1.el7.centos.x86_64.rpm | 274 kB 00:00:00
(41/44): subscription-manager-rhsm-certificates-1.24.48-1.el7.centos.x86_64.rpm | 237 kB 00:00:00
(42/44): slirp4netns-0.4.3-4.el7_8.x86_64.rpm | 81 kB 00:00:00
(43/44): yajl-2.0.4-4.el7.x86_64.rpm | 39 kB 00:00:00
總計(jì) 35 MB/s | 30 MB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
正在更新 : audit-libs-2.8.5-4.el7.x86_64 1/48
正在更新 : libxml2-2.9.1-6.el7.5.x86_64 2/48
正在更新 : policycoreutils-2.5-34.el7.x86_64 3/48
正在安裝 : yajl-2.0.4-4.el7.x86_64 4/48
正在安裝 : python-six-1.9.0-2.el7.noarch 5/48
正在安裝 : python-dateutil-1.5-7.el7.noarch 6/48
正在安裝 : subscription-manager-rhsm-certificates-1.24.48-1.el7.centos.x86_64 7/48
正在安裝 : subscription-manager-rhsm-1.24.48-1.el7.centos.x86_64 8/48
正在安裝 : 2:oci-umount-2.5-3.el7.x86_64 9/48
正在安裝 : 1:oci-systemd-hook-0.2.0-1.git05e6923.el7_6.x86_64 10/48
正在安裝 : libxml2-python-2.9.1-6.el7.5.x86_64 11/48
正在安裝 : python-dmidecode-3.12.2-4.el7.x86_64 12/48
正在安裝 : setools-libs-3.3.8-4.el7.x86_64 13/48
正在安裝 : audit-libs-python-2.8.5-4.el7.x86_64 14/48
正在安裝 : python-syspurpose-1.24.48-1.el7.centos.x86_64 15/48
正在安裝 : libcgroup-0.41-21.el7.x86_64 16/48
正在安裝 : python-ipaddress-1.0.16-2.el7.noarch 17/48
正在安裝 : libnl-1.1.4-3.el7.x86_64 18/48
正在安裝 : python-ethtool-0.8-8.el7.x86_64 19/48
正在安裝 : usermode-1.111-6.el7.x86_64 20/48
正在安裝 : python-backports-1.0-8.el7.x86_64 21/48
正在安裝 : python-backports-ssl_match_hostname-3.5.0.1-1.el7.noarch 22/48
正在安裝 : python-setuptools-0.9.8-7.el7.noarch 23/48
正在安裝 : slirp4netns-0.4.3-4.el7_8.x86_64 24/48
正在安裝 : checkpolicy-2.5-8.el7.x86_64 25/48
正在安裝 : 1:oci-register-machine-0-6.git2b44233.el7.x86_64 26/48
正在安裝 : libsemanage-python-2.5-14.el7.x86_64 27/48
正在安裝 : libyaml-0.1.4-11.el7_0.x86_64 28/48
正在安裝 : PyYAML-3.10-11.el7.x86_64 29/48
正在安裝 : fuse3-libs-3.6.1-4.el7.x86_64 30/48
正在安裝 : fuse-overlayfs-0.7.2-6.el7_8.x86_64 31/48
正在安裝 : python-pytoml-0.1.14-1.git7dea353.el7.noarch 32/48
正在安裝 : 1:atomic-registries-1.22.1-33.gitb507039.el7_8.x86_64 33/48
正在安裝 : python-IPy-0.75-6.el7.noarch 34/48
正在安裝 : policycoreutils-python-2.5-34.el7.x86_64 35/48
正在安裝 : 2:container-selinux-2.119.2-1.911c772.el7_8.noarch 36/48
setsebool: SELinux is disabled.
正在安裝 : python-inotify-0.9.4-4.el7.noarch 37/48
正在安裝 : subscription-manager-1.24.48-1.el7.centos.x86_64 38/48
正在安裝 : 1:containers-common-0.1.40-11.el7_8.x86_64 39/48
正在安裝 : container-storage-setup-0.11.0-2.git5eaf76c.el7.noarch 40/48
正在安裝 : 2:docker-common-1.13.1-208.git7d71120.el7_9.x86_64 41/48
正在安裝 : 2:docker-client-1.13.1-208.git7d71120.el7_9.x86_64 42/48
正在安裝 : 2:docker-1.13.1-208.git7d71120.el7_9.x86_64 43/48
正在更新 : audit-2.8.5-4.el7.x86_64 44/48
清理 : audit-2.8.4-4.el7.x86_64 45/48
清理 : policycoreutils-2.5-29.el7.x86_64 46/48
清理 : audit-libs-2.8.4-4.el7.x86_64 47/48
清理 : libxml2-2.9.1-6.el7_2.3.x86_64 48/48
驗(yàn)證中 : python-backports-ssl_match_hostname-3.5.0.1-1.el7.noarch 1/48
驗(yàn)證中 : 1:atomic-registries-1.22.1-33.gitb507039.el7_8.x86_64 2/48
驗(yàn)證中 : libxml2-python-2.9.1-6.el7.5.x86_64 3/48
驗(yàn)證中 : python-ethtool-0.8-8.el7.x86_64 4/48
驗(yàn)證中 : fuse-overlayfs-0.7.2-6.el7_8.x86_64 5/48
驗(yàn)證中 : 2:container-selinux-2.119.2-1.911c772.el7_8.noarch 6/48
驗(yàn)證中 : container-storage-setup-0.11.0-2.git5eaf76c.el7.noarch 7/48
驗(yàn)證中 : python-inotify-0.9.4-4.el7.noarch 8/48
驗(yàn)證中 : 1:containers-common-0.1.40-11.el7_8.x86_64 9/48
驗(yàn)證中 : python-setuptools-0.9.8-7.el7.noarch 10/48
驗(yàn)證中 : audit-libs-2.8.5-4.el7.x86_64 11/48
驗(yàn)證中 : subscription-manager-rhsm-certificates-1.24.48-1.el7.centos.x86_64 12/48
驗(yàn)證中 : libxml2-2.9.1-6.el7.5.x86_64 13/48
驗(yàn)證中 : python-IPy-0.75-6.el7.noarch 14/48
驗(yàn)證中 : python-dateutil-1.5-7.el7.noarch 15/48
驗(yàn)證中 : policycoreutils-2.5-34.el7.x86_64 16/48
驗(yàn)證中 : python-dmidecode-3.12.2-4.el7.x86_64 17/48
驗(yàn)證中 : 2:oci-umount-2.5-3.el7.x86_64 18/48
驗(yàn)證中 : policycoreutils-python-2.5-34.el7.x86_64 19/48
驗(yàn)證中 : python-pytoml-0.1.14-1.git7dea353.el7.noarch 20/48
驗(yàn)證中 : python-six-1.9.0-2.el7.noarch 21/48
驗(yàn)證中 : setools-libs-3.3.8-4.el7.x86_64 22/48
驗(yàn)證中 : fuse3-libs-3.6.1-4.el7.x86_64 23/48
驗(yàn)證中 : audit-2.8.5-4.el7.x86_64 24/48
驗(yàn)證中 : libyaml-0.1.4-11.el7_0.x86_64 25/48
驗(yàn)證中 : libsemanage-python-2.5-14.el7.x86_64 26/48
驗(yàn)證中 : 1:oci-systemd-hook-0.2.0-1.git05e6923.el7_6.x86_64 27/48
驗(yàn)證中 : 1:oci-register-machine-0-6.git2b44233.el7.x86_64 28/48
驗(yàn)證中 : checkpolicy-2.5-8.el7.x86_64 29/48
驗(yàn)證中 : slirp4netns-0.4.3-4.el7_8.x86_64 30/48
驗(yàn)證中 : python-backports-1.0-8.el7.x86_64 31/48
驗(yàn)證中 : yajl-2.0.4-4.el7.x86_64 32/48
驗(yàn)證中 : audit-libs-python-2.8.5-4.el7.x86_64 33/48
驗(yàn)證中 : subscription-manager-rhsm-1.24.48-1.el7.centos.x86_64 34/48
驗(yàn)證中 : 2:docker-common-1.13.1-208.git7d71120.el7_9.x86_64 35/48
驗(yàn)證中 : 2:docker-1.13.1-208.git7d71120.el7_9.x86_64 36/48
驗(yàn)證中 : usermode-1.111-6.el7.x86_64 37/48
驗(yàn)證中 : libnl-1.1.4-3.el7.x86_64 38/48
驗(yàn)證中 : 2:docker-client-1.13.1-208.git7d71120.el7_9.x86_64 39/48
驗(yàn)證中 : python-ipaddress-1.0.16-2.el7.noarch 40/48
驗(yàn)證中 : PyYAML-3.10-11.el7.x86_64 41/48
驗(yàn)證中 : libcgroup-0.41-21.el7.x86_64 42/48
驗(yàn)證中 : python-syspurpose-1.24.48-1.el7.centos.x86_64 43/48
驗(yàn)證中 : subscription-manager-1.24.48-1.el7.centos.x86_64 44/48
驗(yàn)證中 : libxml2-2.9.1-6.el7_2.3.x86_64 45/48
驗(yàn)證中 : audit-2.8.4-4.el7.x86_64 46/48
驗(yàn)證中 : policycoreutils-2.5-29.el7.x86_64 47/48
驗(yàn)證中 : audit-libs-2.8.4-4.el7.x86_64 48/48
已安裝:
docker.x86_64 2:1.13.1-208.git7d71120.el7_9
作為依賴被安裝:
PyYAML.x86_64 0:3.10-11.el7
atomic-registries.x86_64 1:1.22.1-33.gitb507039.el7_8
audit-libs-python.x86_64 0:2.8.5-4.el7
checkpolicy.x86_64 0:2.5-8.el7
container-selinux.noarch 2:2.119.2-1.911c772.el7_8
container-storage-setup.noarch 0:0.11.0-2.git5eaf76c.el7
containers-common.x86_64 1:0.1.40-11.el7_8
docker-client.x86_64 2:1.13.1-208.git7d71120.el7_9
docker-common.x86_64 2:1.13.1-208.git7d71120.el7_9
fuse-overlayfs.x86_64 0:0.7.2-6.el7_8
fuse3-libs.x86_64 0:3.6.1-4.el7
libcgroup.x86_64 0:0.41-21.el7
libnl.x86_64 0:1.1.4-3.el7
libsemanage-python.x86_64 0:2.5-14.el7
libxml2-python.x86_64 0:2.9.1-6.el7.5
libyaml.x86_64 0:0.1.4-11.el7_0
oci-register-machine.x86_64 1:0-6.git2b44233.el7
oci-systemd-hook.x86_64 1:0.2.0-1.git05e6923.el7_6
oci-umount.x86_64 2:2.5-3.el7
policycoreutils-python.x86_64 0:2.5-34.el7
python-IPy.noarch 0:0.75-6.el7
python-backports.x86_64 0:1.0-8.el7
python-backports-ssl_match_hostname.noarch 0:3.5.0.1-1.el7
python-dateutil.noarch 0:1.5-7.el7
python-dmidecode.x86_64 0:3.12.2-4.el7
python-ethtool.x86_64 0:0.8-8.el7
python-inotify.noarch 0:0.9.4-4.el7
python-ipaddress.noarch 0:1.0.16-2.el7
python-pytoml.noarch 0:0.1.14-1.git7dea353.el7
python-setuptools.noarch 0:0.9.8-7.el7
python-six.noarch 0:1.9.0-2.el7
python-syspurpose.x86_64 0:1.24.48-1.el7.centos
setools-libs.x86_64 0:3.3.8-4.el7
slirp4netns.x86_64 0:0.4.3-4.el7_8
subscription-manager.x86_64 0:1.24.48-1.el7.centos
subscription-manager-rhsm.x86_64 0:1.24.48-1.el7.centos
subscription-manager-rhsm-certificates.x86_64 0:1.24.48-1.el7.centos
usermode.x86_64 0:1.111-6.el7
yajl.x86_64 0:2.0.4-4.el7
作為依賴被升級(jí):
audit.x86_64 0:2.8.5-4.el7 audit-libs.x86_64 0:2.8.5-4.el7 libxml2.x86_64 0:2.9.1-6.el7.5
policycoreutils.x86_64 0:2.5-34.el7
完畢!
啟動(dòng) Docker 后臺(tái)服務(wù):
service docker start
[root@hadoop4 ~]# service docker start
Redirecting to /bin/systemctl start docker.service
拉取預(yù)安裝 PaddlePaddle 的鏡像
docker pull registry.baidubce.com/paddlepaddle/paddle:2.3.2
Trying to pull repository registry.baidubce.com/paddlepaddle/paddle …
2.3.2: Pulling from registry.baidubce.com/paddlepaddle/paddle
feac53061382: Pull complete
f2763412762d: Pull complete
ca77a8a0ab16: Pull complete
90a4697db0ff: Pull complete
f86dacb6aacb: Pull complete
c96f0206618d: Pull complete
dabb8e7dc249: Pull complete
1aca696ba94c: Pull complete
444c61d9fda2: Pull complete
3ef6d603da88: Pull complete
01daa42ab94c: Pull complete
d5b610e6b36e: Pull complete
2cb406285be8: Pull complete
b45f6c95cccc: Pull complete
f151215f294d: Pull complete
36fe5c9303f5: Pull complete
29c7e4bcebaf: Pull complete
1c4d237e5a24: Pull complete
c3f90dad5045: Pull complete
e9facf0cd033: Pull complete
2bbfe6f30c0a: Pull complete
675e3f2ad5d5: Pull complete
fdd789a77fdb: Pull complete
7ebb0cdf3438: Pull complete
5dc7799fb5cd: Pull complete
6bb81e1a936c: Pull complete
04dd03be0ab0: Pull complete
3b2f217a6076: Pull complete
7383c4a7ce2d: Pull complete
7456481bfdb4: Pull complete
74648893443c: Pull complete
7f67f1c7fdec: Pull complete
Digest: sha256:662574f2bb514df6803759d48defa8ab22fd83dea7b4bba96cb110a5c50ef0a1
Status: Downloaded newer image for registry.baidubce.com/paddlepaddle/paddle:2.3.2
[root@hadoop4 ~]# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
registry.baidubce.com/paddlepaddle/paddle 2.3.2 32b0dd35f877 5 weeks ago 4.45 GB
[root@hadoop4 ~]#
用鏡像構(gòu)建并進(jìn)入Docker容器
[root@hadoop4 ~]# docker run --name paddle_docker -it -v $PWD:/paddle registry.baidubce.com/paddlepaddle/paddle:2.3.2 /bin/bash
pip安裝pytest-runner
λ 87ab8bb680bf /home pip install pytest-runner
Collecting pytest-runner
Downloading pytest_runner-6.0.0-py3-none-any.whl (7.2 kB)
Installing collected packages: pytest-runner
Successfully installed pytest-runner-6.0.0
pip安裝paddlespeech
λ 87ab8bb680bf /home pip install paddlespeech
Collecting paddlespeech
Downloading paddlespeech-1.1.3-py3-none-any.whl (1.3 MB)
|████████████████████████████████| 1.3 MB 971 kB/s
Collecting sentencepiece~=0.1.96
Downloading sentencepiece-0.1.97-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB)
|████████████████████████████████| 1.3 MB 38.2 MB/s
Collecting webrtcvad
Downloading webrtcvad-2.0.10.tar.gz (66 kB)
|████████████████████████████████| 66 kB 18.5 MB/s
Collecting braceexpand
Downloading braceexpand-0.1.7-py2.py3-none-any.whl (5.9 kB)
Collecting g2p-en
Downloading g2p_en-2.1.0-py3-none-any.whl (3.1 MB)
|████████████████████████████████| 3.1 MB 32.2 MB/s
Collecting pybind11
Downloading pybind11-2.10.0-py3-none-any.whl (213 kB)
|████████████████████████████████| 213 kB 35.9 MB/s
Collecting loguru
Downloading loguru-0.6.0-py3-none-any.whl (58 kB)
|████████████████████████████████| 58 kB 11.1 MB/s
Collecting onnxruntime1.10.0
Downloading onnxruntime-1.10.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.9 MB)
|████████████████████████████████| 4.9 MB 48.8 MB/s
Requirement already satisfied: Pillow>=9.0.0 in /usr/local/lib/python3.7/dist-packages (from paddlespeech) (9.2.0)
Collecting soundfile~=0.10
Downloading SoundFile-0.10.3.post1-py2.py3-none-any.whl (21 kB)
Requirement already satisfied: protobuf<=3.20.0,>=3.1.0 in /usr/local/lib/python3.7/dist-packages (from paddlespeech) (3.20.0)
Collecting colorlog
Downloading colorlog-6.7.0-py2.py3-none-any.whl (11 kB)
Collecting scipy
Downloading scipy-1.7.3-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (38.1 MB)
|████████████████████████████████| 38.1 MB 28.8 MB/s
Collecting prettytable
Downloading prettytable-3.4.1-py3-none-any.whl (26 kB)
Collecting pathos0.2.8
Downloading pathos-0.2.8-py2.py3-none-any.whl (81 kB)
|████████████████████████████████| 81 kB 34.8 MB/s
Collecting opencc
Downloading OpenCC-1.1.4-cp37-cp37m-manylinux1_x86_64.whl (769 kB)
|████████████████████████████████| 769 kB 46.9 MB/s
Collecting zhon
Downloading zhon-1.1.5.tar.gz (99 kB)
|████████████████████████████████| 99 kB 24.3 MB/s
Collecting yacs~=0.1.8
Downloading yacs-0.1.8-py3-none-any.whl (14 kB)
Collecting kaldiio
Downloading kaldiio-2.17.2.tar.gz (24 kB)
Collecting visualdl
Downloading visualdl-2.4.1-py3-none-any.whl (4.9 MB)
|████████████████████████████████| 4.9 MB 34.3 MB/s
Collecting paddlenlp
Downloading paddlenlp-2.4.0-py3-none-any.whl (1.8 MB)
|████████████████████████████████| 1.8 MB 26.4 MB/s
Collecting jsonlines
Downloading jsonlines-3.1.0-py3-none-any.whl (8.6 kB)
Collecting uvicorn
Downloading uvicorn-0.18.3-py3-none-any.whl (57 kB)
|████████████████████████████████| 57 kB 23.5 MB/s
Collecting resampy0.2.2
Downloading resampy-0.2.2.tar.gz (323 kB)
|████████████████████████████████| 323 kB 54.0 MB/s
Collecting textgrid
Downloading TextGrid-1.5-py3-none-any.whl (10.0 kB)
Collecting typeguard
Downloading typeguard-2.13.3-py3-none-any.whl (17 kB)
Collecting praatio5.0.0
Downloading praatio-5.0.0-py3-none-any.whl (76 kB)
|████████████████████████████████| 76 kB 10.8 MB/s
Collecting tqdm
Downloading tqdm-4.64.1-py2.py3-none-any.whl (78 kB)
|████████████████████████████████| 78 kB 26.8 MB/s
Requirement already satisfied: python-dateutil in /usr/local/lib/python3.7/dist-packages (from paddlespeech) (2.8.2)
Collecting pandas
Downloading pandas-1.3.5-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.3 MB)
|████████████████████████████████| 11.3 MB 56.8 MB/s
Collecting g2pM
Downloading g2pM-0.1.2.5-py3-none-any.whl (1.7 MB)
|████████████████████████████████| 1.7 MB 44.0 MB/s
Collecting nara-wpe
Downloading nara_wpe-0.0.8-py3-none-any.whl (33 kB)
Collecting matplotlib
Downloading matplotlib-3.5.3-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (11.2 MB)
|████████████████████████████████| 11.2 MB 35.8 MB/s
Collecting sacrebleu
Downloading sacrebleu-2.2.1-py3-none-any.whl (116 kB)
|████████████████████████████████| 116 kB 40.5 MB/s
Collecting librosa0.8.1
Downloading librosa-0.8.1-py3-none-any.whl (203 kB)
|████████████████████████████████| 203 kB 49.3 MB/s
Collecting jieba
Downloading jieba-0.42.1.tar.gz (19.2 MB)
|████████████████████████████████| 19.2 MB 35.8 MB/s
Collecting pattern-singleton
Downloading pattern_singleton-1.2.0.tar.gz (10 kB)
Collecting pypinyin
Downloading pypinyin-0.47.1-py2.py3-none-any.whl (1.4 MB)
|████████████████████████████████| 1.4 MB 37.3 MB/s
Collecting websockets
Downloading websockets-10.3-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (112 kB)
|████████████████████████████████| 112 kB 39.5 MB/s
Collecting editdistance
Downloading editdistance-0.6.0-cp37-cp37m-manylinux2010_x86_64.whl (285 kB)
|████████████████████████████████| 285 kB 45.4 MB/s
Collecting timer
Downloading timer-0.2.2-py3-none-any.whl (7.8 kB)
Requirement already satisfied: pyyaml in /usr/local/lib/python3.7/dist-packages (from paddlespeech) (6.0)
Collecting inflect
Downloading inflect-6.0.0-py3-none-any.whl (34 kB)
Collecting paddlespeech-feat
Downloading paddlespeech_feat-0.1.0-py3-none-any.whl (12 kB)
Collecting pyworld0.2.12
Downloading pyworld-0.2.12.tar.gz (222 kB)
|████████████████████████████████| 222 kB 45.2 MB/s
Collecting pypinyin-dict
Downloading pypinyin_dict-0.3.0-py2.py3-none-any.whl (9.5 MB)
|████████████████████████████████| 9.5 MB 43.8 MB/s
Collecting h5py
Downloading h5py-3.7.0-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (4.1 MB)
|████████████████████████████████| 4.1 MB 40.0 MB/s
Collecting fastapi
Downloading fastapi-0.85.0-py3-none-any.whl (55 kB)
|████████████████████████████████| 55 kB 16.2 MB/s
Requirement already satisfied: numpy>=1.13.1 in /usr/local/lib/python3.7/dist-packages (from g2p-en->paddlespeech) (1.21.6)
Collecting nltk>=3.2.4
Downloading nltk-3.7-py3-none-any.whl (1.5 MB)
|████████████████████████████████| 1.5 MB 45.3 MB/s
Collecting distance>=0.1.3
Downloading Distance-0.1.3.tar.gz (180 kB)
|████████████████████████████████| 180 kB 41.6 MB/s
Collecting flatbuffers
Downloading flatbuffers-2.0.7-py2.py3-none-any.whl (26 kB)
Collecting cffi>=1.0
Downloading cffi-1.15.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (427 kB)
|████████████████████████████████| 427 kB 46.7 MB/s
Requirement already satisfied: wcwidth in /usr/local/lib/python3.7/dist-packages (from prettytable->paddlespeech) (0.2.5)
Requirement already satisfied: importlib-metadata; python_version < “3.8” in /usr/local/lib/python3.7/dist-packages (from prettytable->paddlespeech) (4.12.0)
Collecting pox>=0.3.0
Downloading pox-0.3.1-py2.py3-none-any.whl (28 kB)
Requirement already satisfied: dill>=0.3.4 in /usr/local/lib/python3.7/dist-packages (from pathos0.2.8->paddlespeech) (0.3.5.1)
Collecting ppft>=1.6.6.4
Downloading ppft-1.7.6.5-py2.py3-none-any.whl (52 kB)
|████████████████████████████████| 52 kB 2.9 MB/s
Collecting multiprocess>=0.70.12
Downloading multiprocess-0.70.13-py37-none-any.whl (115 kB)
|████████████████████████████████| 115 kB 38.0 MB/s
Collecting flask>=1.1.1
Downloading Flask-2.2.2-py3-none-any.whl (101 kB)
|████████████████████████████████| 101 kB 19.5 MB/s
Requirement already satisfied: packaging in /usr/local/lib/python3.7/dist-packages (from visualdl->paddlespeech) (21.3)
Requirement already satisfied: requests in /usr/local/lib/python3.7/dist-packages (from visualdl->paddlespeech) (2.28.1)
Collecting bce-python-sdk
Downloading bce_python_sdk-0.8.74-py3-none-any.whl (204 kB)
|████████████████████████████████| 204 kB 35.5 MB/s
Requirement already satisfied: six>=1.14.0 in /usr/local/lib/python3.7/dist-packages (from visualdl->paddlespeech) (1.16.0)
Collecting Flask-Babel>=1.0.0
Downloading Flask_Babel-2.0.0-py3-none-any.whl (9.3 kB)
Collecting seqeval
Downloading seqeval-1.2.2.tar.gz (43 kB)
|████████████████████████████████| 43 kB 4.5 MB/s
Collecting paddle2onnx
Downloading paddle2onnx-1.0.0-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (3.0 MB)
|████████████████████████████████| 3.0 MB 33.5 MB/s
Collecting colorama
Downloading colorama-0.4.5-py2.py3-none-any.whl (16 kB)
Collecting datasets>=2.0.0
Downloading datasets-2.5.1-py3-none-any.whl (431 kB)
|████████████████████████████████| 431 kB 35.7 MB/s
Collecting paddlefsl
Downloading paddlefsl-1.1.0-py3-none-any.whl (101 kB)
|████████████████████████████████| 101 kB 18.4 MB/s
Requirement already satisfied: typing-extensions; python_version < “3.8” in /usr/local/lib/python3.7/dist-packages (from jsonlines->paddlespeech) (4.3.0)
Requirement already satisfied: attrs>=19.2.0 in /usr/local/lib/python3.7/dist-packages (from jsonlines->paddlespeech) (22.1.0)
Collecting click>=7.0
Downloading click-8.1.3-py3-none-any.whl (96 kB)
|████████████████████████████████| 96 kB 11.8 MB/s
Collecting h11>=0.8
Downloading h11-0.14.0-py3-none-any.whl (58 kB)
|████████████████████████████████| 58 kB 11.3 MB/s
Collecting numba>=0.32
Downloading numba-0.56.2-cp37-cp37m-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (3.5 MB)
|████████████████████████████████| 3.5 MB 53.4 MB/s
Collecting pytz>=2017.3
Downloading pytz-2022.2.1-py2.py3-none-any.whl (500 kB)
|████████████████████████████████| 500 kB 43.2 MB/s
Collecting bottleneck
Downloading Bottleneck-1.3.5-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (355 kB)
|████████████████████████████████| 355 kB 36.2 MB/s
Requirement already satisfied: pyparsing>=2.2.1 in /usr/local/lib/python3.7/dist-packages (from matplotlib->paddlespeech) (3.0.9)
Collecting cycler>=0.10
Downloading cycler-0.11.0-py3-none-any.whl (6.4 kB)
Collecting fonttools>=4.22.0
Downloading fonttools-4.37.3-py3-none-any.whl (959 kB)
|████████████████████████████████| 959 kB 37.0 MB/s
Collecting kiwisolver>=1.0.1
Downloading kiwisolver-1.4.4-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.1 MB)
|████████████████████████████████| 1.1 MB 36.2 MB/s
Collecting tabulate>=0.8.9
Downloading tabulate-0.8.10-py3-none-any.whl (29 kB)
Collecting portalocker
Downloading portalocker-2.5.1-py2.py3-none-any.whl (15 kB)
Collecting regex
Downloading regex-2022.9.13-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (757 kB)
|████████████████████████████████| 757 kB 35.8 MB/s
Collecting lxml
Downloading lxml-4.9.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (6.4 MB)
|████████████████████████████████| 6.4 MB 59.6 MB/s
Collecting scikit-learn!=0.19.0,>=0.14.0
Downloading scikit_learn-1.0.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (24.8 MB)
|████████████████████████████████| 24.8 MB 38.7 MB/s
Collecting pooch>=1.0
Downloading pooch-1.6.0-py3-none-any.whl (56 kB)
|████████████████████████████████| 56 kB 17.6 MB/s
Collecting joblib>=0.14
Downloading joblib-1.2.0-py3-none-any.whl (297 kB)
|████████████████████████████████| 297 kB 43.0 MB/s
Requirement already satisfied: decorator>=3.0.0 in /usr/local/lib/python3.7/dist-packages (from librosa0.8.1->paddlespeech) (5.1.1)
Collecting audioread>=2.0.0
Downloading audioread-3.0.0.tar.gz (377 kB)
|████████████████████████████████| 377 kB 35.8 MB/s
Collecting pydantic
Downloading pydantic-1.10.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.8 MB)
|████████████████████████████████| 11.8 MB 51.7 MB/s
Collecting mock
Downloading mock-4.0.3-py3-none-any.whl (28 kB)
Collecting cython>=0.24.0
Downloading Cython-0.29.32-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (1.9 MB)
|████████████████████████████████| 1.9 MB 42.0 MB/s
Collecting starlette0.20.4
Downloading starlette-0.20.4-py3-none-any.whl (63 kB)
|████████████████████████████████| 63 kB 9.8 MB/s
Collecting pycparser
Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)
|████████████████████████████████| 118 kB 38.3 MB/s
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/dist-packages (from importlib-metadata; python_version < “3.8”->prettytable->paddlespeech) (3.8.1)
Collecting Jinja2>=3.0
Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB)
|████████████████████████████████| 133 kB 49.5 MB/s
Collecting itsdangerous>=2.0
Downloading itsdangerous-2.1.2-py3-none-any.whl (15 kB)
Collecting Werkzeug>=2.2.2
Downloading Werkzeug-2.2.2-py3-none-any.whl (232 kB)
|████████████████████████████████| 232 kB 39.6 MB/s
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.7/dist-packages (from requests->visualdl->paddlespeech) (2022.6.15)
Requirement already satisfied: charset-normalizer<3,>=2 in /usr/local/lib/python3.7/dist-packages (from requests->visualdl->paddlespeech) (2.1.0)
Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.7/dist-packages (from requests->visualdl->paddlespeech) (3.3)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.7/dist-packages (from requests->visualdl->paddlespeech) (1.26.11)
Collecting future>=0.6.0
Downloading future-0.18.2.tar.gz (829 kB)
|████████████████████████████████| 829 kB 43.7 MB/s
Collecting pycryptodome>=3.8.0
Downloading pycryptodome-3.15.0-cp35-abi3-manylinux2010_x86_64.whl (2.3 MB)
|████████████████████████████████| 2.3 MB 37.9 MB/s
Collecting Babel>=2.3
Downloading Babel-2.10.3-py3-none-any.whl (9.5 MB)
|████████████████████████████████| 9.5 MB 36.0 MB/s
Collecting huggingface-hub<1.0.0,>=0.1.0
Downloading huggingface_hub-0.9.1-py3-none-any.whl (120 kB)
|████████████████████████████████| 120 kB 46.2 MB/s
Collecting pyarrow>=6.0.0
Downloading pyarrow-9.0.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (35.3 MB)
|████████████████████████████████| 35.3 MB 30.0 MB/s
Collecting fsspec[http]>=2021.11.1
Downloading fsspec-2022.8.2-py3-none-any.whl (140 kB)
|████████████████████████████████| 140 kB 50.7 MB/s
Collecting responses<0.19
Downloading responses-0.18.0-py3-none-any.whl (38 kB)
Collecting xxhash
Downloading xxhash-3.0.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (212 kB)
|████████████████████████████████| 212 kB 45.9 MB/s
Collecting aiohttp
Downloading aiohttp-3.8.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (948 kB)
|████████████████████████████████| 948 kB 33.2 MB/s
Collecting llvmlite<0.40,>=0.39.0dev0
Downloading llvmlite-0.39.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (34.6 MB)
|████████████████████████████████| 34.6 MB 35.6 MB/s
Requirement already satisfied: setuptools<60 in /usr/local/lib/python3.7/dist-packages/setuptools-50.3.2-py3.7.egg (from numba>=0.32->resampy0.2.2->paddlespeech) (50.3.2)
Collecting threadpoolctl>=2.0.0
Downloading threadpoolctl-3.1.0-py3-none-any.whl (14 kB)
Collecting appdirs>=1.3.0
Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting anyio<5,>=3.4.0
Downloading anyio-3.6.1-py3-none-any.whl (80 kB)
|████████████████████████████████| 80 kB 27.1 MB/s
Collecting MarkupSafe>=2.0
Downloading MarkupSafe-2.1.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)
Requirement already satisfied: filelock in /usr/local/lib/python3.7/dist-packages (from huggingface-hub<1.0.0,>=0.1.0->datasets>=2.0.0->paddlenlp->paddlespeech) (3.8.0)
Collecting yarl<2.0,>=1.0
Downloading yarl-1.8.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (231 kB)
|████████████████████████████████| 231 kB 46.2 MB/s
Collecting multidict<7.0,>=4.5
Downloading multidict-6.0.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (94 kB)
|████████████████████████████████| 94 kB 14.8 MB/s
Collecting aiosignal>=1.1.2
Downloading aiosignal-1.2.0-py3-none-any.whl (8.2 kB)
Collecting asynctest==0.13.0; python_version < “3.8”
Downloading asynctest-0.13.0-py3-none-any.whl (26 kB)
Collecting async-timeout<5.0,>=4.0.0a3
Downloading async_timeout-4.0.2-py3-none-any.whl (5.8 kB)
Collecting frozenlist>=1.1.1
Downloading frozenlist-1.3.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (148 kB)
|████████████████████████████████| 148 kB 63.2 MB/s
Collecting sniffio>=1.1
Downloading sniffio-1.3.0-py3-none-any.whl (10 kB)
Building wheels for collected packages: webrtcvad, zhon, kaldiio, resampy, jieba, pattern-singleton, pyworld, distance, seqeval, audioread, future
Building wheel for webrtcvad (setup.py) … done
Created wheel for webrtcvad: filename=webrtcvad-2.0.10-cp37-cp37m-linux_x86_64.whl size=72251 sha256=528a2a126605341759176c6d2078e475346aef9ef270ab6b53a40945b1493cb8
Stored in directory: /root/.cache/pip/wheels/11/f9/67/a3158d131f57e1c0a7d8d966a707d4a2fb27567a4fe47723ad
Building wheel for zhon (setup.py) … done
Created wheel for zhon: filename=zhon-1.1.5-py3-none-any.whl size=84292 sha256=3fecabe426b9d00d0df24cff24e4830845092647410b051f4c056c6cd2eff981
Stored in directory: /root/.cache/pip/wheels/d0/56/17/2675c4c7413a72bf173062e8d0a16503e3b2607745aa84988d
Building wheel for kaldiio (setup.py) … done
Created wheel for kaldiio: filename=kaldiio-2.17.2-py3-none-any.whl size=24467 sha256=04e77376cf2aa0bbdc576f68479fc6b0c3a8ee0a32677f14eb9d0345f629f085
Stored in directory: /root/.cache/pip/wheels/04/07/e8/45641287c59bf6ce41e22259f8680b521c31e6306cb88392ac
Building wheel for resampy (setup.py) … done
Created wheel for resampy: filename=resampy-0.2.2-py3-none-any.whl size=320719 sha256=a70ed633f722094c1688f61caf42d27c580434b87d96992248335e41722f0342
Stored in directory: /root/.cache/pip/wheels/a0/18/0a/8ad18a597d8333a142c9789338a96a6208f1198d290ece356c
Building wheel for jieba (setup.py) … done
Created wheel for jieba: filename=jieba-0.42.1-py3-none-any.whl size=19314478 sha256=e76c9411ea5e98db37fb0e6ea01f446886f7b59b26d8e775f261ba3d7fc46166
Stored in directory: /root/.cache/pip/wheels/24/aa/17/5bc7c72e9a37990a9620cc3aad0acad1564dcff6dbc2359de3
Building wheel for pattern-singleton (setup.py) … done
Created wheel for pattern-singleton: filename=pattern_singleton-1.2.0-py2.py3-none-any.whl size=4203 sha256=5957d903a7a88b1dfe242331371b26f12626e32d442e30bcc32aa547ea158e3d
Stored in directory: /root/.cache/pip/wheels/29/73/d5/2a9ea9aabd767c4cceb859694ba31757e1f49422ca5d033e67
Building wheel for pyworld (setup.py) … done
Created wheel for pyworld: filename=pyworld-0.2.12-cp37-cp37m-linux_x86_64.whl size=611743 sha256=fbbee8464e1c64710429e4edc71ac55cf0d2d7aa22db1d200643b28dde9622b2
Stored in directory: /root/.cache/pip/wheels/49/08/ca/d754439cfd565f7a44e5b0a315d163a3cff19d756a49db1857
Building wheel for distance (setup.py) … done
Created wheel for distance: filename=Distance-0.1.3-py3-none-any.whl size=16262 sha256=240009a1d196595800ba322a408cf16d0449cda83bf8b49b7422f803ce4c4b7f
Stored in directory: /root/.cache/pip/wheels/b2/10/1b/96fca621a1be378e2fe104cfb0d160bb6cdf3d04a3d35266cc
Building wheel for seqeval (setup.py) … done
Created wheel for seqeval: filename=seqeval-1.2.2-py3-none-any.whl size=16170 sha256=272f110ad061c0f7bd67ae9dc89256b6019db63f39832d8b057604679eaea25b
Stored in directory: /root/.cache/pip/wheels/05/96/ee/7cac4e74f3b19e3158dce26a20a1c86b3533c43ec72a549fd7
Building wheel for audioread (setup.py) … done
Created wheel for audioread: filename=audioread-3.0.0-py3-none-any.whl size=23694 sha256=7a3043634bfca26abf14a9ffe207c2f1145283511675e02bcc34eb9f4d6c9e06
Stored in directory: /root/.cache/pip/wheels/71/a4/fa/24175dada88ca37d7fd22ffec10b33cb0a4909d7d07f04101f
Building wheel for future (setup.py) … done
Created wheel for future: filename=future-0.18.2-py3-none-any.whl size=491058 sha256=1422f4dba01b888699b46df9f4740d81ef4497e8016d185c76fc88e76203acf0
Stored in directory: /root/.cache/pip/wheels/56/b0/fe/4410d17b32f1f0c3cf54cdfb2bc04d7b4b8f4ae377e2229ba0
Successfully built webrtcvad zhon kaldiio resampy jieba pattern-singleton pyworld distance seqeval audioread future
ERROR: paddlenlp 2.4.0 has requirement dill<0.3.5, but you’ll have dill 0.3.5.1 which is incompatible.
ERROR: paddlenlp 2.4.0 has requirement multiprocess<=0.70.12.2, but you’ll have multiprocess 0.70.13 which is incompatible.
Installing collected packages: sentencepiece, webrtcvad, braceexpand, pydantic, inflect, click, joblib, regex, tqdm, nltk, distance, g2p-en, pybind11, loguru, flatbuffers, onnxruntime, pycparser, cffi, soundfile, colorlog, scipy, prettytable, pox, ppft, multiprocess, pathos, opencc, zhon, yacs, kaldiio, MarkupSafe, Jinja2, itsdangerous, Werkzeug, flask, pytz, pandas, future, pycryptodome, bce-python-sdk, cycler, fonttools, kiwisolver, matplotlib, Babel, Flask-Babel, visualdl, jieba, threadpoolctl, scikit-learn, seqeval, paddle2onnx, colorama, huggingface-hub, pyarrow, multidict, yarl, frozenlist, aiosignal, asynctest, async-timeout, aiohttp, fsspec, responses, xxhash, datasets, paddlefsl, paddlenlp, jsonlines, h11, uvicorn, llvmlite, numba, resampy, textgrid, typeguard, praatio, g2pM, bottleneck, nara-wpe, tabulate, portalocker, lxml, sacrebleu, appdirs, pooch, audioread, librosa, pattern-singleton, pypinyin, websockets, editdistance, timer, mock, paddlespeech-feat, cython, pyworld, pypinyin-dict, h5py, sniffio, anyio, starlette, fastapi, paddlespeech
Successfully installed Babel-2.10.3 Flask-Babel-2.0.0 Jinja2-3.1.2 MarkupSafe-2.1.1 Werkzeug-2.2.2 aiohttp-3.8.3 aiosignal-1.2.0 anyio-3.6.1 appdirs-1.4.4 async-timeout-4.0.2 asynctest-0.13.0 audioread-3.0.0 bce-python-sdk-0.8.74 bottleneck-1.3.5 braceexpand-0.1.7 cffi-1.15.1 click-8.1.3 colorama-0.4.5 colorlog-6.7.0 cycler-0.11.0 cython-0.29.32 datasets-2.5.1 distance-0.1.3 editdistance-0.6.0 fastapi-0.85.0 flask-2.2.2 flatbuffers-2.0.7 fonttools-4.37.3 frozenlist-1.3.1 fsspec-2022.8.2 future-0.18.2 g2p-en-2.1.0 g2pM-0.1.2.5 h11-0.14.0 h5py-3.7.0 huggingface-hub-0.9.1 inflect-6.0.0 itsdangerous-2.1.2 jieba-0.42.1 joblib-1.2.0 jsonlines-3.1.0 kaldiio-2.17.2 kiwisolver-1.4.4 librosa-0.8.1 llvmlite-0.39.1 loguru-0.6.0 lxml-4.9.1 matplotlib-3.5.3 mock-4.0.3 multidict-6.0.2 multiprocess-0.70.13 nara-wpe-0.0.8 nltk-3.7 numba-0.56.2 onnxruntime-1.10.0 opencc-1.1.4 paddle2onnx-1.0.0 paddlefsl-1.1.0 paddlenlp-2.4.0 paddlespeech-1.1.3 paddlespeech-feat-0.1.0 pandas-1.3.5 pathos-0.2.8 pattern-singleton-1.2.0 pooch-1.6.0 portalocker-2.5.1 pox-0.3.1 ppft-1.7.6.5 praatio-5.0.0 prettytable-3.4.1 pyarrow-9.0.0 pybind11-2.10.0 pycparser-2.21 pycryptodome-3.15.0 pydantic-1.10.2 pypinyin-0.47.1 pypinyin-dict-0.3.0 pytz-2022.2.1 pyworld-0.2.12 regex-2022.9.13 resampy-0.2.2 responses-0.18.0 sacrebleu-2.2.1 scikit-learn-1.0.2 scipy-1.7.3 sentencepiece-0.1.97 seqeval-1.2.2 sniffio-1.3.0 soundfile-0.10.3.post1 starlette-0.20.4 tabulate-0.8.10 textgrid-1.5 threadpoolctl-3.1.0 timer-0.2.2 tqdm-4.64.1 typeguard-2.13.3 uvicorn-0.18.3 visualdl-2.4.1 webrtcvad-2.0.10 websockets-10.3 xxhash-3.0.0
第一個(gè)一步之遙:安裝sndfile library
此時(shí)距離成功一步之遙,還需要安裝sndfile。
apt-get update
λ 87ab8bb680bf /home apt-get update
Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:4 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu bionic InRelease [15.9 kB]
Get:5 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [2,990 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [83.3 kB]
Get:7 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu bionic/main amd64 Packages [45.2 kB]
Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2,322 kB]
Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [3,422 kB]
Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [1,202 kB]
Get:11 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [64.0 kB]
Get:12 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [20.6 kB]
Get:13 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [1,161 kB]
Get:14 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1,545 kB]
Fetched 13.0 MB in 24s (536 kB/s)
Reading package lists… Done
apt-get install libsndfile1
λ 87ab8bb680bf /home apt-get install libsndfile1
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following additional packages will be installed:
libflac8 libogg0 libvorbis0a libvorbisenc2
The following NEW packages will be installed:
libflac8 libogg0 libsndfile1 libvorbis0a libvorbisenc2
0 upgraded, 5 newly installed, 0 to remove and 40 not upgraded.
Need to get 557 kB of archives.
After this operation, 2,051 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 libogg0 amd64 1.3.2-1 [17.2 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 libflac8 amd64 1.3.2-1 [213 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libvorbis0a amd64 1.3.5-4.2 [86.4 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic/main amd64 libvorbisenc2 amd64 1.3.5-4.2 [70.7 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libsndfile1 amd64 1.0.28-4ubuntu0.18.04.2 [170 kB]
Fetched 557 kB in 4s (132 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libogg0:amd64.
(Reading database … 26526 files and directories currently installed.)
Preparing to unpack …/libogg0_1.3.2-1_amd64.deb …
Unpacking libogg0:amd64 (1.3.2-1) …
Selecting previously unselected package libflac8:amd64.
Preparing to unpack …/libflac8_1.3.2-1_amd64.deb …
Unpacking libflac8:amd64 (1.3.2-1) …
Selecting previously unselected package libvorbis0a:amd64.
Preparing to unpack …/libvorbis0a_1.3.5-4.2_amd64.deb …
Unpacking libvorbis0a:amd64 (1.3.5-4.2) …
Selecting previously unselected package libvorbisenc2:amd64.
Preparing to unpack …/libvorbisenc2_1.3.5-4.2_amd64.deb …
Unpacking libvorbisenc2:amd64 (1.3.5-4.2) …
Selecting previously unselected package libsndfile1:amd64.
Preparing to unpack …/libsndfile1_1.0.28-4ubuntu0.18.04.2_amd64.deb …
Unpacking libsndfile1:amd64 (1.0.28-4ubuntu0.18.04.2) …
Setting up libogg0:amd64 (1.3.2-1) …
Setting up libvorbis0a:amd64 (1.3.5-4.2) …
Setting up libflac8:amd64 (1.3.2-1) …
Setting up libvorbisenc2:amd64 (1.3.5-4.2) …
Setting up libsndfile1:amd64 (1.0.28-4ubuntu0.18.04.2) …
Processing triggers for libc-bin (2.27-3ubuntu1.4) …
λ 87ab8bb680bf /home
第二個(gè)一步之遙 安裝ctc
第一次運(yùn)行paddlespeech 進(jìn)行識(shí)別時(shí),它會(huì)自動(dòng)下載安裝CTC
wget -c https://paddlespeech.bj.bcebos.com/PaddleAudio/zh.wav
paddlespeech asr --lang zh --input zh.wav
λ 095edf302bbd /home paddlespeech asr --lang zh --input zh.wav
grep: warning: GREP_OPTIONS is deprecated; please use an alias or script
/usr/local/lib/python3.7/dist-packages/librosa/core/constantq.py:1059: DeprecationWarning: np.complex is a deprecated alias for the builtin complex. To silence this warning, use complex by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use np.complex128 here.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
dtype=np.complex,
100%|█████████████████████████████████████████████████████████████████████████████| 466988/466988 [00:19<00:00, 23739.53it/s]
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with ‘-m pip’ instead of running pip directly.
Collecting paddlespeech_ctcdecoders
Downloading paddlespeech_ctcdecoders-0.2.1-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (16.8 MB)
|████████████████████████████████| 16.8 MB 977 kB/s
Installing collected packages: paddlespeech-ctcdecoders
Successfully installed paddlespeech-ctcdecoders-0.2.1
我認(rèn)為跑步最重要的就是給我?guī)?lái)了身體健康λ 095edf302bbd /home
驗(yàn)證測(cè)試,paddlespeech支持最大時(shí)長(zhǎng)200秒
docker cp ORIG05007971_20220926105342_18631014368_talk.wav 095edf302bbd:/home/
λ 095edf302bbd /home paddlespeech asr --lang zh --input ORIG05007971_20220926105342_18631014368_talk.wav
grep: warning: GREP_OPTIONS is deprecated; please use an alias or script
/usr/local/lib/python3.7/dist-packages/librosa/core/constantq.py:1059: DeprecationWarning: np.complex is a deprecated alias for the builtin complex. To silence this warning, use complex by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use np.complex128 here.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
dtype=np.complex,
[2022-09-26 07:24:52,893] [ ERROR] - Please input audio file less then 200.0 seconds
驗(yàn)證測(cè)試,paddlespeech支持最大時(shí)長(zhǎng)200秒-低于200秒
λ 095edf302bbd /home paddlespeech asr --lang zh --input ORIG05007971_20220926105342_18631014368_talk_c.wav
grep: warning: GREP_OPTIONS is deprecated; please use an alias or script
/usr/local/lib/python3.7/dist-packages/librosa/core/constantq.py:1059: DeprecationWarning: np.complex is a deprecated alias for the builtin complex. To silence this warning, use complex by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use np.complex128 here.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
dtype=np.complex,
哎我說(shuō)你應(yīng)該給我電了也你差個(gè)盒五爸爸三十個(gè)贊回他咋來(lái)可是不吃飯交完飯的就那個(gè)電視出的費(fèi)都沒(méi)有臉是出的費(fèi)來(lái)黃月坤那五十電視出了現(xiàn)出個(gè)十塊是飯啥夜我也這個(gè)帶塊一月交二電視等會(huì)兒我看一眼我我看他那個(gè)初費(fèi)看不明白是啥用等會(huì)查著他手機(jī)號(hào)是個(gè)啥的我零瓶哥就上回那個(gè)告酬那個(gè)座機(jī)他不是沒(méi)加床呀我現(xiàn)在去給他從家我該打出我都都不敢做了我可不知得了出了十塊個(gè)那個(gè)出門每個(gè)月出一年一到六百家的幾塊七點(diǎn)二吧他沒(méi)能去不了啥能去的呢能掛去這個(gè)去這還看了電視是吧我還給我我開(kāi)什么嘛事電視是吧對(duì)光把電視去了我現(xiàn)那個(gè)一六份第六時(shí)啥都就這個(gè)人那去那給我去來(lái)吧要回要把知溜啥的腦袋行讓我看看五十五他這個(gè)他這個(gè)機(jī)頂盒時(shí)候沒(méi)交錢呀我說(shuō)時(shí)到雞天盒拿回去不是我說(shuō)他平常這個(gè)機(jī)頂盒事沒(méi)交費(fèi)啊幾個(gè)水就是那那
總結(jié)
以上是生活随笔為你收集整理的使用docker成功安装paddlespeech进行语音识别的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 已解决pandas创建DataFrame
- 下一篇: mongo数据库取并集