The method you suggested is excellent and has greatly assisted my work. However, while proceeding with step 2 of the Usage, an error occurred during model training because only the state_dict was saved when storing the model weights. I understand that information such as 'epoch' and 'global_step' also needs to be saved in the weights for training with PyTorch Lightning. Therefore, I have modified the code, and this resolved the error that was not resolved in my case. I am submitting this pull request to inform others about this issue and solution. Thank you.
The method you suggested is excellent and has greatly assisted my work. However, while proceeding with step 2 of the Usage, an error occurred during model training because only the state_dict was saved when storing the model weights. I understand that information such as 'epoch' and 'global_step' also needs to be saved in the weights for training with PyTorch Lightning. Therefore, I have modified the code, and this resolved the error that was not resolved in my case. I am submitting this pull request to inform others about this issue and solution. Thank you.