rbgirshick / yacs

YACS -- Yet Another Configuration System
Apache License 2.0
1.28k stars 90 forks source link

Bug report: `cfg.merge_from_file("experiment.yaml")` #24

Closed zc-alexfan closed 5 years ago

zc-alexfan commented 5 years ago

If the YAML file has repeated "parent" tag, YACS only merges the final set of parameters. For example, only the second list of HYPER are merged.

HYPER: 
    BATCH_SIZE: 10
SYS: 
    SOME_CONSTANT: 3
HYPER: 
   LEARNING_RATE: 1e-3

As a result, only LEARNING_RATE: 1e-3 is applied.

roytseng-tw commented 5 years ago

This is a duplicate issue of #17

rbgirshick commented 5 years ago

Closing (duplicate of #17).