PARL icon indicating copy to clipboard operation
PARL copied to clipboard

Attributerror

Open spiderZhengLi opened this issue 1 year ago • 7 comments

(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'

spiderZhengLi avatar Mar 23 '24 14:03 spiderZhengLi

me too

FANTASY-Xxx avatar Mar 25 '24 15:03 FANTASY-Xxx

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

TomorrowIsAnOtherDay avatar Mar 26 '24 03:03 TomorrowIsAnOtherDay

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

spiderZhengLi avatar Mar 27 '24 07:03 spiderZhengLi

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.

TomorrowIsAnOtherDay avatar Mar 27 '24 12:03 TomorrowIsAnOtherDay

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.

spiderZhengLi avatar Mar 29 '24 01:03 spiderZhengLi

me too image

1Northward1 avatar Apr 11 '24 02:04 1Northward1