Dev (#133)
* add torchmetrics to best practices * Update README.md * add hydra config folder
This commit is contained in:
1 parent
f90db673c3
commit
4bc60c3de7
7 files changed
+220
-78
No files matched your search
@@ -10,7 +10,7 @@ watch_model:
|
||||
|
||||
upload_code_as_artifact:
|
||||
_target_: src.callbacks.wandb_callbacks.UploadCodeToWandbAsArtifact
|
||||
code_dir: ${work_dir}
|
||||
code_dir: ${work_dir}/src
|
||||
|
||||
|
||||
upload_ckpts_as_artifact:
|
||||
|
||||
+2
-15
@@ -11,6 +11,8 @@ defaults:
|
||||
- experiment: null
|
||||
- hparams_search: null
|
||||
|
||||
- hydra: default.yaml
|
||||
|
||||
# enable color logging
|
||||
- override hydra/hydra_logging: colorlog
|
||||
- override hydra/job_logging: colorlog
|
||||
@@ -40,18 +42,3 @@ print_config: True
|
||||
|
||||
# disable python warnings if they annoy you
|
||||
ignore_warnings: True
|
||||
|
||||
|
||||
hydra:
|
||||
# output paths for hydra logs
|
||||
run:
|
||||
dir: logs/runs/${now:%Y-%m-%d}/${now:%H-%M-%S}
|
||||
sweep:
|
||||
dir: logs/multiruns/${now:%Y-%m-%d_%H-%M-%S}
|
||||
subdir: ${hydra.job.num}
|
||||
|
||||
job:
|
||||
# you can set here environment variables that are universal for all users
|
||||
# for system specific variables (like data paths) it's better to use .env file!
|
||||
env_set:
|
||||
EXAMPLE_VAR: "example_value"
|
||||
@@ -0,0 +1,12 @@
|
||||
# output paths for hydra logs
|
||||
run:
|
||||
dir: logs/runs/${now:%Y-%m-%d}/${now:%H-%M-%S}
|
||||
sweep:
|
||||
dir: logs/multiruns/${now:%Y-%m-%d_%H-%M-%S}
|
||||
subdir: ${hydra.job.num}
|
||||
|
||||
# you can set here environment variables that are universal for all users
|
||||
# for system specific variables (like data paths) it's better to use .env file!
|
||||
job:
|
||||
env_set:
|
||||
EXAMPLE_VAR: "example_value"
|
||||
@@ -3,5 +3,5 @@
|
||||
neptune:
|
||||
_target_: pytorch_lightning.loggers.neptune.NeptuneLogger
|
||||
project_name: "your_name/lightning-hydra-template-test"
|
||||
api_key: ${env:NEPTUNE_API_TOKEN} # api key is laoded from environment variable
|
||||
api_key: ${oc.env:NEPTUNE_API_TOKEN} # api key is laoded from environment variable
|
||||
# experiment_name: "some_experiment"
|
||||
Reference in new issue
Block a user