Commit f4d77285 authored by nilabha's avatar nilabha
Browse files

update train script with arguments

parent 5d348ec1
Pipeline #6307 failed with stage
in 2 minutes and 41 seconds
#!/usr/bin/env bash
echo "===================="
echo "APEX FIXED IL(25%)"
echo "===================="
case $1 in
python train.py -ef baselines/imitation_learning_tree_obs/apex_il_tree_obs_25.yaml
ALL)
echo "===================="
echo "APEX FIXED IL(100%)"
echo "===================="
echo "===================="
echo "APEX FIXED IL(25%)"
echo "===================="
python train.py -ef baselines/imitation_learning_tree_obs/apex_pure_il.yaml
python train.py -efs baselines/imitation_learning_tree_obs/apex_il_tree_obs_25.yaml
echo "===================="
echo "APEX FIXED IL(100%)"
echo "===================="
echo "===================="
echo "APEX"
echo "===================="
python train.py -efs baselines/imitation_learning_tree_obs/apex_pure_il.yaml
python train.py -ef baselines/action_masking_and_skipping/apex_tree_obs_small_v0.yaml
echo "===================="
echo "APEX SKIP"
echo "===================="
echo "===================="
echo "APEX"
echo "===================="
python train.py -ef baselines/action_masking_and_skipping/apex_tree_obs_small_v0_skip.yaml
python train.py -efs baselines/action_masking_and_skipping/apex_tree_obs_small_v0.yaml
echo "===================="
echo "APEX SKIP"
echo "===================="
echo "===================="
echo "CCPPO"
echo "===================="
python train.py -efs baselines/action_masking_and_skipping/apex_tree_obs_small_v0_skip.yaml
python train.py -ef baselines/ccppo_tree_obs/ccppo.yaml
echo "===================="
echo "CCPPO BASE"
echo "===================="
echo "===================="
echo "CCPPO"
echo "===================="
python train.py -ef baselines/ccppo_tree_obs/ccppo_base.yaml
python train.py -efs baselines/ccppo_tree_obs/ccppo.yaml
echo "===================="
echo "CCPPO BASE"
echo "===================="
echo "===================="
echo "MARWIL FIXED IL(100%)"
echo "===================="
python train.py -efs baselines/ccppo_tree_obs/ccppo_base.yaml
python train.py -ef baselines/imitation_learning_tree_obs/marwil_tree_obs_all_beta.yaml
echo "===================="
echo "PPO + Online IL(50%)"
echo "===================="
echo "===================="
echo "MARWIL FIXED IL(100%)"
echo "===================="
python train.py -ief baselines/custom_imitation_learning_rllib_tree_obs/ppo_imitation_tree_obs.yaml --eager --trace
python train.py -efs baselines/imitation_learning_tree_obs/marwil_tree_obs_all_beta.yaml
echo "===================="
echo "PPO + Online IL(50%)"
echo "===================="
echo "===================="
echo "PPO"
echo "===================="
python train.py -ief baselines/custom_imitation_learning_rllib_tree_obs/ppo_imitation_tree_obs.yaml --eager --trace
python train.py -ef baselines/action_masking_and_skipping/ppo_tree_obs_small_v0.yaml
echo "===================="
echo "PPO"
echo "===================="
echo "===================="
echo "PPO MASKING"
echo "===================="
python train.py -efs baselines/action_masking_and_skipping/ppo_tree_obs_small_v0.yaml
python train.py -ef baselines/action_masking_and_skipping/ppo_tree_obs_small_v0_mask.yaml
|
echo "===================="
echo "PPO SKIP"
echo "===================="
python train.py -ef baselines/action_masking_and_skipping/ppo_tree_obs_small_v0_skip.yaml
echo "===================="
echo "PPO MASKING"
echo "===================="
echo "===================="
echo "APEX Global density"
echo "===================="
python train.py -efs baselines/action_masking_and_skipping/ppo_tree_obs_small_v0_mask.yaml
echo "===================="
echo "PPO SKIP"
echo "===================="
python train.py -ef baselines/global_density_obs/sparse_small_apex_expdecay_maxt1000.yaml
python train.py -efs baselines/action_masking_and_skipping/ppo_tree_obs_small_v0_skip.yaml
echo "===================="
echo "Online IL(100%)"
echo "===================="
echo "===================="
echo "APEX Global density"
echo "===================="
python train.py -ef baselines/custom_imitation_learning_rllib_tree_obs/pure_imitation_tree_obs.yaml --eager --trace
python train.py -efs baselines/global_density_obs/sparse_small_apex_expdecay_maxt1000.yaml
echo "===================="
echo "Online IL(100%)"
echo "===================="
echo "===================="
echo "PPO Global Obs"
echo "===================="
python train.py -efs baselines/custom_imitation_learning_rllib_tree_obs/pure_imitation_tree_obs.yaml --eager --trace
python train.py -ef baselines/global_obs_ppo/global_obs_ppo.yaml
echo "===================="
echo "APEX Local Conflict"
echo "===================="
echo "===================="
echo "PPO Global Obs"
echo "===================="
python train.py -efs baselines/global_obs_ppo/global_obs_ppo.yaml
echo "===================="
echo "APEX Local Conflict"
echo "===================="
python train.py -efs baselines/local_conflict_obs_apex/local_conflict_obs_apex.yaml
;;
GPU)
echo "===================="
echo "CCPPO"
echo "===================="
python train.py -efs baselines/ccppo_tree_obs/ccppo.yaml
echo "===================="
echo "CCPPO BASE"
echo "===================="
python train.py -efs baselines/ccppo_tree_obs/ccppo_base.yaml
echo "===================="
echo "PPO Global Obs"
echo "===================="
python train.py -efs baselines/global_obs_ppo/global_obs_ppo.yaml
;;
CPU)
echo "===================="
echo "APEX FIXED IL(25%)"
echo "===================="
python train.py -efs baselines/imitation_learning_tree_obs/apex_il_tree_obs_25.yaml
echo "===================="
echo "APEX FIXED IL(100%)"
echo "===================="
python train.py -efs baselines/imitation_learning_tree_obs/apex_pure_il.yaml
echo "===================="
echo "APEX"
echo "===================="
python train.py -efs baselines/action_masking_and_skipping/apex_tree_obs_small_v0.yaml
echo "===================="
echo "APEX SKIP"
echo "===================="
python train.py -efs baselines/action_masking_and_skipping/apex_tree_obs_small_v0_skip.yaml
echo "===================="
echo "MARWIL FIXED IL(100%)"
echo "===================="
python train.py -efs baselines/imitation_learning_tree_obs/marwil_tree_obs_all_beta.yaml
echo "===================="
echo "PPO + Online IL(50%)"
echo "===================="
python train.py -ief baselines/custom_imitation_learning_rllib_tree_obs/ppo_imitation_tree_obs.yaml --eager --trace
echo "===================="
echo "PPO"
echo "===================="
python train.py -efs baselines/action_masking_and_skipping/ppo_tree_obs_small_v0.yaml
echo "===================="
echo "PPO MASKING"
echo "===================="
python train.py -efs baselines/action_masking_and_skipping/ppo_tree_obs_small_v0_mask.yaml
echo "===================="
echo "PPO SKIP"
echo "===================="
python train.py -efs baselines/action_masking_and_skipping/ppo_tree_obs_small_v0_skip.yaml
echo "===================="
echo "APEX Global density"
echo "===================="
python train.py -efs baselines/global_density_obs/sparse_small_apex_expdecay_maxt1000.yaml
echo "===================="
echo "Online IL(100%)"
echo "===================="
python train.py -efs baselines/custom_imitation_learning_rllib_tree_obs/pure_imitation_tree_obs.yaml --eager --trace
echo "===================="
echo "APEX Local Conflict"
echo "===================="
python train.py -efs baselines/local_conflict_obs_apex/local_conflict_obs_apex.yaml
;;
DEFAULT)
echo "===================="
echo "APEX"
echo "===================="
python train.py -efs baselines/action_masking_and_skipping/apex_tree_obs_small_v0.yaml
echo "===================="
echo "APEX SKIP"
echo "===================="
python train.py -efs baselines/action_masking_and_skipping/apex_tree_obs_small_v0_skip.yaml
echo "===================="
echo "PPO + Online IL(50%)"
echo "===================="
python train.py -ief baselines/custom_imitation_learning_rllib_tree_obs/ppo_imitation_tree_obs.yaml --eager --trace
echo "===================="
echo "PPO"
echo "===================="
python train.py -efs baselines/action_masking_and_skipping/ppo_tree_obs_small_v0.yaml
echo "===================="
echo "PPO MASKING"
echo "===================="
python train.py -efs baselines/action_masking_and_skipping/ppo_tree_obs_small_v0_mask.yaml
echo "===================="
echo "PPO SKIP"
echo "===================="
python train.py -efs baselines/action_masking_and_skipping/ppo_tree_obs_small_v0_skip.yaml
echo "===================="
echo "APEX Global density"
echo "===================="
python train.py -efs baselines/global_density_obs/sparse_small_apex_expdecay_maxt1000.yaml
echo "===================="
echo "Online IL(100%)"
echo "===================="
python train.py -efs baselines/custom_imitation_learning_rllib_tree_obs/pure_imitation_tree_obs.yaml --eager --trace
echo "===================="
echo "APEX Local Conflict"
echo "===================="
python train.py -efs baselines/local_conflict_obs_apex/local_conflict_obs_apex.yaml
;;
OFFLINE)
echo "===================="
echo "APEX FIXED IL(25%)"
echo "===================="
python train.py -efs baselines/imitation_learning_tree_obs/apex_il_tree_obs_25.yaml
echo "===================="
echo "APEX FIXED IL(100%)"
echo "===================="
python train.py -efs baselines/imitation_learning_tree_obs/apex_pure_il.yaml
echo "===================="
echo "MARWIL FIXED IL(100%)"
echo "===================="
python train.py -efs baselines/imitation_learning_tree_obs/marwil_tree_obs_all_beta.yaml
;;
IMITATION)
echo "===================="
echo "APEX FIXED IL(25%)"
echo "===================="
python train.py -efs baselines/imitation_learning_tree_obs/apex_il_tree_obs_25.yaml
echo "===================="
echo "APEX FIXED IL(100%)"
echo "===================="
python train.py -efs baselines/imitation_learning_tree_obs/apex_pure_il.yaml
echo "===================="
echo "MARWIL FIXED IL(100%)"
echo "===================="
python train.py -efs baselines/imitation_learning_tree_obs/marwil_tree_obs_all_beta.yaml
echo "===================="
echo "Online IL(100%)"
echo "===================="
python train.py -efs baselines/custom_imitation_learning_rllib_tree_obs/pure_imitation_tree_obs.yaml --eager --trace
echo "===================="
echo "PPO + Online IL(50%)"
echo "===================="
python train.py -ief baselines/custom_imitation_learning_rllib_tree_obs/ppo_imitation_tree_obs.yaml --eager --trace
esac
python train.py -ef baselines/local_conflict_obs_apex/local_conflict_obs_apex.yaml
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment