⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content
This repository was archived by the owner on Aug 5, 2025. It is now read-only.
This repository was archived by the owner on Aug 5, 2025. It is now read-only.

RecursionError: maximum recursion depth exceeded when training around 2000 epochs #52

@danielhers

Description

@danielhers

Looks like new sub-configs and sub-namespaces keep getting added.
Getting this when training on multiple formats (multitask) with many epochs, during dev evaluation:

  ...
  File "tupa/config.py", line 344, in set_format
    self.update_by_hyperparams()
  File "tupa/config.py", line 342, in set_format
    if f not in (None, "text"):
  File "tupa/config.py", line 405, in update_by_hyperparams
    def update_by_hyperparams(self):
  File "tupa/config.py", line 174, in __getitem__
    if item:
  File "tupa/config.py", line 162, in __init__
    class FallbackNamespace(Namespace):
RecursionError: maximum recursion depth exceeded

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions