mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-12 19:04:03 +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"""
|
||||
|
||||
_target: Type = torch.optim.RAdam
|
||||
weight_decay: float = 0
|
||||
"""The weight decay to use."""
|
||||
|
||||
|
||||
class Optimizers:
|
||||
|
||||
Reference in new issue
Block a user