Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Climax
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
earth_observation_public
Climax
Commits
e548799a
Commit
e548799a
authored
3 years ago
by
Frisinghelli Daniel
Browse files
Options
Downloads
Patches
Plain Diff
Learning rate grid search.
parent
f5ee5eb7
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Scripts/downscale.sh
+14
-0
14 additions, 0 deletions
Scripts/downscale.sh
with
14 additions
and
0 deletions
Scripts/downscale.sh
+
14
−
0
View file @
e548799a
...
...
@@ -14,6 +14,9 @@ LOSS=(L1Loss BernoulliGammaLoss MSELoss)
# weight decay values to test
LAMBDA
=(
0 0.000001 0.00001 0.0001 0.001 0.01 1
)
# learning rate values to test
LR
=(
0.1 0.01 0.005 0.001 0.0005
)
# iterate over loss functions
for
loss
in
${
LOSS
[@]
}
;
do
...
...
@@ -35,6 +38,17 @@ for loss in ${LOSS[@]}; do
python climax/main/downscale_infer.py
done
# iterate over learning rate values
for
lr
in
${
LR
[@]
}
;
do
# change weight regularization in configuration
sed
-i
"s/'lr':.*/'lr':
$lr
/"
./climax/main/config.py
# run downscaling
# python climax/main/downscale.py
python climax/main/downscale_train.py
python climax/main/downscale_infer.py
done
# 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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment