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

WRN No deep learning framework was found, but it's ok for parallel computation. #1149

Open
lmy235638 opened this issue May 16, 2024 · 3 comments

Comments

@lmy235638
Copy link

lmy235638 commented May 16, 2024

python环境:3.8
paddle-gpu版本:2.6.1,安装方式为:conda install paddlepaddle-gpu==2.6.1 cudatoolkit=11.7 -c https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/Paddle/ -c conda-forge
parl版本:2.2.1,安装方式为pip install parl

出现问题:paddle使用正常,但在import parl时会出现WRN No deep learning framework was found, but it's ok for parallel computation.警告.运行快速入门:解决CartPole问题时会出现parl没有model的报错

尝试解决方法:降级paddle为2.5版本正常使用

请问parl现在不支持paddle最新版本2.6吗

@TomorrowIsAnOtherDay
Copy link
Collaborator

赞解决方案的同步,应该是支持的。
你可以试试安装parl + paddle2.6,然后执行

python -c "import paddle"

看看有没有报错信息。

@18684031838
Copy link

我用paddle2.5.0和python3.8运行示例,仍然报错,请问能否提供一个运行所有示例的版本的依赖文件requirements.txt呢?谢谢!
这个是我的报错:
[12-16 06:37:07 MainThread @utils.py:79] paddlepaddle version: 2.5.0.
Traceback (most recent call last):
File "D:\Source\study\python\paddle\examples\tutorials\lesson3\dqn\train.py", line 30, in
from model import Model
File "D:\Source\study\python\paddle\examples\tutorials\lesson3\dqn\model.py", line 18, in
from parl import layers # 封装了 paddle.fluid.layers 的API
ImportError: cannot import name 'layers' from 'parl' (D:\Source\study\python\paddle\parl_init_.py)

@P90-RushB
Copy link
Collaborator

readme新增了经过测试的最新的安装步骤,可以参考。win版本最高支持到2.2.1

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