PaddlePaddle / PARL

A high-performance distributed training framework for Reinforcement Learning
https://parl.readthedocs.io/
Apache License 2.0
3.22k stars 817 forks source link

module 'parl' has no attribute 'remote_class' #1089

Open Tianyi-Lin opened 1 year ago

Tianyi-Lin commented 1 year ago

运行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

TomorrowIsAnOtherDay commented 1 year ago

hello,windows目前尚不支持remote_class呢。感谢你的反馈,我们短期先增加windows的不支持提示,后续会逐步解决windows的并行兼容性问题。

18699502246 commented 5 months ago

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