Open bring-nirachornkul opened 2 months ago
Updated train.py to save only the latest checkpoint after each epoch using save_top_k=1, ensuring the previous checkpoint is deleted, and added a function to automatically resume from the latest checkpoint if available.