Skip to content
Snippets Groups Projects
Commit 880a5762 authored by Frisinghelli Daniel's avatar Frisinghelli Daniel
Browse files

Fix bash syntax error.

parent 656e05be
No related branches found
No related tags found
No related merge requests found
...@@ -5,7 +5,7 @@ conda activate climax ...@@ -5,7 +5,7 @@ conda activate climax
cd ~/git/climax cd ~/git/climax
# loss functions # loss functions
LOSS=(BernoulliGammaLoss(min_amount=1) BernoulliWeibullLoss(min_amount=1)) LOSS=(BernoulliGammaLoss BernoulliWeibullLoss)
# wet day thresholds to test # wet day thresholds to test
# WET_DAY_THRESHOLDS=(0 0.5 1 2 3 5) # WET_DAY_THRESHOLDS=(0 0.5 1 2 3 5)
...@@ -16,7 +16,7 @@ LAMBDA=(0 0.000001 0.00001 0.0001 0.001 0.01) ...@@ -16,7 +16,7 @@ LAMBDA=(0 0.000001 0.00001 0.0001 0.001 0.01)
# iterate over loss functions # iterate over loss functions
for loss in ${LOSS[@]}; do for loss in ${LOSS[@]}; do
# change loss function in configuration # change loss function in configuration
sed -i "s/LOSS\s*=.*/LOSS=$loss/" ./climax/main/config.py sed -i "s/LOSS\s*=.*/LOSS=$loss(min_amount=1)/" ./climax/main/config.py
# iterate over weight decay values # iterate over weight decay values
for lambda in ${LAMBDA[@]}; do for lambda in ${LAMBDA[@]}; do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment