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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions