Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deep copy nested dicts in run_multiple_configurations.py run combinations file #47

Open
aribrill opened this issue Aug 10, 2018 · 0 comments

Comments

@aribrill
Copy link
Collaborator

Dictionary config arguments in the run combinations file outputted by run_multiple_configurations.py are sometimes not deep copied, with references appearing instead of the actual configuration parameter. For example, this occurs in the layers parameter recorded in run_combinations.py created when running the v0.2.0 benchmark config (snippet below). This issue doesn't seem to affect performance, just the appearance of the parameters in the saved file.

run00:
  batch_size: 64
  example_type: single_tel
  layers: &id001
  - filters: 32
    kernel_size: 3
  - filters: 32
    kernel_size: 3
  - filters: 64
    kernel_size: 3
  - filters: 128
    kernel_size: 3
  learning_rate: 5.0e-05
  model:
    function: single_tel_model
    module: single_tel
  sorting: null
  tel_type: LST
run01:
  batch_size: 16
  example_type: array
  layers: *id001
  learning_rate: 0.0001
  model:
    function: cnn_rnn_model
    module: cnn_rnn
  sorting: size
  tel_type: LST
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant