IDSIA/sacred

how to hide the configuration print

weiguowilliam opened this issue · 2 comments

So based on the documentation, the configuration will be printed out each time we run the experiment. Here's the example from the doc.

$ config_demo.py print_config with foo.bar=baobab
INFO - config_demo - Running command 'print_config'
INFO - config_demo - Started
Configuration (modified, added, typechanged, doc):
  a = 10                             # some integer
  e = 5.0                            # cool: a dynamic entry
  seed = 294686062                   # the random seed for this experiment
  foo:                               # a dictionary
    a_squared = 100
    bar = 'baobab'
INFO - config_demo - Completed after 0:00:00

How can it stop showing the configuration part? How should we set? Thanks in advance.

Hi!

So based on the documentation, the configuration will be printed out each time we run the experiment.

That's wrong, where did you find that? Is that a mistake in the docs?

How can it stop showing the configuration part?

Just don't tell it to print the configuration. Run the script without the print_config command

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.