#!/bin/bash


cd ../../../

ENV_ARGS="env_args.scenario=""HalfCheetah-v2"" env_args.agent_conf=""6x1"""


CONFIG="pgd_lr=0.5 pgd_step=30 plan_step=1 test_nepisode=16 \
		dynamic_model_path="""results/dynamic_models/HalfCheetah_6x1/model.pt""" \
		checkpoint_path=""results/marl_models/maddpg_cheetah_6x1"" \
		init_type=epsilon seed=42 evaluate=True pgd_solver=adam\
		noise_constraint_type=""linf_norm"" data_driven_failure_state=True\
		adv_eps=[0,0.05,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1.0,1.0]\
		"

for agent in 0 1 2 3 4 5
  do
	NAME=maddpg_model_atk_data_linf_norm_cheetah_6x1_agent${agent}
	AGENT_CONFIG="attack_agent=${agent}"

	python src/main.py --config=maddpg_adv_model --env-config=mujoco_multi with ${ENV_ARGS} name=${NAME} ${CONFIG} ${AGENT_CONFIG}

done
