Open ant0nsc opened 2 years ago
Idea for inheritance:
TEMPLATE: ../foo/bar.yml
SYSTEM:
NUM_GPUS: 2
TRAIN:
SCALES: (1, 2)
this should allow multiple levels of inheritance
templates could also be added for specific parts of the tree
Allow type checking on fields that are None by default. Could use params
library, or do introspection to retrieve the type annotation
YACS Features: https://detectron2.readthedocs.io/en/latest/_modules/yacs/config.html
None
.TODO List:
yacs._load_cfg_py_source
function to see if it can work with python files instead of yaml files for the ease of unit-testing and potentially inheritance.