danielhers / tupa

Transition-based UCCA Parser
https://danielhers.github.io/tupa
GNU General Public License v3.0
72 stars 24 forks source link

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

Open danielhers opened 6 years ago

danielhers commented 6 years ago

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