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

Run demo error. #124

Open
Yang-Yefeng opened this issue Mar 16, 2023 · 2 comments
Open

Run demo error. #124

Yang-Yefeng opened this issue Mar 16, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@Yang-Yefeng
Copy link

I occured an error when I was running the demo in ReadME.md.
I was running: ./create_fig6.sh

The error:

Traceback (most recent call last):
File "./gp_mpc_experiment.py", line 197, in
plot_xz_comparison_diag_constraint(prior_run, run, 1)
File "./gp_mpc_experiment.py", line 27, in plot_xz_comparison_diag_constraint
ax = plot_2D_comparison_with_prior(state_inds, prior_run, run, goal, init_ind, dir=dir)
File "./gp_mpc_experiment.py", line 53, in plot_2D_comparison_with_prior
horizon_cov = run.state_horizon_cov[init_ind]
IndexError: list index out of range

@JacopoPan
Copy link
Member

@Yang-Yefeng are you running safe-control-gym in its own dedicated condo environment?
@adamhall is this an error you are familiar with>

@JacopoPan JacopoPan added the bug Something isn't working label Mar 20, 2023
@adamhall
Copy link
Contributor

Hi @Yang-Yefeng,
Your issue seems very similar to issue #95. Have you taken a look there?
Also, could you list the python packages you have installed and their versions running something like

pip3 list or conda list.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants