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

AttributeError: 'Parameter' object has no attribute 'value' #60

Open
BlueShit-1120 opened this issue Aug 31, 2021 · 0 comments
Open

AttributeError: 'Parameter' object has no attribute 'value' #60

BlueShit-1120 opened this issue Aug 31, 2021 · 0 comments

Comments

@BlueShit-1120
Copy link

When I run mountain_car.py in the examples file, it works fine at the beginning, but after a while it will report an error. The error is

model GP1 is right
Traceback (most recent call last):
File "C:/Users/xxwan/.mujoco/mujoco-py/PILCO-master/examples/mountain_car.py", line 57, in
pilco.optimize_models()
File "c:\users\xxwan\desktop\tendontrack_pilco\pilco\models\pilco.py", line 62, in optimize_models
self.mgpr.optimize(restarts=restarts)
File "c:\users\xxwan\desktop\tendontrack_pilco\pilco\models\mgpr.py", line 89, in optimize
"lengthscales": model.kernel.lengthscales.value(),
AttributeError: 'Parameter' object has no attribute 'value'

How can I solve this problem? Thanks.

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

1 participant