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

unexpected keyword argument 'stochastic_xy' #1

Open
thwanguk opened this issue Nov 4, 2021 · 1 comment
Open

unexpected keyword argument 'stochastic_xy' #1

thwanguk opened this issue Nov 4, 2021 · 1 comment

Comments

@thwanguk
Copy link

thwanguk commented Nov 4, 2021

Hello

Thanks for sharing the code.

I've got the following error when running the script:

./scripts/higl_ant_maze_u.sh dense 10e5 0 2
Logging in ./logs/higl
Traceback (most recent call last):
File "main.py", line 114, in
run_higl(args)
File "./HIGL/higl/train.py", line 130, in run_higl
stochastic_sigma=args.stochastic_sigma),
TypeError: make() got an unexpected keyword argument 'stochastic_xy'

I greatly appreciate it if you could look into it. Thank you!

@junsu-kim97
Copy link
Owner

junsu-kim97 commented Nov 4, 2021

Hi, thanks for the interest in our work.

To reproduce your error message, I re-run the code, but it works well without raising the error.

So, If you could provide me more descriptions about your errors, It would be more helpful to address the issue.

I suspect that the error may comes from our modification in AntEnv class in goal_env/mujoco/ant.py in order to handle stochastic environments.

Also, I highly recommend you to check the ant.py and

import gym
from goal_env import *
from goal_env.mujoco import *
is included in higl/train.py

Junsu

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

2 participants