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

关于paddleClas和paddlepaddle版本的问题 #3127

Open
BeyondYourself opened this issue Apr 22, 2024 · 5 comments
Open

关于paddleClas和paddlepaddle版本的问题 #3127

BeyondYourself opened this issue Apr 22, 2024 · 5 comments
Assignees

Comments

@BeyondYourself
Copy link

你好,当前使用了飞桨最新的版本2.6.1的GPU版本,发现在执行项目的时候会报错,目前是不支持paddle最新版本吗,如果不是,当前支持的paddle版本是哪个,另外一个很大的问题是,在执行deploy/python下的脚本的时候,总是报各种找不到,比如paddleClas找不到,已经克隆了整个代码到Linux环境了,这是这么回事,即使执行了pip install paddleclas 也是有问题,比如在执行predict_cls.py的时候报 super().__init__(config["Global"]) File "/usr/local/lib/python3.8/dist-packages/paddleclas/deploy/utils/predictor.py", line 29, in __init__ if args.use_fp16 is True: File "/usr/local/lib/python3.8/dist-packages/paddleclas/deploy/utils/config.py", line 27, in __getattr__ return self[key] KeyError: 'use_fp16'

@changdazhou
Copy link
Contributor

是支持最新的PaddlePaddle版本的,如果您在最近版本上测试遇到问题,也可以尝试使用2.5.2版本PaddlePaddle,上述问题我们会记录并测试哈

@changdazhou
Copy link
Contributor

paddleClas找不到的问题尝试一下在paddleClas根目录执行python setup.py install

@redforg
Copy link

redforg commented May 17, 2024

是支持最新的PaddlePaddle版本的,如果您在最近版本上测试遇到问题,也可以尝试使用2.5.2版本PaddlePaddle,上述问题我们会记录并测试哈

paddlepaddle-gpu2.5.2+paddleclas2.5.2在cuda11.8,cudnn8.9.6下报错:ExternalError: CUDNN error(9), CUDNN_STATUS_NOT_SUPPORTED.
[Hint: 'CUDNN_STATUS_NOT_SUPPORTED'. The functionality requested is not presently supported by cuDNN. ] (at ../paddle/phi/kernels/fusion/gpu/conv_fusion_kernel.cu:616)。别的issue看到是cudnn版本问题,这个版本支持有说明吗?

@changdazhou
Copy link
Contributor

建议安装cuda11.2或者cuda11.7哈

@redforg
Copy link

redforg commented May 21, 2024

建议安装cuda11.2或者cuda11.7哈
cuda11.7有建议对应cudnn版本吗?

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