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

Visualization of Simulation #82

Open
zxy-Aug opened this issue Nov 12, 2024 · 5 comments
Open

Visualization of Simulation #82

zxy-Aug opened this issue Nov 12, 2024 · 5 comments

Comments

@zxy-Aug
Copy link

zxy-Aug commented Nov 12, 2024

Excuse me, how to visualize the simulation in the simulation environment?

@Zhehui-Huang
Copy link
Owner

To visualize the simulation, you may use the command:
python -m swarm_rl.enjoy --algo=APPO --env=quadrotor_multi --replay_buffer_sample_prob=0 --quads_use_numba=False --train_dir=PATH_TO_TRAIN_DIR --experiment=EXPERIMENT_NAME --quads_view_mode CAMERA_VIEWS

@hao0930
Copy link

hao0930 commented Dec 16, 2024

Excused me, I typed this test program
python -m swarm_rl.enjoy --algo=APPO --env=quadrotor_multi --replay_buffer_sample_prob=0 --quads_use_numba=False --train_dir=./train_dir/paper_quads_multi_mix_baseline_8a_attn_v116/single_ --experiment =00_single_see_0 --quads_view_mode topdown Why does AttributeError: 'QuadrotorEnvMulti' object has no attribute 'render_speed' appear in the terminal?

@Alikosemen
Copy link

Excused me, I typed this test program python -m swarm_rl.enjoy --algo=APPO --env=quadrotor_multi --replay_buffer_sample_prob=0 --quads_use_numba=False --train_dir=./train_dir/paper_quads_multi_mix_baseline_8a_attn_v116/single_ --experiment =00_single_see_0 --quads_view_mode topdown Why does AttributeError: 'QuadrotorEnvMulti' object has no attribute 'render_speed' appear in the terminal?

I got the same error

@Zhehui-Huang
Copy link
Owner

Could you try to add --qudas_render=True to the command?

@hao0930
Copy link

hao0930 commented Dec 19, 2024

Sorry I think is --quads_render=True.

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