Hydra: [What a fxxk doc you write? Even can't run office example correctly!!]

Created on 20 May 2020  路  4Comments  路  Source: facebookresearch/hydra

馃悰 Bug

can't run office example correctly.
https://hydra.cc/docs/configure_hydra/logging

To reproduce

* Minimal Code/Config snippet to reproduce *
config.yaml
defaults:

  • hydra/job_logging: custom
    files
    image

File "my_app.py", line 11, in
my_app()
File "/data00/home/mayingxin/anaconda3/envs/pysot/lib/python3.7/site-packages/hydra/main.py", line 24, in decorated_main
strict=strict,
File "/data00/home/mayingxin/anaconda3/envs/pysot/lib/python3.7/site-packages/hydra/_internal/utils.py", line 174, in run_hydra
overrides=args.overrides,
File "/data00/home/mayingxin/anaconda3/envs/pysot/lib/python3.7/site-packages/hydra/_internal/hydra.py", line 86, in run
job_subdir_key=None,
File "/data00/home/mayingxin/anaconda3/envs/pysot/lib/python3.7/site-packages/hydra/plugins/common/utils.py", line 101, in run_job
configure_log(config.hydra.job_logging, config.hydra.verbose)
File "/data00/home/mayingxin/anaconda3/envs/pysot/lib/python3.7/site-packages/hydra/plugins/common/utils.py", line 24, in configure_log
logging.config.dictConfig(conf)
File "/data00/home/mayingxin/anaconda3/envs/pysot/lib/python3.7/logging/config.py", line 800, in dictConfig
dictConfigClass(config).configure()
File "/data00/home/mayingxin/anaconda3/envs/pysot/lib/python3.7/logging/config.py", line 496, in configure
raise ValueError("dictionary doesn't specify a version")
ValueError: dictionary doesn't specify a version

* Stack trace/error message *


Expected Behavior

System information

  • Hydra Version :
  • Python version :
  • Virtual environment type and version :
  • Operating system :

Additional context

I think your tutorials are dogshit!
https://hydra.cc/docs/configure_hydra/logging

bug

All 4 comments

learn to communicate with respect and come back.

in fact, don't bother.

in fact, you write a shit doc. I'm a real man, it's my feeling of your holy shit doc.

Please don't use Hydra.

Was this page helpful?
0 / 5 - 0 ratings