tensorflow / addons

Useful extra functionality for TensorFlow 2.x maintained by SIG-addons
Apache License 2.0
1.69k stars 610 forks source link

mutable default <class 'official.modeling.optimization.configs.optimizer_config.SGDConfig'> for field sgd is not allowed: use default_factory #2832

Open BongoJuniorrr opened 1 year ago

BongoJuniorrr commented 1 year ago

System information

Describe the bug

When I tried to train my model, I get this bug like this: "mutable default <class 'official.modeling.optimization.configs.optimizer_config.SGDConfig'> for field sgd is not allowed: use default_factory"

wilhelmusolejr commented 12 months ago

Were you able to fix this issue? Thanks