microsoft / hi-ml

HI-ML toolbox for deep learning for medical imaging and Azure integration
https://aka.ms/hi-ml
MIT License
253 stars 58 forks source link

Support for more complex operations on YAML config files, working off YACS #175

Open ant0nsc opened 2 years ago

ozan-oktay commented 2 years ago

YACS Features: https://detectron2.readthedocs.io/en/latest/_modules/yacs/config.html

TODO List:

ant0nsc commented 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

ant0nsc commented 2 years ago

templates could also be added for specific parts of the tree

ant0nsc commented 2 years ago

Allow type checking on fields that are None by default. Could use params library, or do introspection to retrieve the type annotation