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

Attributerror #1135

Open
spiderZhengLi opened this issue Mar 23, 2024 · 7 comments
Open

Attributerror #1135

spiderZhengLi opened this issue Mar 23, 2024 · 7 comments

Comments

@spiderZhengLi
Copy link

(paddle) F:\Desktop\PARL-develop\examples\QuickStart>python train.py
�[32m[03-23 22:43:02 MainThread @logger.py:242]�[0m Argv: train.py
�[33m[03-23 22:43:04 MainThread @init.py:37]�[0m �[5m�[33mWRN�[0m No deep learning framework was found, but it's ok for parallel computation.
Traceback (most recent call last):
File "train.py", line 21, in
from cartpole_model import CartpoleModel
File "F:\Desktop\PARL-develop\examples\QuickStart\cartpole_model.py", line 21, in
class CartpoleModel(parl.Model):
AttributeError: module 'parl' has no attribute 'Model'

@FANTASY-Xxx
Copy link

me too

@TomorrowIsAnOtherDay
Copy link
Collaborator

The error message shows that you have not yet installed any deep learning framework. Please install PaddlePaddle before running the training script.

@spiderZhengLi
Copy link
Author

I'sure that I have installed the paddlepaddle and parl.After that,I still have the error.

@TomorrowIsAnOtherDay
Copy link
Collaborator

Hey, guys, could you give me the system info and tell me which Paddle version you're using? That way, I can try to replicate the error on my end.

@spiderZhengLi
Copy link
Author

I am using a Windows 11 system, and the graphics card is an NVIDIA GeForce RTX 3060 Laptop GPU. The paddlepaddle version I use is 2.6.1, the parl version is 2.2.1, and the python version is 3.8.

@1Northward1
Copy link

me too
image

@lufengWong
Copy link

win使用paddlepaddle-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

5 participants