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

运行train.py报错 'MujocoModel' object has no attribute 'to' #11

Open
Hgy-ang opened this issue Dec 10, 2021 · 2 comments
Open

运行train.py报错 'MujocoModel' object has no attribute 'to' #11

Hgy-ang opened this issue Dec 10, 2021 · 2 comments

Comments

@Hgy-ang
Copy link

Hgy-ang commented Dec 10, 2021

使用python train.py时报如下错误

Traceback (most recent call last):
File "/home/ros/PaddleRobotics/QuadrupedalRobots/ETGRL/train.py", line 508, in
main()
File "/home/ros/PaddleRobotics/QuadrupedalRobots/ETGRL/train.py", line 331, in main
critic_lr=CRITIC_LR)
File "/home/ros/PaddleRobotics\QuadrupedalRobots\ETGRL\alg\sac.py", line 53, in init
self.model = model.to(device)
AttributeError: 'MujocoModel' object has no attribute 'to'

@bld2013
Copy link

bld2013 commented Feb 17, 2023 via email

@woderrrrr
Copy link

使用python train.py时报如下错误

Traceback (most recent call last): File "/home/ros/PaddleRobotics/QuadrupedalRobots/ETGRL/train.py", line 508, in main() File "/home/ros/PaddleRobotics/QuadrupedalRobots/ETGRL/train.py", line 331, in main critic_lr=CRITIC_LR) File "/home/ros/PaddleRobotics\QuadrupedalRobots\ETGRL\alg\sac.py", line 53, in init self.model = model.to(device) AttributeError: 'MujocoModel' object has no attribute 'to'

我也有这个问题,请问您解决了吗?

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

3 participants