# Threshold values are the maximum reward of a trained SAC agent
#!/bin/bash

# Use 42 as default if no seed is provided
SEED=${1:-42}

python -m src.main algorithm=smerl env=ant algorithm.smerl_threshold=1696.8 device="cuda" seed=$SEED &
python -m src.main algorithm=smerl env=bipedal_walker algorithm.smerl_threshold=225.7 device="cuda" seed=$SEED &
python -m src.main algorithm=smerl env=halfcheetah algorithm.smerl_threshold=2548.8 device="cuda" seed=$SEED
wait
python -m src.main algorithm=smerl env=hopper algorithm.smerl_threshold=1815 device="cuda" seed=$SEED &
python -m src.main algorithm=smerl env=swimmer algorithm.smerl_threshold=358.9 device="cuda" seed=$SEED &
python -m src.main algorithm=smerl env=walker2d algorithm.smerl_threshold=2608 device="cuda" seed=$SEED
wait
