Skip to content

Commit 77c8c70

Browse files
committed
rearranged script files
1 parent b62e707 commit 77c8c70

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

runscript.sh renamed to runscripts/batch_run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
# add path of the root folder
4-
export PYTHONPATH=/home/codelab/work/benchmarks:$PYTHONPATH
4+
export PYTHONPATH=/home/name/snbo:$PYTHONPATH
55

66
# variables
77
method="snbo"

runscripts/single_run.sh

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/bash
2+
3+
# add path of the root folder
4+
export PYTHONPATH=/home/name/snbo:$PYTHONPATH
5+
6+
# variables
7+
problem="rover"
8+
dim=100
9+
n_init=$((2*$dim))
10+
max_evals=2000
11+
12+
python algorithms/optimize.py --method "snbo" --problem $problem --dim $dim --n_init $n_init --max_evals $max_evals\
13+
--neurons 256 256 --act_funcs "GELU" "GELU"
14+
15+
python algorithms/optimize.py --method "bo" --problem $problem --dim $dim --n_init $n_init --max_evals $max_evals
16+
17+
python algorithms/optimize.py --method "ibnn" --problem $problem --dim $dim --n_init $n_init --max_evals $max_evals

0 commit comments

Comments
 (0)