When you restore the model from a checkpoint it retains the new variables which are created as part of the initialization of the model during the restore in the tf.session along with the restored variables.
So when the restored model is saved again the size of the checkpoint doubles or increases by the previous checkpoint size.
If we do this several times the size of the checkpoint becomes too large to fit in the memory.
When you restore the model from a checkpoint it retains the new variables which are created as part of the initialization of the model during the restore in the tf.session along with the restored variables.
So when the restored model is saved again the size of the checkpoint doubles or increases by the previous checkpoint size.
If we do this several times the size of the checkpoint becomes too large to fit in the memory.