Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module 'fastdeploy' has no attribute 'RuntimeOption' #2436

Open
GaoYuelong opened this issue Apr 17, 2024 · 2 comments
Open

module 'fastdeploy' has no attribute 'RuntimeOption' #2436

GaoYuelong opened this issue Apr 17, 2024 · 2 comments
Assignees

Comments

@GaoYuelong
Copy link


温馨提示:根据社区不完全统计,按照模板提问,可以加快回复和解决问题的速度


环境

  • 【FastDeploy版本】: fast-tokenizer-python 1.0.2

通过如下命令安装的.提示RuntimeOption不存在

pip install fastdeploy-python -f https://www.paddlepaddle.org.cn/whl/fastdeploy.html
出错信息:

fd <module 'fastdeploy' (namespace)>
Traceback (most recent call last):
  File "/Users/che3vinci/PaddleOCR/deploy/fastdeploy/cpu-gpu/python/infer.py", line 185, in <module>
    det_option, cls_option, rec_option = build_option(args)
  File "/Users/che3vinci/PaddleOCR/deploy/fastdeploy/cpu-gpu/python/infer.py", line 75, in build_option
    det_option = fd.RuntimeOption()
AttributeError: module 'fastdeploy' has no attribute 'RuntimeOption'
@Jiang-Jia-Jun
Copy link
Collaborator

确保当前目录下,没有命名为fastdeploy的代码文件或目录

@will-bug
Copy link

同样出现了这个问题, 当前代码并没有出现同名文件

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants