You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the great work on this template.
However, in the base_trainer.py, there are two bugs while resuming checkpoints:
line 100: (I think this is related to i face error when resume training. #54, but you closed the issue without fixing it)
While resume training from saved checkpoints, there will be "reference before assignment" error on the not_improved_count variable.
line 165 and 171:
The sanity check here is invalid, as the config would be overwritten by the config.json of the saved checkpoint when parsing config (line 22 in parse_config.py)
The text was updated successfully, but these errors were encountered:
Thanks for the great work on this template.
However, in the base_trainer.py, there are two bugs while resuming checkpoints:
While resume training from saved checkpoints, there will be "reference before assignment" error on the not_improved_count variable.
The sanity check here is invalid, as the config would be overwritten by the config.json of the saved checkpoint when parsing config (line 22 in parse_config.py)
The text was updated successfully, but these errors were encountered: