Skip to content

Align slug resolver with train.py #45

Description

@slowmoyang

slug resolver is registered to always return None, which will change interpolations like ${now:%y%m%d-%H%M%S}_${slug:2} and can alter ${paths.run_dir} / trainer.default_root_dir when loading a saved training config. This can lead to predictions writing/logging under a different run directory than the checkpoint’s parent. Align this resolver with train.py (use coolname.impl.generate_slug) so the composed config resolves identically to training runs.

Originally posted by @Copilot in #43 (comment)

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions