quad-swarm-rl icon indicating copy to clipboard operation
quad-swarm-rl copied to clipboard

Syntax error when testing the trained model

Open yeko31 opened this issue 1 week ago • 0 comments

Hi,

I have come across with the error code of "enjoy.py: unrecognized arguments: --qudas_render=True" when I executed the following command.

python -m swarm_rl.enjoy --algo=APPO --env=quadrotor_multi --replay_buffer_sample_prob=0 --quads_use_numba=False --qudas_render=True --train_dir=PATH_TO_TRAIN_DIR --experiment=EXPERIMENT_NAME --quads_view_mode CAMERA_VIEWS

Solution: There was a syntax error in --qudas_render(error), should be --quads_render(correct)

python -m swarm_rl.enjoy --algo=APPO --env=quadrotor_multi --replay_buffer_sample_prob=0 --quads_use_numba=False --quads_render=True --train_dir=PATH_TO_TRAIN_DIR --experiment=EXPERIMENT_NAME --quads_view_mode CAMERA_VIEWS

yeko31 avatar Feb 18 '25 11:02 yeko31