-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtrain.sh
executable file
·19 lines (19 loc) · 1.18 KB
/
train.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
for i in 20 40 60 80
do
for j in 20 40 60 80
do
for k in 20 40 60 80
do
echo "Start train node ${i}_${j}_${k}"
python3 colision_avoidance_net.py --num_nodes "${i}" "${j}" "${k}" --num_layers 1 1 1 --index 0 &
python3 colision_avoidance_net.py --num_nodes "${i}" "${j}" "${k}" --num_layers 1 1 1 --index 1 &
python3 colision_avoidance_net.py --num_nodes "${i}" "${j}" "${k}" --num_layers 1 1 1 --index 2 &
python3 colision_avoidance_net.py --num_nodes "${i}" "${j}" "${k}" --num_layers 1 1 1 --index 3 &
python3 colision_avoidance_net.py --num_nodes "${i}" "${j}" "${k}" --num_layers 2 2 2 --index 0 &
python3 colision_avoidance_net.py --num_nodes "${i}" "${j}" "${k}" --num_layers 2 2 2 --index 1 &
python3 colision_avoidance_net.py --num_nodes "${i}" "${j}" "${k}" --num_layers 2 2 2 --index 2 &
python3 colision_avoidance_net.py --num_nodes "${i}" "${j}" "${k}" --num_layers 2 2 2 --index 3
done
done
done