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

the +simulation in .sh #14

Open
SupOne11 opened this issue Mar 25, 2024 · 6 comments
Open

the +simulation in .sh #14

SupOne11 opened this issue Mar 25, 2024 · 6 comments

Comments

@SupOne11
Copy link

Hi author, how does the parameter +simulation=$challenge affect the configuration when simulating. It seems that the config/simulation path does not exist.

@jchengai
Copy link
Owner

+simulation= needs to be set to one of these "closed_loop_nonreactive_agents, closed_loop_reactive_agents, open_loop_boxes", which are defined by the nuplan-devkit.

@jessapinkman
Copy link

+simulation= needs to be set to one of these "closed_loop_nonreactive_agents, closed_loop_reactive_agents, open_loop_boxes", which are defined by the nuplan-devkit.

However, the config/simulation path does not exist. And when I run plantf_benchmarks.sh script, it report the following issue:
image

How can I fix it? Should I create a new simulation configuration file?

@zc645080234
Copy link

+simulation= needs to be set to one of these "closed_loop_nonreactive_agents, closed_loop_reactive_agents, open_loop_boxes", which are defined by the nuplan-devkit.

However, the config/simulation path does not exist. And when I run plantf_benchmarks.sh script, it report the following issue: image

How can I fix it? Should I create a new simulation configuration file?

How do you fix it? I encount the same problem, which confuses me a lot.

@jessapinkman
Copy link

+simulation= needs to be set to one of these "closed_loop_nonreactive_agents, closed_loop_reactive_agents, open_loop_boxes", which are defined by the nuplan-devkit.

However, the config/simulation path does not exist. And when I run plantf_benchmarks.sh script, it report the following issue: image
How can I fix it? Should I create a new simulation configuration file?

How do you fix it? I encount the same problem, which confuses me a lot.

@zc645080234 hi, actually there are two typos in plantf_benchmarks.sh file. Maybe you can use the following script:

`cwd=$(pwd)
CKPT_ROOT="$cwd/checkpoints"
PLANNER="planTF"
SPLIT=$1
CHALLENGES="closed_loop_nonreactive_agents closed_loop_reactive_agents open_loop_boxes"

for challenge in $CHALLENGES; do
python run_simulation.py
+simulation=$challenge
planner=$PLANNER
scenario_builder=nuplan_challenge
scenario_filter=$SPLIT
worker=sequential
experiment_uid=$SPLIT/$PLANNER
verbose=true
planner.imitation_planner.planner_ckpt="$CKPT_ROOT/$PLANNER.ckpt"
done`

Hope it helps u :)

@zc645080234
Copy link

+simulation= needs to be set to one of these "closed_loop_nonreactive_agents, closed_loop_reactive_agents, open_loop_boxes", which are defined by the nuplan-devkit.

However, the config/simulation path does not exist. And when I run plantf_benchmarks.sh script, it report the following issue: image
How can I fix it? Should I create a new simulation configuration file?

How do you fix it? I encount the same problem, which confuses me a lot.

@zc645080234 hi, actually there are two typos in plantf_benchmarks.sh file. Maybe you can use the following script:

`cwd=$(pwd) CKPT_ROOT="$cwd/checkpoints" PLANNER="planTF" SPLIT=$1 CHALLENGES="closed_loop_nonreactive_agents closed_loop_reactive_agents open_loop_boxes"

for challenge in $CHALLENGES; do python run_simulation.py +simulation=$challenge planner=$PLANNER scenario_builder=nuplan_challenge scenario_filter=$SPLIT worker=sequential experiment_uid=$SPLIT/$PLANNER verbose=true planner.imitation_planner.planner_ckpt="$CKPT_ROOT/$PLANNER.ckpt" done`

Hope it helps u :)

Thank u for your answers! Now when I use run_nuboard.py, I have got a few problems which confuses me 2 weeks. May be we can contact via wechat! You can get it through my emails [email protected]

@SupOne11
Copy link
Author

+simulation= needs to be set to one of these "closed_loop_nonreactive_agents, closed_loop_reactive_agents, open_loop_boxes", which are defined by the nuplan-devkit.

However, the config/simulation path does not exist. And when I run plantf_benchmarks.sh script, it report the following issue: image

How can I fix it? Should I create a new simulation configuration file?

When I run the “sh ./script/plantf_benchmarks.sh val14” script, I only get 248 scenes instead of 1118. Could you please tell me why?

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

4 participants