diff options
author | Roman Grundkiewicz <rgrundkiewicz@gmail.com> | 2021-07-26 12:22:06 +0300 |
---|---|---|
committer | Roman Grundkiewicz <rgrundkiewicz@gmail.com> | 2021-07-26 12:22:06 +0300 |
commit | 4ec211ce0d3bf6c94b1d814958cef0db6f6cc0aa (patch) | |
tree | 4175164cad48fc267803b65b466bad3f462998f0 /tests/training/features/lr-decay/valid_script.sh | |
parent | 2a6722b5059e5f1acce7f78b7a6c943b34e16178 (diff) | |
parent | 1afd4eb1014ac451c6a3d6f9b5d34c322902e624 (diff) |
Merge branch 'romang/early-stopping-on' into romang/merge-prs
Diffstat (limited to 'tests/training/features/lr-decay/valid_script.sh')
-rwxr-xr-x | tests/training/features/lr-decay/valid_script.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/training/features/lr-decay/valid_script.sh b/tests/training/features/lr-decay/valid_script.sh new file mode 100755 index 0000000..faf1369 --- /dev/null +++ b/tests/training/features/lr-decay/valid_script.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +prefix=valid_script + +num=$(cat $prefix.temp 2>/dev/null || echo 1) +((num=(num+1)%6)) +echo $num > $prefix.temp +((num=6-num)) +echo 111.$num |