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
Handle empty and "None" string values for run_name and ckpt_dir config parameters
This commit adds defensive checks and formatting improvements:
- Add handling for empty string and "None" string values for run_name and ckpt_dir
in ModelTrainer._setup_ckpt_path() to prevent unexpected behavior when these
config parameters are set to empty or string "None" in YAML configs
- Add test case for empty run_name in test_model_ckpt_path_duplication
- Apply consistent code formatting across multiple files:
- Remove extra blank lines
- Add spacing around operators in f-strings
- Properly wrap tuple assignments
- Fix string concatenation in assertion message
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
0 commit comments