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

Added iteration over thresholds.

parent 479e0a0d
No related branches found
No related tags found
No related merge requests found
......@@ -4,8 +4,16 @@ conda activate climax
# move to project repository
cd ~/git/climax
# model training
python climax/main/downscale_train.py
# wet day thresholds to test
WET_DAY_THRESHOLDS=(0, 0.5, 1, 2, 3, 5)
# model inference
python climax/main/downscale_infer.py
for w in ${WET_DAY_THRESHOLDS[@]}; do
# change wet day threshold in configuration
sed -i "s/min_amount\s*=.*/min_amount=$w)/" ./climax/main/config.py
# model training
python climax/main/downscale_train.py
# model inference
python climax/main/downscale_infer.py
done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment