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 #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)
Thanks for the great work on this template. However, in the base_trainer.py, there are two bugs while resuming checkpoints: