-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.yaml
28 lines (26 loc) · 803 Bytes
/
main.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
defaults:
- model: randomforest
- dataset: blobs
- override hydra/job_logging: colorlog
- override hydra/hydra_logging: colorlog
- _self_
seed: 42
test_size: 0.3
hydra:
# Logging configuration: https://hydra.cc/docs/tutorials/basic/running_your_app/logging/
verbose: False
# Logs to stdout and to a file.
job_logging:
handlers:
console:
class: logging.StreamHandler
stream: ext://sys.stdout
file:
filename:
${hydra.runtime.output_dir}/${hydra.job.name}_${oc.select:hydra.job.num, 0}.log
# Set the output directory to /tmp to dump logs.
run:
dir: /tmp/hydra/logs/${hydra.job.name}/${now:%Y-%m-%d}/${now:%H-%M-%S}
sweep:
dir: /tmp/hydra/logs/${hydra.job.name}/${now:%Y-%m-%d}/${now:%H-%M-%S}
subdir: ${hydra.job.num}