Skip to content

Commit 2df9c7d

Browse files
ppwwyyxxfacebook-github-bot
authored andcommitted
WEIGHT_DECAY_BIAS should be unset by default, use None
Reviewed By: newstzpz Differential Revision: D31284136 fbshipit-source-id: 23603278472d3aa375295efc0d4922f63b296499
1 parent 824b3a5 commit 2df9c7d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

detectron2/config/defaults.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@
557557
# changing these and they exist only to reproduce Detectron v1 training if
558558
# desired.
559559
_C.SOLVER.BIAS_LR_FACTOR = 1.0
560-
_C.SOLVER.WEIGHT_DECAY_BIAS = _C.SOLVER.WEIGHT_DECAY
560+
_C.SOLVER.WEIGHT_DECAY_BIAS = None # None means following WEIGHT_DECAY
561561

562562
# Gradient clipping
563563
_C.SOLVER.CLIP_GRADIENTS = CN({"ENABLED": False})

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def get_model_zoo_configs() -> List[str]:
168168
# choosing the proper pypi package name at https://github.com/skvark/opencv-python
169169
# The following are pure-python dependencies that should be easily installable
170170
"termcolor>=1.1",
171-
"yacs>=0.1.6",
171+
"yacs>=0.1.8",
172172
"tabulate",
173173
"cloudpickle",
174174
"tqdm>4.29.0",

0 commit comments

Comments
 (0)