Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
BongoJuniorrr opened this issue May 1, 2023 · 1 comment

Comments

@BongoJuniorrr
Copy link

BongoJuniorrr commented May 1, 2023

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10
  • TensorFlow version and how it was installed (source or binary): Tensorflow 2.12.0 - Install by using the pip command
  • TensorFlow-Addons version and how it was installed (source or binary): Tensorflow-addons 0.20.0 - Install by using the pip command
  • Python version: 3.11
  • Is GPU used? (yes/no): YES

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
Copy link

Were you able to fix this issue? Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants