首页
开源
资讯
活动
开源许可证
软件工程云服务
软件代码质量检测云服务
持续集成与部署云服务
社区个性化内容推荐服务
贡献审阅人推荐服务
群体化学习服务
重睛鸟代码扫描工具
登录
注册
代码拉取完成,页面将自动刷新
Watch
26
Star
325
Fork
106
PaddlePaddle
/
PaddleSpeech
Fork 仓库
加载中
取消
确认
代码
Issues
13
Pull Requests
1
Wiki
0
统计
更新失败,请稍后重试!
Issues
/
详情
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
cannot import name 'check_argument_types' from 'typeguard'
待办的
#I6XPNI
致远_george
创建于
2023-04-21 16:39
运行环境: win10(处理器core i5 , 内存16G,显卡iris xe共享8G, 64位,AMD64) python3.7.6 paddle CPU版本2.4.2 D:\py37-paddlepaddle>python extract_audio.py 2023-04-21 16:12:02.054 | INFO | paddlespeech.s2t.modules.ctc:<module>:45 - paddlespeech_ctcdecoders not installed! Traceback (most recent call last): File "extract_audio.py", line 31, in <module> extract_text("video.mp4.wav") File "extract_audio.py", line 22, in extract_text result = asr_executor(audio_file=wav_file) File "D:\py37\lib\site-packages\paddlespeech\cli\utils.py", line 328, in _warpper return executor_func(self, *args, **kwargs) File "D:\py37\lib\site-packages\paddlespeech\cli\asr\infer.py", line 489, in __call__ num_decoding_left_chunks, ckpt_path) File "D:\py37\lib\site-packages\paddlespeech\cli\asr\infer.py", line 199, in _init_from_path model_class = self.task_resource.get_model_class(model_name) File "D:\py37\lib\site-packages\paddlespeech\resource\resource.py", line 115, in get_model_class ret.append(dynamic_import(import_path)) File "D:\py37\lib\site-packages\paddlespeech\utils\dynamic_import.py", line 37, in dynamic_import m = importlib.import_module(module_name) File "D:\py37\lib\importlib\__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1006, in _gcd_import File "<frozen importlib._bootstrap>", line 983, in _find_and_load File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 677, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 728, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "D:\py37\lib\site-packages\paddlespeech\s2t\models\u2\__init__.py", line 14, in <module> from .u2 import U2InferModel File "D:\py37\lib\site-packages\paddlespeech\s2t\models\u2\u2.py", line 43, in <module> from paddlespeech.s2t.modules.decoder import BiTransformerDecoder File "D:\py37\lib\site-packages\paddlespeech\s2t\modules\decoder.py", line 24, in <module> from typeguard import check_argument_types ImportError: cannot import name 'check_argument_types' from 'typeguard' (D:\py37\lib\site-packages\typeguard\__init__.py)
运行环境: win10(处理器core i5 , 内存16G,显卡iris xe共享8G, 64位,AMD64) python3.7.6 paddle CPU版本2.4.2 D:\py37-paddlepaddle>python extract_audio.py 2023-04-21 16:12:02.054 | INFO | paddlespeech.s2t.modules.ctc:<module>:45 - paddlespeech_ctcdecoders not installed! Traceback (most recent call last): File "extract_audio.py", line 31, in <module> extract_text("video.mp4.wav") File "extract_audio.py", line 22, in extract_text result = asr_executor(audio_file=wav_file) File "D:\py37\lib\site-packages\paddlespeech\cli\utils.py", line 328, in _warpper return executor_func(self, *args, **kwargs) File "D:\py37\lib\site-packages\paddlespeech\cli\asr\infer.py", line 489, in __call__ num_decoding_left_chunks, ckpt_path) File "D:\py37\lib\site-packages\paddlespeech\cli\asr\infer.py", line 199, in _init_from_path model_class = self.task_resource.get_model_class(model_name) File "D:\py37\lib\site-packages\paddlespeech\resource\resource.py", line 115, in get_model_class ret.append(dynamic_import(import_path)) File "D:\py37\lib\site-packages\paddlespeech\utils\dynamic_import.py", line 37, in dynamic_import m = importlib.import_module(module_name) File "D:\py37\lib\importlib\__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1006, in _gcd_import File "<frozen importlib._bootstrap>", line 983, in _find_and_load File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 677, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 728, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "D:\py37\lib\site-packages\paddlespeech\s2t\models\u2\__init__.py", line 14, in <module> from .u2 import U2InferModel File "D:\py37\lib\site-packages\paddlespeech\s2t\models\u2\u2.py", line 43, in <module> from paddlespeech.s2t.modules.decoder import BiTransformerDecoder File "D:\py37\lib\site-packages\paddlespeech\s2t\modules\decoder.py", line 24, in <module> from typeguard import check_argument_types ImportError: cannot import name 'check_argument_types' from 'typeguard' (D:\py37\lib\site-packages\typeguard\__init__.py)
评论 (
0
)
致远_george
创建了
任务
登录
后才可以发表评论
状态
待办的
待办的
进行中
已完成
已关闭
负责人
未设置
标签
未设置
标签管理
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (11)
标签 (16)
develop
dependabot/npm_and_yarn/demos/speech_web/web_client/semver-5.7.2
dependabot/npm_and_yarn/demos/speech_web/web_client/vite-2.9.16
speechx
r1.4
r1.3
r1.2
r1.1
r1.0
r0.2
r0.1
r1.4.1
r1.4.0
r1.3.0
r1.2.0
r1.1.0
r1.0.1
r1.0.0
r1.0.0a
r0.2.0
r0.1.2
r0.1.1
r0.1.0
v2.1.1
v2.1.0
v1.1
v1.0
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
参与者(1)