这是indexloc提供的服务,不要输入任何密码
Skip to content

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

@BongoJuniorrr

Description

@BongoJuniorrr

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions