mirror of
https://github.com/open-mmlab/mmengine.git
synced 2025-06-03 21:54:44 +08:00
* Add read environment variable function in config * Add UT * enable int case, split predefined and environment * Update py config * Add new attributes env_variables in config * Add examples in docstring * Fix comments * Add tutorials * Add en tutorials * Refactor config docs according to comments * Fix comments * Change function name
4 lines
118 B
Python
4 lines
118 B
Python
dataset_type = 'CocoDataset'
|
|
data_root = '{{$DATASET:/data/coco/}}'
|
|
dataset = dict(ann_file=data_root + 'train.json')
|