-
Notifications
You must be signed in to change notification settings - Fork 800
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
How to use uniform control policy? #49
Comments
Have you tried this one? https://github.com/openai/rllab/blob/master/rllab/algos/nop.py |
I tried NOP got the following error: Traceback (most recent call last): I am a bit confused about this, because in parameterized.py _cached_params is actually set: class Parameterized(object):
|
Hmm weird. I cannot reproduce the error on my end. What if in the initializer of UniformControlPolicy, you explicitly invoke Parameterized.init(self)? |
i invoke Parameterized.init(self) in Policy, it seems that I have an old version of RLLAB. I then got this error: Traceback (most recent call last): |
I am using python 2.7, and I got the same problem after downloading the rllab-py2 again. |
By the way, when I am running multiple python scripts for different algorithms, I got the following errors: using seed 8 Is it ok to run several algorithms in different scripts at the same time? edit: oh, it is not the problem of running several scripts, it is actually caused by adding "super(Policy, self).init()" in init of policy base class. I added this because it seemed to solve the uniform control policy problem. |
I just pushed a fix: 55b7df1 to the attribute error issue. I recommend upgrading to the master branch which uses python 3. Also, it is recommended to explicitly call the superclass constructor instead of using super. |
done! Thanks for your update. |
Design the ros environment support for rllab. Add sawyer simulation support and gazebo environment support. Refer to: rll#49
I want to run my new task in random using uniform_control_policy to get a reference, but I could not figure out what algo should I use. I try to rewrite the batch_plot but I got so many errors. Is there an elegant way to run my task in random?
The text was updated successfully, but these errors were encountered: