0

How to disable change of directory?

Currently, all the relative paths in my config are interpreted relative to the hydra output folder, not relative to current working folder.

I'd like to be able to disable this options somehow please.

Hugh Perkins
  • 7,975
  • 7
  • 63
  • 71

1 Answers1

1
  1. You can override the hydra.run.dir to . for now.
  2. You can also translate the paths to be relative to the original working directory (see this).
  3. You can also change your relative config paths to be relative to the original working directory (see Example link). Example:
configen:
  # output directory
  output_dir: ${hydra:runtime.cwd}/example

In 1.1 I have plans add more control over this behavior (issue)

Omry Yadan
  • 31,280
  • 18
  • 64
  • 87