Traceback (most recent call last):
File "F:\CODE\Code\PARL-develop\PARL-develop\examples\QuickStart\train.py", line 21, in
from cartpole_model import CartpoleModel
File "F:\CODE\Code\PARL-develop\PARL-develop\examples\QuickStart\cartpole_model.py", line 21, in
class CartpoleModel(parl.Model):
AttributeError: module 'parl' has no attribute 'Model'
类似报错
parl == 2.2.1
gym == 0.26.2
运行example中的PPO train.py时出现上述问题 [04-09 16:11:24 MainThread @utils.py:77] paddlepaddle version: 2.4.2. Traceback (most recent call last): File "C:\Users\123\Desktop\PPO\train.py", line 21, in
from env_utils import ParallelEnv, LocalEnv
File "C:\Users\123\Desktop\PPO\env_utils.py", line 164, in
@parl.remote_class(wait=False)
AttributeError: module 'parl' has no attribute 'remote_class'
版本信息 paddlepaddle = 2.4.2 parl =2.2.1