mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-05 23:38:42 +08:00
Add weight-decay option to RAdam optimizer (#1525)
This commit is contained in:
1 parent
5d640bfcfd
commit
955497fcb2
1 file changed
+2
@@ -66,6 +66,8 @@ class RAdamOptimizerConfig(OptimizerConfig):
|
|||||||
"""Basic optimizer config with RAdam"""
|
"""Basic optimizer config with RAdam"""
|
||||||
|
|
||||||
_target: Type = torch.optim.RAdam
|
_target: Type = torch.optim.RAdam
|
||||||
|
weight_decay: float = 0
|
||||||
|
"""The weight decay to use."""
|
||||||
|
|
||||||
|
|
||||||
class Optimizers:
|
class Optimizers:
|
||||||
|
|||||||
Reference in new issue
Block a user