summaryrefslogtreecommitdiff
path: root/config.py
diff options
context:
space:
mode:
authorJordan Gong <jordan.gong@protonmail.com>2021-03-03 14:15:01 +0800
committerJordan Gong <jordan.gong@protonmail.com>2021-03-03 14:15:01 +0800
commitb010eabd0f2d24e7fd6f6a72aa0eac9e4592b0e4 (patch)
treed87eb60c458c066c38efe37b7cd4d71807b87e8a /config.py
parent419d1de5669d55426afbeff82c41c25ba56745d7 (diff)
parent6a79a0eee0401318554d6859a733254b770e8e87 (diff)
Merge branch 'python3.8' into python3.7
Diffstat (limited to 'config.py')
-rw-r--r--config.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/config.py b/config.py
index 23c131b..4f1b787 100644
--- a/config.py
+++ b/config.py
@@ -78,14 +78,14 @@ config = {
# Term added to the denominator
# 'eps': 1e-8,
# Weight decay (L2 penalty)
- # 'weight_decay': 0,
+ 'weight_decay': 0.001,
# Use AMSGrad or not
# 'amsgrad': False,
# Local parameters (override global ones)
- 'auto_encoder': {
- 'weight_decay': 0.001
- },
+ # 'auto_encoder': {
+ # 'weight_decay': 0.001
+ # },
},
'scheduler': {
# Step start to decay