Skip to content

Integration with Hydra #550

@felixkreuk

Description

@felixkreuk

Hi,

I'm trying to use Keepsake along with Hydra (www.hydra.cc). Hydra changes the working directory of each experiment to a new path (e.g., /runs/exp_lr=0.1_dropout=0.2). So when trying to call keepsake.init I get an error that there's not keepsake.yaml file in the working directory (because it is changed by Hydra). It's not possible to call keepsake.init with an absolute path according to the docs. Did someone got keepsake to play along with hydra?

Thanks

Edit: OK, I was able to use the Project class to specify the paths manually, and then use the CLI with the -D flag to specify the path. I think that allowing the absolute path in keepsake.init will be much easier. Am I missing something here?

Metadata

Metadata

Assignees

No one assigned

    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