-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun_scripts.sh
executable file
·35 lines (30 loc) · 933 Bytes
/
run_scripts.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/bin/bash
# Run the first Python script
# python MetaLearnCuriosity/agents/curious_agents/single_value_head_agents/rnd_gymnax.py
# Check if the previous command was successful
# if [ $? -eq 0 ]; then
# echo "rnd_gymnax.py ran successfully."
# else
# echo "rnd_gymnax.py failed to run."
# exit 1
# fi
# Run the second Python script
python MetaLearnCuriosity/hyperparameter_sweep/rnd_notebook_minigrid.py
# Check if the previous command was successful
if [ $? -eq 0 ]; then
echo "rnd_brax.py ran successfully."
else
echo "rnd_brax.py failed to run."
exit 1
fi
# Add more scripts as needed
python MetaLearnCuriosity/hyperparameter_sweep/byol_notebook_minigrid.py
# Check if the previous command was successful
if [ $? -eq 0 ]; then
echo "byol_brax.py ran successfully."
else
echo "byol_brax.py failed to run."
exit 1
fi
# Print a message when all scripts have run
echo "All scripts have run."