Hi! I was wondering if there's a better way to change the data root. Specifically, when I tried to train on COCO I specified data_root either through --cfg-options or hard-code it in the config file. However, only data_root was successfully changed whereas img_prefix, ann_file under cfg.data.train and cfg.data.val are still populated by the default data/coco/ (for example, data/coco/train2017/). It looks like those fields have already been populated in _base_/datasets/coco_detection.py before my change to data_root takes place.
I want to avoid making symlinks under the current project. How to overwrite fields like this?
Thank you!
Hi! I was wondering if there's a better way to change the data root. Specifically, when I tried to train on COCO I specified
data_rooteither through--cfg-optionsor hard-code it in the config file. However, onlydata_rootwas successfully changed whereasimg_prefix,ann_fileundercfg.data.trainandcfg.data.valare still populated by the defaultdata/coco/(for example,data/coco/train2017/). It looks like those fields have already been populated in_base_/datasets/coco_detection.pybefore my change todata_roottakes place.I want to avoid making symlinks under the current project. How to overwrite fields like this?
Thank you!